Class: TagLib::Vorbis::Properties
- Inherits:
-
AudioProperties
- Object
- AudioProperties
- TagLib::Vorbis::Properties
- Defined in:
- lib/TagLib_doc.rb
Overview
An implementation of audio property reading for Ogg Vorbis. .</b>
This reads the data from an Ogg Vorbis stream found in the AudioProperties API.
Instance Method Summary collapse
-
#bitrate ⇒ Object
Returns the most appropriate bit rate for the file in kb/s.
-
#bitrateMaximum ⇒ Object
Returns the maximum bitrate as read from the Vorbis identification header.
-
#bitrateMinimum ⇒ Object
Returns the minimum bitrate as read from the Vorbis identification header.
-
#bitrateNominal ⇒ Object
Returns the nominal bitrate as read from the Vorbis identification header.
-
#channels ⇒ Object
Returns the number of audio channels.
-
#length ⇒ Object
Returns the length of the file in seconds.
-
#sampleRate ⇒ Object
Returns the sample rate in Hz.
-
#vorbisVersion ⇒ Object
Returns the Vorbis version, currently "0" (as specified by the spec).
Instance Method Details
#bitrate ⇒ Object
Returns the most appropriate bit rate for the file in kb/s. For constant bitrate formats this is simply the bitrate of the file. For variable bitrate formats this is either the average or nominal bitrate.
1348 1349 |
# File 'lib/TagLib_doc.rb', line 1348 def bitrate() end |
#bitrateMaximum ⇒ Object
Returns the maximum bitrate as read from the Vorbis identification header.
1328 1329 |
# File 'lib/TagLib_doc.rb', line 1328 def bitrateMaximum() end |
#bitrateMinimum ⇒ Object
Returns the minimum bitrate as read from the Vorbis identification header.
1343 1344 |
# File 'lib/TagLib_doc.rb', line 1343 def bitrateMinimum() end |
#bitrateNominal ⇒ Object
Returns the nominal bitrate as read from the Vorbis identification header.
1333 1334 |
# File 'lib/TagLib_doc.rb', line 1333 def bitrateNominal() end |
#channels ⇒ Object
Returns the number of audio channels.
1323 1324 |
# File 'lib/TagLib_doc.rb', line 1323 def channels() end |
#length ⇒ Object
Returns the length of the file in seconds.
1338 1339 |
# File 'lib/TagLib_doc.rb', line 1338 def length() end |
#sampleRate ⇒ Object
Returns the sample rate in Hz.
1313 1314 |
# File 'lib/TagLib_doc.rb', line 1313 def sampleRate() end |
#vorbisVersion ⇒ Object
Returns the Vorbis version, currently "0" (as specified by the spec).
1318 1319 |
# File 'lib/TagLib_doc.rb', line 1318 def vorbisVersion() end |