Class: TagLib::Vorbis::Properties

Inherits:
AudioProperties show all
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

Instance Method Details

#bitrateObject

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

#bitrateMaximumObject

Returns the maximum bitrate as read from the Vorbis identification header.



1328
1329
# File 'lib/TagLib_doc.rb', line 1328

def bitrateMaximum()
end

#bitrateMinimumObject

Returns the minimum bitrate as read from the Vorbis identification header.



1343
1344
# File 'lib/TagLib_doc.rb', line 1343

def bitrateMinimum()
end

#bitrateNominalObject

Returns the nominal bitrate as read from the Vorbis identification header.



1333
1334
# File 'lib/TagLib_doc.rb', line 1333

def bitrateNominal()
end

#channelsObject

Returns the number of audio channels.



1323
1324
# File 'lib/TagLib_doc.rb', line 1323

def channels()
end

#lengthObject

Returns the length of the file in seconds.



1338
1339
# File 'lib/TagLib_doc.rb', line 1338

def length()
end

#sampleRateObject

Returns the sample rate in Hz.



1313
1314
# File 'lib/TagLib_doc.rb', line 1313

def sampleRate()
end

#vorbisVersionObject

Returns the Vorbis version, currently &quot;0&quot; (as specified by the spec).



1318
1319
# File 'lib/TagLib_doc.rb', line 1318

def vorbisVersion()
end