rasmus.util.riff.sf2
Class SampleHeader

java.lang.Object
  extended by rasmus.util.riff.sf2.SoundFontChunk
      extended by rasmus.util.riff.sf2.SampleHeader

public class SampleHeader
extends SoundFontChunk


Field Summary
 java.lang.String achSampleName
           
 int byOriginalKey
           
 int chPitchCorrection
           
 long dwEnd
           
 long dwEndloop
           
 long dwSampleRate
           
 long dwStart
           
 long dwStartloop
           
 int sfSampleType
           
 int wSampleLink
           
 
Constructor Summary
SampleHeader()
           
 
Method Summary
 byte[] getBytes()
           
 void read(java.io.InputStream stream)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

achSampleName

public java.lang.String achSampleName

dwStart

public long dwStart

dwEnd

public long dwEnd

dwStartloop

public long dwStartloop

dwEndloop

public long dwEndloop

dwSampleRate

public long dwSampleRate

byOriginalKey

public int byOriginalKey

chPitchCorrection

public int chPitchCorrection

wSampleLink

public int wSampleLink

sfSampleType

public int sfSampleType
Constructor Detail

SampleHeader

public SampleHeader()
Method Detail

read

public void read(java.io.InputStream stream)
          throws java.io.IOException
Throws:
java.io.IOException

getBytes

public byte[] getBytes()
                throws java.io.IOException
Specified by:
getBytes in class SoundFontChunk
Throws:
java.io.IOException