public class SampleImpl extends EObjectImpl implements Sample
The following features are implemented:
NameOffset Channel1 StartOffset Channel1 EndOffset Channel2 StartOffset Channel2 EndStartEndLoop StartSample RateSample TuneNumber Of Sample FramesPlay LevelStretch StepUnknown Byte Mono1Unknown Byte Mono2Unknown Byte Mono3Unknown Byte Mono4Unknown Byte Stereo1Unknown Byte Stereo2Unknown Byte Stereo3Unknown Byte Stereo4Audio Data Channel1Audio Data Channel2Audio Data Channel BothAudio Data Loop StartSlice ArrayLoopLoop TypeSliceStereo OriginalStereo CurrentLabelMem Used In BytesEmptyPart CountPattern CountSample In Pattern Info ListSample Number OriginalSample Number Current| Modifier and Type | Field and Description |
|---|---|
protected static byte[] |
AUDIO_DATA_CHANNEL_BOTH_EDEFAULT
The default value of the '
Audio Data Channel Both' attribute. |
protected static byte[] |
AUDIO_DATA_CHANNEL1_EDEFAULT
The default value of the '
Audio Data Channel1' attribute. |
protected static byte[] |
AUDIO_DATA_CHANNEL2_EDEFAULT
The default value of the '
Audio Data Channel2' attribute. |
protected static byte[] |
AUDIO_DATA_LOOP_START_EDEFAULT
The default value of the '
Audio Data Loop Start' attribute. |
protected byte[] |
audioDataChannel1
The cached value of the '
Audio Data Channel1' attribute. |
protected byte[] |
audioDataChannel2
The cached value of the '
Audio Data Channel2' attribute. |
protected static boolean |
EMPTY_EDEFAULT
The default value of the '
Empty' attribute. |
protected int |
end
The cached value of the '
End' attribute. |
protected static int |
END_EDEFAULT
The default value of the '
End' attribute. |
protected static java.lang.String |
LABEL_EDEFAULT
The default value of the '
Label' attribute. |
protected static boolean |
LOOP_EDEFAULT
The default value of the '
Loop' attribute. |
protected static int |
LOOP_START_EDEFAULT
The default value of the '
Loop Start' attribute. |
protected static LoopType |
LOOP_TYPE_EDEFAULT
The default value of the '
Loop Type' attribute. |
protected int |
loopStart
The cached value of the '
Loop Start' attribute. |
protected static int |
MEM_USED_IN_BYTES_EDEFAULT
The default value of the '
Mem Used In Bytes' attribute. |
protected java.lang.String |
name
The cached value of the '
Name' attribute. |
protected static java.lang.String |
NAME_EDEFAULT
The default value of the '
Name' attribute. |
protected static int |
NUMBER_OF_SAMPLE_FRAMES_EDEFAULT
The default value of the '
Number Of Sample Frames' attribute. |
protected int |
numberOfSampleFrames
The cached value of the '
Number Of Sample Frames' attribute. |
protected static int |
OFFSET_CHANNEL1_END_EDEFAULT
The default value of the '
Offset Channel1 End' attribute. |
protected static int |
OFFSET_CHANNEL1_START_EDEFAULT
The default value of the '
Offset Channel1 Start' attribute. |
protected static int |
OFFSET_CHANNEL2_END_EDEFAULT
The default value of the '
Offset Channel2 End' attribute. |
protected static int |
OFFSET_CHANNEL2_START_EDEFAULT
The default value of the '
Offset Channel2 Start' attribute. |
protected int |
offsetChannel1End
The cached value of the '
Offset Channel1 End' attribute. |
protected int |
offsetChannel1Start
The cached value of the '
Offset Channel1 Start' attribute. |
protected int |
offsetChannel2End
The cached value of the '
Offset Channel2 End' attribute. |
protected int |
offsetChannel2Start
The cached value of the '
Offset Channel2 Start' attribute. |
protected static int |
PART_COUNT_EDEFAULT
The default value of the '
Part Count' attribute. |
protected static int |
PATTERN_COUNT_EDEFAULT
The default value of the '
Pattern Count' attribute. |
protected static PlayLevel |
PLAY_LEVEL_EDEFAULT
The default value of the '
Play Level' attribute. |
protected PlayLevel |
playLevel
The cached value of the '
Play Level' attribute. |
protected static SampleNumber |
SAMPLE_NUMBER_CURRENT_EDEFAULT
The default value of the '
Sample Number Current' attribute. |
protected static SampleNumber |
SAMPLE_NUMBER_ORIGINAL_EDEFAULT
The default value of the '
Sample Number Original' attribute. |
protected static int |
SAMPLE_RATE_EDEFAULT
The default value of the '
Sample Rate' attribute. |
protected SampleNumber |
sampleNumberOriginal
The cached value of the '
Sample Number Original' attribute. |
protected int |
sampleRate
The cached value of the '
Sample Rate' attribute. |
protected SampleTune |
sampleTune
The cached value of the '
Sample Tune' containment reference. |
protected static byte[] |
SLICE_ARRAY_EDEFAULT
The default value of the '
Slice Array' attribute. |
protected static boolean |
SLICE_EDEFAULT
The default value of the '
Slice' attribute. |
protected byte[] |
sliceArray
The cached value of the '
Slice Array' attribute. |
protected int |
start
The cached value of the '
Start' attribute. |
protected static int |
START_EDEFAULT
The default value of the '
Start' attribute. |
protected static boolean |
STEREO_CURRENT_EDEFAULT
The default value of the '
Stereo Current' attribute. |
protected static boolean |
STEREO_ORIGINAL_EDEFAULT
The default value of the '
Stereo Original' attribute. |
protected boolean |
stereoOriginal
The cached value of the '
Stereo Original' attribute. |
protected static StretchStep |
STRETCH_STEP_EDEFAULT
The default value of the '
Stretch Step' attribute. |
protected StretchStep |
stretchStep
The cached value of the '
Stretch Step' attribute. |
protected static byte |
UNKNOWN_BYTE_MONO1_EDEFAULT
The default value of the '
Unknown Byte Mono1' attribute. |
protected static byte |
UNKNOWN_BYTE_MONO2_EDEFAULT
The default value of the '
Unknown Byte Mono2' attribute. |
protected static byte |
UNKNOWN_BYTE_MONO3_EDEFAULT
The default value of the '
Unknown Byte Mono3' attribute. |
protected static byte |
UNKNOWN_BYTE_MONO4_EDEFAULT
The default value of the '
Unknown Byte Mono4' attribute. |
protected static byte |
UNKNOWN_BYTE_STEREO1_EDEFAULT
The default value of the '
Unknown Byte Stereo1' attribute. |
protected static byte |
UNKNOWN_BYTE_STEREO2_EDEFAULT
The default value of the '
Unknown Byte Stereo2' attribute. |
protected static byte |
UNKNOWN_BYTE_STEREO3_EDEFAULT
The default value of the '
Unknown Byte Stereo3' attribute. |
protected static byte |
UNKNOWN_BYTE_STEREO4_EDEFAULT
The default value of the '
Unknown Byte Stereo4' attribute. |
protected byte |
unknownByteMono1
The cached value of the '
Unknown Byte Mono1' attribute. |
protected byte |
unknownByteMono2
The cached value of the '
Unknown Byte Mono2' attribute. |
protected byte |
unknownByteMono3
The cached value of the '
Unknown Byte Mono3' attribute. |
protected byte |
unknownByteMono4
The cached value of the '
Unknown Byte Mono4' attribute. |
protected byte |
unknownByteStereo1
The cached value of the '
Unknown Byte Stereo1' attribute. |
protected byte |
unknownByteStereo2
The cached value of the '
Unknown Byte Stereo2' attribute. |
protected byte |
unknownByteStereo3
The cached value of the '
Unknown Byte Stereo3' attribute. |
protected byte |
unknownByteStereo4
The cached value of the '
Unknown Byte Stereo4' attribute. |
| Modifier | Constructor and Description |
|---|---|
protected |
SampleImpl() |
protected |
SampleImpl(java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
NotificationChain |
basicSetSampleTune(SampleTune newSampleTune,
NotificationChain msgs) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
void |
export(java.io.File file) |
byte[] |
getAudioDataChannel1() |
byte[] |
getAudioDataChannel2() |
byte[] |
getAudioDataChannelBoth() |
byte[] |
getAudioDataLoopStart() |
int |
getEnd() |
java.lang.String |
getLabel() |
int |
getLoopStart() |
LoopType |
getLoopType() |
int |
getMemUsedInBytes() |
java.lang.String |
getName() |
int |
getNumberOfSampleFrames() |
int |
getOffsetChannel1End() |
int |
getOffsetChannel1Start() |
int |
getOffsetChannel2End() |
int |
getOffsetChannel2Start() |
int |
getPartCount() |
int |
getPatternCount() |
PlayLevel |
getPlayLevel() |
|
getSampleInPatternInfoList() |
SampleNumber |
getSampleNumberCurrent() |
SampleNumber |
getSampleNumberOriginal() |
int |
getSampleRate() |
SampleTune |
getSampleTune() |
byte[] |
getSliceArray() |
int |
getStart() |
StretchStep |
getStretchStep() |
byte |
getUnknownByteMono1() |
byte |
getUnknownByteMono2() |
byte |
getUnknownByteMono3() |
byte |
getUnknownByteMono4() |
byte |
getUnknownByteStereo1() |
byte |
getUnknownByteStereo2() |
byte |
getUnknownByteStereo3() |
byte |
getUnknownByteStereo4() |
protected void |
init()
Perform any initializations required.
|
void |
initHeaderMono(byte[] b) |
void |
initHeaderMono(byte[] b,
int sampleNumber) |
void |
initHeaderStereo(byte[] b) |
void |
initHeaderStereo(byte[] b,
int sampleNumber) |
void |
initOffsetChannel(byte[] b,
AudioChannelType audioChannelType) |
void |
initOffsetChannel1(byte[] b) |
void |
initOffsetChannel2(byte[] b) |
void |
initOffsetChannelBoth(byte[] b) |
void |
initSliceArray(byte[] b) |
boolean |
isEmpty() |
boolean |
isLoop() |
boolean |
isSlice() |
boolean |
isStereoCurrent() |
boolean |
isStereoOriginal() |
void |
setAudioDataChannel1(byte[] newAudioDataChannel1) |
void |
setAudioDataChannel2(byte[] newAudioDataChannel2) |
void |
setEnd(int newEnd) |
void |
setLoopStart(int newLoopStart) |
void |
setName(java.lang.String newName) |
void |
setNumberOfSampleFrames(int newNumberOfSampleFrames) |
void |
setOffsetChannel1End(int newOffsetChannel1End) |
void |
setOffsetChannel1Start(int newOffsetChannel1Start) |
void |
setOffsetChannel2End(int newOffsetChannel2End) |
void |
setOffsetChannel2Start(int newOffsetChannel2Start) |
void |
setPlayLevel(PlayLevel newPlayLevel) |
void |
setSampleNumberOriginal(SampleNumber newSampleNumberOriginal) |
void |
setSampleRate(int newSampleRate) |
void |
setSampleTune(SampleTune newSampleTune) |
void |
setSliceArray(byte[] newSliceArray) |
void |
setStart(int newStart) |
void |
setStereoOriginal(boolean newStereoOriginal) |
void |
setStretchStep(StretchStep newStretchStep) |
void |
setUnknownByteMono1(byte newUnknownByteMono1) |
void |
setUnknownByteMono2(byte newUnknownByteMono2) |
void |
setUnknownByteMono3(byte newUnknownByteMono3) |
void |
setUnknownByteMono4(byte newUnknownByteMono4) |
void |
setUnknownByteStereo1(byte newUnknownByteStereo1) |
void |
setUnknownByteStereo2(byte newUnknownByteStereo2) |
void |
setUnknownByteStereo3(byte newUnknownByteStereo3) |
void |
setUnknownByteStereo4(byte newUnknownByteStereo4) |
byte[] |
toHeaderMonoByteArray() |
byte[] |
toHeaderStereoByteArray() |
byte[] |
toOffsetChannel1ByteArray() |
byte[] |
toOffsetChannel2ByteArray() |
byte[] |
toOffsetChannelBothByteArray() |
byte[] |
toOffsetChannelByteArray(AudioChannelType audioChannelType) |
RIFFWave |
toRIFFWave() |
void |
toRIFFWaveFile(java.io.File file) |
byte[] |
toSliceByteArray() |
java.lang.String |
toString() |
protected static final java.lang.String NAME_EDEFAULT
Name' attribute.
getName()protected static final int OFFSET_CHANNEL1_START_EDEFAULT
Offset Channel1 Start' attribute.
protected int offsetChannel1Start
Offset Channel1 Start' attribute.
getOffsetChannel1Start()protected static final int OFFSET_CHANNEL1_END_EDEFAULT
Offset Channel1 End' attribute.
getOffsetChannel1End(),
Constant Field Valuesprotected int offsetChannel1End
Offset Channel1 End' attribute.
getOffsetChannel1End()protected static final int OFFSET_CHANNEL2_START_EDEFAULT
Offset Channel2 Start' attribute.
protected int offsetChannel2Start
Offset Channel2 Start' attribute.
getOffsetChannel2Start()protected static final int OFFSET_CHANNEL2_END_EDEFAULT
Offset Channel2 End' attribute.
getOffsetChannel2End(),
Constant Field Valuesprotected int offsetChannel2End
Offset Channel2 End' attribute.
getOffsetChannel2End()protected static final int START_EDEFAULT
Start' attribute.
getStart(),
Constant Field Valuesprotected int start
Start' attribute.
getStart()protected static final int END_EDEFAULT
End' attribute.
getEnd(),
Constant Field Valuesprotected static final int LOOP_START_EDEFAULT
Loop Start' attribute.
getLoopStart(),
Constant Field Valuesprotected int loopStart
Loop Start' attribute.
getLoopStart()protected static final int SAMPLE_RATE_EDEFAULT
Sample Rate' attribute.
getSampleRate(),
Constant Field Valuesprotected int sampleRate
Sample Rate' attribute.
getSampleRate()protected SampleTune sampleTune
Sample Tune' containment reference.
getSampleTune()protected static final int NUMBER_OF_SAMPLE_FRAMES_EDEFAULT
Number Of Sample Frames' attribute.
protected int numberOfSampleFrames
Number Of Sample Frames' attribute.
getNumberOfSampleFrames()protected static final PlayLevel PLAY_LEVEL_EDEFAULT
Play Level' attribute.
getPlayLevel()protected PlayLevel playLevel
Play Level' attribute.
getPlayLevel()protected static final StretchStep STRETCH_STEP_EDEFAULT
Stretch Step' attribute.
getStretchStep()protected StretchStep stretchStep
Stretch Step' attribute.
getStretchStep()protected static final byte UNKNOWN_BYTE_MONO1_EDEFAULT
Unknown Byte Mono1' attribute.
getUnknownByteMono1(),
Constant Field Valuesprotected byte unknownByteMono1
Unknown Byte Mono1' attribute.
getUnknownByteMono1()protected static final byte UNKNOWN_BYTE_MONO2_EDEFAULT
Unknown Byte Mono2' attribute.
getUnknownByteMono2(),
Constant Field Valuesprotected byte unknownByteMono2
Unknown Byte Mono2' attribute.
getUnknownByteMono2()protected static final byte UNKNOWN_BYTE_MONO3_EDEFAULT
Unknown Byte Mono3' attribute.
getUnknownByteMono3(),
Constant Field Valuesprotected byte unknownByteMono3
Unknown Byte Mono3' attribute.
getUnknownByteMono3()protected static final byte UNKNOWN_BYTE_MONO4_EDEFAULT
Unknown Byte Mono4' attribute.
getUnknownByteMono4(),
Constant Field Valuesprotected byte unknownByteMono4
Unknown Byte Mono4' attribute.
getUnknownByteMono4()protected static final byte UNKNOWN_BYTE_STEREO1_EDEFAULT
Unknown Byte Stereo1' attribute.
getUnknownByteStereo1(),
Constant Field Valuesprotected byte unknownByteStereo1
Unknown Byte Stereo1' attribute.
getUnknownByteStereo1()protected static final byte UNKNOWN_BYTE_STEREO2_EDEFAULT
Unknown Byte Stereo2' attribute.
getUnknownByteStereo2(),
Constant Field Valuesprotected byte unknownByteStereo2
Unknown Byte Stereo2' attribute.
getUnknownByteStereo2()protected static final byte UNKNOWN_BYTE_STEREO3_EDEFAULT
Unknown Byte Stereo3' attribute.
getUnknownByteStereo3(),
Constant Field Valuesprotected byte unknownByteStereo3
Unknown Byte Stereo3' attribute.
getUnknownByteStereo3()protected static final byte UNKNOWN_BYTE_STEREO4_EDEFAULT
Unknown Byte Stereo4' attribute.
getUnknownByteStereo4(),
Constant Field Valuesprotected byte unknownByteStereo4
Unknown Byte Stereo4' attribute.
getUnknownByteStereo4()protected static final byte[] AUDIO_DATA_CHANNEL1_EDEFAULT
Audio Data Channel1' attribute.
getAudioDataChannel1()protected byte[] audioDataChannel1
Audio Data Channel1' attribute.
getAudioDataChannel1()protected static final byte[] AUDIO_DATA_CHANNEL2_EDEFAULT
Audio Data Channel2' attribute.
getAudioDataChannel2()protected byte[] audioDataChannel2
Audio Data Channel2' attribute.
getAudioDataChannel2()protected static final byte[] AUDIO_DATA_CHANNEL_BOTH_EDEFAULT
Audio Data Channel Both' attribute.
getAudioDataChannelBoth()protected static final byte[] AUDIO_DATA_LOOP_START_EDEFAULT
Audio Data Loop Start' attribute.
getAudioDataLoopStart()protected static final byte[] SLICE_ARRAY_EDEFAULT
Slice Array' attribute.
getSliceArray()protected byte[] sliceArray
Slice Array' attribute.
getSliceArray()protected static final boolean LOOP_EDEFAULT
Loop' attribute.
isLoop(),
Constant Field Valuesprotected static final LoopType LOOP_TYPE_EDEFAULT
Loop Type' attribute.
getLoopType()protected static final boolean SLICE_EDEFAULT
Slice' attribute.
isSlice(),
Constant Field Valuesprotected static final boolean STEREO_ORIGINAL_EDEFAULT
Stereo Original' attribute.
isStereoOriginal(),
Constant Field Valuesprotected boolean stereoOriginal
Stereo Original' attribute.
isStereoOriginal()protected static final boolean STEREO_CURRENT_EDEFAULT
Stereo Current' attribute.
isStereoCurrent(),
Constant Field Valuesprotected static final java.lang.String LABEL_EDEFAULT
Label' attribute.
getLabel(),
Constant Field Valuesprotected static final int MEM_USED_IN_BYTES_EDEFAULT
Mem Used In Bytes' attribute.
getMemUsedInBytes(),
Constant Field Valuesprotected static final boolean EMPTY_EDEFAULT
Empty' attribute.
isEmpty(),
Constant Field Valuesprotected static final int PART_COUNT_EDEFAULT
Part Count' attribute.
getPartCount(),
Constant Field Valuesprotected static final int PATTERN_COUNT_EDEFAULT
Pattern Count' attribute.
getPatternCount(),
Constant Field Valuesprotected static final SampleNumber SAMPLE_NUMBER_ORIGINAL_EDEFAULT
Sample Number Original' attribute.
getSampleNumberOriginal()protected SampleNumber sampleNumberOriginal
Sample Number Original' attribute.
getSampleNumberOriginal()protected static final SampleNumber SAMPLE_NUMBER_CURRENT_EDEFAULT
Sample Number Current' attribute.
getSampleNumberCurrent()protected SampleImpl()
protected SampleImpl(java.io.File file)
throws EsxException
file - EsxExceptionprotected void init()
protected EClass eStaticClass()
public java.lang.String getName()
getName in interface SampleSample.setName(String),
EsxPackage.getSample_Name()public void setName(java.lang.String newName)
setName in interface SamplenewName - the new value of the 'Name' attribute.Sample.getName()public int getOffsetChannel1Start()
getOffsetChannel1Start in interface SampleSample.setOffsetChannel1Start(int),
EsxPackage.getSample_OffsetChannel1Start()public void setOffsetChannel1Start(int newOffsetChannel1Start)
setOffsetChannel1Start in interface SamplenewOffsetChannel1Start - the new value of the 'Offset Channel1 Start' attribute.Sample.getOffsetChannel1Start()public int getOffsetChannel1End()
getOffsetChannel1End in interface SampleSample.setOffsetChannel1End(int),
EsxPackage.getSample_OffsetChannel1End()public void setOffsetChannel1End(int newOffsetChannel1End)
setOffsetChannel1End in interface SamplenewOffsetChannel1End - the new value of the 'Offset Channel1 End' attribute.Sample.getOffsetChannel1End()public int getOffsetChannel2Start()
getOffsetChannel2Start in interface SampleSample.setOffsetChannel2Start(int),
EsxPackage.getSample_OffsetChannel2Start()public void setOffsetChannel2Start(int newOffsetChannel2Start)
setOffsetChannel2Start in interface SamplenewOffsetChannel2Start - the new value of the 'Offset Channel2 Start' attribute.Sample.getOffsetChannel2Start()public int getOffsetChannel2End()
getOffsetChannel2End in interface SampleSample.setOffsetChannel2End(int),
EsxPackage.getSample_OffsetChannel2End()public void setOffsetChannel2End(int newOffsetChannel2End)
setOffsetChannel2End in interface SamplenewOffsetChannel2End - the new value of the 'Offset Channel2 End' attribute.Sample.getOffsetChannel2End()public int getStart()
getStart in interface SampleSample.setStart(int),
EsxPackage.getSample_Start()public void setStart(int newStart)
setStart in interface SamplenewStart - the new value of the 'Start' attribute.Sample.getStart()public int getEnd()
getEnd in interface SampleSample.setEnd(int),
EsxPackage.getSample_End()public void setEnd(int newEnd)
setEnd in interface SamplenewEnd - the new value of the 'End' attribute.Sample.getEnd()public int getLoopStart()
getLoopStart in interface SampleSample.setLoopStart(int),
EsxPackage.getSample_LoopStart()public void setLoopStart(int newLoopStart)
setLoopStart in interface SamplenewLoopStart - the new value of the 'Loop Start' attribute.Sample.getLoopStart()public int getSampleRate()
getSampleRate in interface SampleSample.setSampleRate(int),
EsxPackage.getSample_SampleRate()public void setSampleRate(int newSampleRate)
setSampleRate in interface SamplenewSampleRate - the new value of the 'Sample Rate' attribute.Sample.getSampleRate()public SampleTune getSampleTune()
getSampleTune in interface SampleSample.setSampleTune(SampleTune),
EsxPackage.getSample_SampleTune()public NotificationChain basicSetSampleTune(SampleTune newSampleTune, NotificationChain msgs)
public void setSampleTune(SampleTune newSampleTune)
setSampleTune in interface SamplenewSampleTune - the new value of the 'Sample Tune' containment reference.Sample.getSampleTune()public int getNumberOfSampleFrames()
getNumberOfSampleFrames in interface SampleSample.setNumberOfSampleFrames(int),
EsxPackage.getSample_NumberOfSampleFrames()public void setNumberOfSampleFrames(int newNumberOfSampleFrames)
setNumberOfSampleFrames in interface SamplenewNumberOfSampleFrames - the new value of the 'Number Of Sample Frames' attribute.Sample.getNumberOfSampleFrames()public PlayLevel getPlayLevel()
getPlayLevel in interface SamplePlayLevel,
Sample.setPlayLevel(PlayLevel),
EsxPackage.getSample_PlayLevel()public void setPlayLevel(PlayLevel newPlayLevel)
setPlayLevel in interface SamplenewPlayLevel - the new value of the 'Play Level' attribute.PlayLevel,
Sample.getPlayLevel()public StretchStep getStretchStep()
getStretchStep in interface SampleStretchStep,
Sample.setStretchStep(StretchStep),
EsxPackage.getSample_StretchStep()public void setStretchStep(StretchStep newStretchStep)
setStretchStep in interface SamplenewStretchStep - the new value of the 'Stretch Step' attribute.StretchStep,
Sample.getStretchStep()public byte getUnknownByteMono1()
getUnknownByteMono1 in interface SampleSample.setUnknownByteMono1(byte),
EsxPackage.getSample_UnknownByteMono1()public void setUnknownByteMono1(byte newUnknownByteMono1)
setUnknownByteMono1 in interface SamplenewUnknownByteMono1 - the new value of the 'Unknown Byte Mono1' attribute.Sample.getUnknownByteMono1()public byte getUnknownByteMono2()
getUnknownByteMono2 in interface SampleSample.setUnknownByteMono2(byte),
EsxPackage.getSample_UnknownByteMono2()public void setUnknownByteMono2(byte newUnknownByteMono2)
setUnknownByteMono2 in interface SamplenewUnknownByteMono2 - the new value of the 'Unknown Byte Mono2' attribute.Sample.getUnknownByteMono2()public byte getUnknownByteMono3()
getUnknownByteMono3 in interface SampleSample.setUnknownByteMono3(byte),
EsxPackage.getSample_UnknownByteMono3()public void setUnknownByteMono3(byte newUnknownByteMono3)
setUnknownByteMono3 in interface SamplenewUnknownByteMono3 - the new value of the 'Unknown Byte Mono3' attribute.Sample.getUnknownByteMono3()public byte getUnknownByteMono4()
getUnknownByteMono4 in interface SampleSample.setUnknownByteMono4(byte),
EsxPackage.getSample_UnknownByteMono4()public void setUnknownByteMono4(byte newUnknownByteMono4)
setUnknownByteMono4 in interface SamplenewUnknownByteMono4 - the new value of the 'Unknown Byte Mono4' attribute.Sample.getUnknownByteMono4()public byte getUnknownByteStereo1()
getUnknownByteStereo1 in interface SampleSample.setUnknownByteStereo1(byte),
EsxPackage.getSample_UnknownByteStereo1()public void setUnknownByteStereo1(byte newUnknownByteStereo1)
setUnknownByteStereo1 in interface SamplenewUnknownByteStereo1 - the new value of the 'Unknown Byte Stereo1' attribute.Sample.getUnknownByteStereo1()public byte getUnknownByteStereo2()
getUnknownByteStereo2 in interface SampleSample.setUnknownByteStereo2(byte),
EsxPackage.getSample_UnknownByteStereo2()public void setUnknownByteStereo2(byte newUnknownByteStereo2)
setUnknownByteStereo2 in interface SamplenewUnknownByteStereo2 - the new value of the 'Unknown Byte Stereo2' attribute.Sample.getUnknownByteStereo2()public byte getUnknownByteStereo3()
getUnknownByteStereo3 in interface SampleSample.setUnknownByteStereo3(byte),
EsxPackage.getSample_UnknownByteStereo3()public void setUnknownByteStereo3(byte newUnknownByteStereo3)
setUnknownByteStereo3 in interface SamplenewUnknownByteStereo3 - the new value of the 'Unknown Byte Stereo3' attribute.Sample.getUnknownByteStereo3()public byte getUnknownByteStereo4()
getUnknownByteStereo4 in interface SampleSample.setUnknownByteStereo4(byte),
EsxPackage.getSample_UnknownByteStereo4()public void setUnknownByteStereo4(byte newUnknownByteStereo4)
setUnknownByteStereo4 in interface SamplenewUnknownByteStereo4 - the new value of the 'Unknown Byte Stereo4' attribute.Sample.getUnknownByteStereo4()public byte[] getAudioDataChannel1()
getAudioDataChannel1 in interface SampleSample.setAudioDataChannel1(byte[]),
EsxPackage.getSample_AudioDataChannel1()public void setAudioDataChannel1(byte[] newAudioDataChannel1)
setAudioDataChannel1 in interface SamplenewAudioDataChannel1 - the new value of the 'Audio Data Channel1' attribute.Sample.getAudioDataChannel1()public byte[] getAudioDataChannel2()
getAudioDataChannel2 in interface SampleSample.setAudioDataChannel2(byte[]),
EsxPackage.getSample_AudioDataChannel2()public void setAudioDataChannel2(byte[] newAudioDataChannel2)
setAudioDataChannel2 in interface SamplenewAudioDataChannel2 - the new value of the 'Audio Data Channel2' attribute.Sample.getAudioDataChannel2()public byte[] getAudioDataChannelBoth()
getAudioDataChannelBoth in interface SampleEsxPackage.getSample_AudioDataChannelBoth()public byte[] getAudioDataLoopStart()
getAudioDataLoopStart in interface SampleEsxPackage.getSample_AudioDataLoopStart()public byte[] getSliceArray()
getSliceArray in interface SampleSample.setSliceArray(byte[]),
EsxPackage.getSample_SliceArray()public void setSliceArray(byte[] newSliceArray)
setSliceArray in interface SamplenewSliceArray - the new value of the 'Slice Array' attribute.Sample.getSliceArray()public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public boolean isLoop()
isLoop in interface SampleEsxPackage.getSample_Loop()public LoopType getLoopType()
getLoopType in interface SampleLoopType,
EsxPackage.getSample_LoopType()public boolean isSlice()
isSlice in interface SampleEsxPackage.getSample_Slice()public boolean isStereoOriginal()
isStereoOriginal in interface SampleSample.setStereoOriginal(boolean),
EsxPackage.getSample_StereoOriginal()public void setStereoOriginal(boolean newStereoOriginal)
setStereoOriginal in interface SamplenewStereoOriginal - the new value of the 'Stereo Original' attribute.Sample.isStereoOriginal()public boolean isStereoCurrent()
isStereoCurrent in interface SampleEsxPackage.getSample_StereoCurrent()public java.lang.String getLabel()
getLabel in interface SampleEsxPackage.getSample_Label()public int getMemUsedInBytes()
getMemUsedInBytes in interface SampleEsxPackage.getSample_MemUsedInBytes()public boolean isEmpty()
isEmpty in interface SampleEsxPackage.getSample_Empty()public int getPartCount()
getPartCount in interface SampleEsxPackage.getSample_PartCount()public int getPatternCount()
getPatternCount in interface SampleEsxPackage.getSample_PatternCount()publicgetSampleInPatternInfoList()
getSampleInPatternInfoList in interface SampleEsxPackage.getSample_SampleInPatternInfoList()public SampleNumber getSampleNumberOriginal()
getSampleNumberOriginal in interface SampleSampleNumber,
Sample.setSampleNumberOriginal(SampleNumber),
EsxPackage.getSample_SampleNumberOriginal()public void setSampleNumberOriginal(SampleNumber newSampleNumberOriginal)
setSampleNumberOriginal in interface SamplenewSampleNumberOriginal - the new value of the 'Sample Number Original' attribute.SampleNumber,
Sample.getSampleNumberOriginal()public SampleNumber getSampleNumberCurrent()
getSampleNumberCurrent in interface SampleSampleNumber,
EsxPackage.getSample_SampleNumberCurrent()public void export(java.io.File file)
throws java.io.IOException
public void initHeaderMono(byte[] b)
initHeaderMono in interface Samplepublic void initHeaderMono(byte[] b,
int sampleNumber)
initHeaderMono in interface Samplepublic void initHeaderStereo(byte[] b)
initHeaderStereo in interface Samplepublic void initHeaderStereo(byte[] b,
int sampleNumber)
initHeaderStereo in interface Samplepublic void initOffsetChannel(byte[] b,
AudioChannelType audioChannelType)
initOffsetChannel in interface Samplepublic void initOffsetChannel1(byte[] b)
public void initOffsetChannel2(byte[] b)
public void initOffsetChannelBoth(byte[] b)
public void initSliceArray(byte[] b)
initSliceArray in interface Samplepublic byte[] toHeaderMonoByteArray()
toHeaderMonoByteArray in interface Samplepublic byte[] toHeaderStereoByteArray()
toHeaderStereoByteArray in interface Samplepublic byte[] toOffsetChannelByteArray(AudioChannelType audioChannelType)
toOffsetChannelByteArray in interface Samplepublic byte[] toOffsetChannel1ByteArray()
public byte[] toOffsetChannel2ByteArray()
public byte[] toOffsetChannelBothByteArray()
public byte[] toSliceByteArray()
toSliceByteArray in interface Samplepublic RIFFWave toRIFFWave()
toRIFFWave in interface Samplepublic void toRIFFWaveFile(java.io.File file)
throws java.io.IOException
toRIFFWaveFile in interface Samplejava.io.IOExceptionpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
public void eSet(int featureID,
java.lang.Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public java.lang.String toString()