Class TagLib::MPC::Properties
In: lib/TagLib_doc.rb
Parent: TagLib::AudioProperties
AudioProperties Properties Properties Properties Properties Properties Properties Properties File File File File File File File Tag Tag Tag Tag XiphComment File File File Frame AttachedPictureFrame CommentsFrame Header ByteVectorList ByteVector FrameList ItemListMap GenreMap FileRef FrameListMap StringList FieldListMap String Item Footer FrameFactory GeneralEncapsulatedObjectFrame Page PageHeader XingHeader Header MPC APE Vorbis ID3v1 FLAC ID3v2 Flac Speex Ogg MPEG WavPack TrueAudio TagLib dot/f_3.png

An implementation of audio property reading for MPC. .

This reads the data from an MPC stream found in the AudioProperties API.


Public Instance methods

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.


# File lib/TagLib_doc.rb, line 2645
          def bitrate()

Returns the number of audio channels.


# File lib/TagLib_doc.rb, line 2635
          def channels()

Returns the length of the file in seconds.


# File lib/TagLib_doc.rb, line 2655
          def length()

Returns the version of the bitstream (SV4-SV7)


# File lib/TagLib_doc.rb, line 2640
          def mpcVersion()

Returns the sample rate in Hz.


# File lib/TagLib_doc.rb, line 2650
          def sampleRate()