org.farng.mp3.id3
Class FrameBodyRVRB

java.lang.Object
  extended byorg.farng.mp3.AbstractMP3FileItem
      extended byorg.farng.mp3.AbstractMP3FragmentBody
          extended byorg.farng.mp3.id3.AbstractID3v2FrameBody
              extended byorg.farng.mp3.id3.FrameBodyRVRB

public class FrameBodyRVRB
extends AbstractID3v2FrameBody

4.13.   Reverb

   Yet another subjective frame, with which you can adjust echoes of
   different kinds. Reverb left/right is the delay between every bounce
   in ms. Reverb bounces left/right is the number of bounces that should
   be made. $FF equals an infinite number of bounces. Feedback is the
   amount of volume that should be returned to the next echo bounce. $00

   is 0%, $FF is 100%. If this value were $7F, there would be 50% volume
   reduction on the first bounce, 50% of that on the second and so on.
   Left to left means the sound from the left bounce to be played in the
   left speaker, while left to right means sound from the left bounce to
   be played in the right speaker.

   'Premix left to right' is the amount of left sound to be mixed in the
   right before any reverb is applied, where $00 id 0% and $FF is 100%.
   'Premix right to left' does the same thing, but right to left.
   Setting both premix to $FF would result in a mono output (if the
   reverb is applied symmetric). There may only be one "RVRB"

frame in
   each tag.

     <Header for 'Reverb', ID: "RVRB">
     Reverb left (ms)                 $xx xx

     Reverb right (ms)                $xx xx
     Reverb bounces, left             $xx
     Reverb bounces, right            $xx

     Reverb feedback, left to left    $xx
     Reverb feedback, left to right   $xx
     Reverb feedback, right to right  $xx

     Reverb feedback, right to left   $xx
     Premix left to right             $xx
     Premix right to left             $xx

Version:
$Revision: 1.4 $
Author:
Eric Farng

Constructor Summary
FrameBodyRVRB()
          Creates a new FrameBodyRVRB object.
FrameBodyRVRB(FrameBodyRVRB body)
          Creates a new FrameBodyRVRB object.
FrameBodyRVRB(java.io.RandomAccessFile file)
          Creates a new FrameBodyRVRB object.
FrameBodyRVRB(short reverbLeft, short reverbRight, byte reverbBouncesLeft, byte reverbBouncesRight, byte reverbFeedbackLeftToLeft, byte reverbFeedbackLeftToRight, byte reverbFeedbackRightToRight, byte reverbFeedbackRightToLeft, byte premixLeftToRight, byte premixRightToLeft)
          Creates a new FrameBodyRVRB object.
 
Method Summary
 java.lang.String getIdentifier()
          ID string that usually corresponds to the class name, but can be displayed to the user.
protected  void setupObjectList()
          Create the order of MP3Object objects that this body expects.
 
Methods inherited from class org.farng.mp3.id3.AbstractID3v2FrameBody
equals, readHeader, writeHeader
 
Methods inherited from class org.farng.mp3.AbstractMP3FragmentBody
appendToObjectList, getBriefDescription, getDescription, getObject, getObjectListIterator, getSize, has6ByteHeader, isSubsetOf, iterator, read, setObject, toString, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FrameBodyRVRB

public FrameBodyRVRB()
Creates a new FrameBodyRVRB object.


FrameBodyRVRB

public FrameBodyRVRB(FrameBodyRVRB body)
Creates a new FrameBodyRVRB object.


FrameBodyRVRB

public FrameBodyRVRB(short reverbLeft,
                     short reverbRight,
                     byte reverbBouncesLeft,
                     byte reverbBouncesRight,
                     byte reverbFeedbackLeftToLeft,
                     byte reverbFeedbackLeftToRight,
                     byte reverbFeedbackRightToRight,
                     byte reverbFeedbackRightToLeft,
                     byte premixLeftToRight,
                     byte premixRightToLeft)
Creates a new FrameBodyRVRB object.


FrameBodyRVRB

public FrameBodyRVRB(java.io.RandomAccessFile file)
              throws java.io.IOException,
                     InvalidTagException
Creates a new FrameBodyRVRB object.

Method Detail

getIdentifier

public java.lang.String getIdentifier()
Description copied from class: AbstractMP3FileItem
ID string that usually corresponds to the class name, but can be displayed to the user. It is not indended to identify each individual instance.

Specified by:
getIdentifier in class AbstractMP3FileItem
Returns:
ID string

setupObjectList

protected void setupObjectList()
Description copied from class: AbstractMP3FragmentBody
Create the order of MP3Object objects that this body expects. This method needs to be overwritten.

Specified by:
setupObjectList in class AbstractMP3FragmentBody


Copyright (c) 2004 Eric Farng