public class SampleImpl extends EObjectImpl implements Sample
The following features are implemented:
Name
Offset Channel1 Start
Offset Channel1 End
Offset Channel2 Start
Offset Channel2 End
Start
End
Loop Start
Sample Rate
Sample Tune
Number Of Sample Frames
Play Level
Stretch Step
Unknown Byte Mono1
Unknown Byte Mono2
Unknown Byte Mono3
Unknown Byte Mono4
Unknown Byte Stereo1
Unknown Byte Stereo2
Unknown Byte Stereo3
Unknown Byte Stereo4
Audio Data Channel1
Audio Data Channel2
Audio Data Channel Both
Audio Data Loop Start
Slice Array
Loop
Loop Type
Slice
Stereo Original
Stereo Current
Label
Mem Used In Bytes
Empty
Part Count
Pattern Count
Sample In Pattern Info List
Sample Number Original
Sample 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
- EsxException
protected void init()
protected EClass eStaticClass()
public java.lang.String getName()
getName
in interface Sample
Sample.setName(String)
,
EsxPackage.getSample_Name()
public void setName(java.lang.String newName)
setName
in interface Sample
newName
- the new value of the 'Name' attribute.Sample.getName()
public int getOffsetChannel1Start()
getOffsetChannel1Start
in interface Sample
Sample.setOffsetChannel1Start(int)
,
EsxPackage.getSample_OffsetChannel1Start()
public void setOffsetChannel1Start(int newOffsetChannel1Start)
setOffsetChannel1Start
in interface Sample
newOffsetChannel1Start
- the new value of the 'Offset Channel1 Start' attribute.Sample.getOffsetChannel1Start()
public int getOffsetChannel1End()
getOffsetChannel1End
in interface Sample
Sample.setOffsetChannel1End(int)
,
EsxPackage.getSample_OffsetChannel1End()
public void setOffsetChannel1End(int newOffsetChannel1End)
setOffsetChannel1End
in interface Sample
newOffsetChannel1End
- the new value of the 'Offset Channel1 End' attribute.Sample.getOffsetChannel1End()
public int getOffsetChannel2Start()
getOffsetChannel2Start
in interface Sample
Sample.setOffsetChannel2Start(int)
,
EsxPackage.getSample_OffsetChannel2Start()
public void setOffsetChannel2Start(int newOffsetChannel2Start)
setOffsetChannel2Start
in interface Sample
newOffsetChannel2Start
- the new value of the 'Offset Channel2 Start' attribute.Sample.getOffsetChannel2Start()
public int getOffsetChannel2End()
getOffsetChannel2End
in interface Sample
Sample.setOffsetChannel2End(int)
,
EsxPackage.getSample_OffsetChannel2End()
public void setOffsetChannel2End(int newOffsetChannel2End)
setOffsetChannel2End
in interface Sample
newOffsetChannel2End
- the new value of the 'Offset Channel2 End' attribute.Sample.getOffsetChannel2End()
public int getStart()
getStart
in interface Sample
Sample.setStart(int)
,
EsxPackage.getSample_Start()
public void setStart(int newStart)
setStart
in interface Sample
newStart
- the new value of the 'Start' attribute.Sample.getStart()
public int getEnd()
getEnd
in interface Sample
Sample.setEnd(int)
,
EsxPackage.getSample_End()
public void setEnd(int newEnd)
setEnd
in interface Sample
newEnd
- the new value of the 'End' attribute.Sample.getEnd()
public int getLoopStart()
getLoopStart
in interface Sample
Sample.setLoopStart(int)
,
EsxPackage.getSample_LoopStart()
public void setLoopStart(int newLoopStart)
setLoopStart
in interface Sample
newLoopStart
- the new value of the 'Loop Start' attribute.Sample.getLoopStart()
public int getSampleRate()
getSampleRate
in interface Sample
Sample.setSampleRate(int)
,
EsxPackage.getSample_SampleRate()
public void setSampleRate(int newSampleRate)
setSampleRate
in interface Sample
newSampleRate
- the new value of the 'Sample Rate' attribute.Sample.getSampleRate()
public SampleTune getSampleTune()
getSampleTune
in interface Sample
Sample.setSampleTune(SampleTune)
,
EsxPackage.getSample_SampleTune()
public NotificationChain basicSetSampleTune(SampleTune newSampleTune, NotificationChain msgs)
public void setSampleTune(SampleTune newSampleTune)
setSampleTune
in interface Sample
newSampleTune
- the new value of the 'Sample Tune' containment reference.Sample.getSampleTune()
public int getNumberOfSampleFrames()
getNumberOfSampleFrames
in interface Sample
Sample.setNumberOfSampleFrames(int)
,
EsxPackage.getSample_NumberOfSampleFrames()
public void setNumberOfSampleFrames(int newNumberOfSampleFrames)
setNumberOfSampleFrames
in interface Sample
newNumberOfSampleFrames
- the new value of the 'Number Of Sample Frames' attribute.Sample.getNumberOfSampleFrames()
public PlayLevel getPlayLevel()
getPlayLevel
in interface Sample
PlayLevel
,
Sample.setPlayLevel(PlayLevel)
,
EsxPackage.getSample_PlayLevel()
public void setPlayLevel(PlayLevel newPlayLevel)
setPlayLevel
in interface Sample
newPlayLevel
- the new value of the 'Play Level' attribute.PlayLevel
,
Sample.getPlayLevel()
public StretchStep getStretchStep()
getStretchStep
in interface Sample
StretchStep
,
Sample.setStretchStep(StretchStep)
,
EsxPackage.getSample_StretchStep()
public void setStretchStep(StretchStep newStretchStep)
setStretchStep
in interface Sample
newStretchStep
- the new value of the 'Stretch Step' attribute.StretchStep
,
Sample.getStretchStep()
public byte getUnknownByteMono1()
getUnknownByteMono1
in interface Sample
Sample.setUnknownByteMono1(byte)
,
EsxPackage.getSample_UnknownByteMono1()
public void setUnknownByteMono1(byte newUnknownByteMono1)
setUnknownByteMono1
in interface Sample
newUnknownByteMono1
- the new value of the 'Unknown Byte Mono1' attribute.Sample.getUnknownByteMono1()
public byte getUnknownByteMono2()
getUnknownByteMono2
in interface Sample
Sample.setUnknownByteMono2(byte)
,
EsxPackage.getSample_UnknownByteMono2()
public void setUnknownByteMono2(byte newUnknownByteMono2)
setUnknownByteMono2
in interface Sample
newUnknownByteMono2
- the new value of the 'Unknown Byte Mono2' attribute.Sample.getUnknownByteMono2()
public byte getUnknownByteMono3()
getUnknownByteMono3
in interface Sample
Sample.setUnknownByteMono3(byte)
,
EsxPackage.getSample_UnknownByteMono3()
public void setUnknownByteMono3(byte newUnknownByteMono3)
setUnknownByteMono3
in interface Sample
newUnknownByteMono3
- the new value of the 'Unknown Byte Mono3' attribute.Sample.getUnknownByteMono3()
public byte getUnknownByteMono4()
getUnknownByteMono4
in interface Sample
Sample.setUnknownByteMono4(byte)
,
EsxPackage.getSample_UnknownByteMono4()
public void setUnknownByteMono4(byte newUnknownByteMono4)
setUnknownByteMono4
in interface Sample
newUnknownByteMono4
- the new value of the 'Unknown Byte Mono4' attribute.Sample.getUnknownByteMono4()
public byte getUnknownByteStereo1()
getUnknownByteStereo1
in interface Sample
Sample.setUnknownByteStereo1(byte)
,
EsxPackage.getSample_UnknownByteStereo1()
public void setUnknownByteStereo1(byte newUnknownByteStereo1)
setUnknownByteStereo1
in interface Sample
newUnknownByteStereo1
- the new value of the 'Unknown Byte Stereo1' attribute.Sample.getUnknownByteStereo1()
public byte getUnknownByteStereo2()
getUnknownByteStereo2
in interface Sample
Sample.setUnknownByteStereo2(byte)
,
EsxPackage.getSample_UnknownByteStereo2()
public void setUnknownByteStereo2(byte newUnknownByteStereo2)
setUnknownByteStereo2
in interface Sample
newUnknownByteStereo2
- the new value of the 'Unknown Byte Stereo2' attribute.Sample.getUnknownByteStereo2()
public byte getUnknownByteStereo3()
getUnknownByteStereo3
in interface Sample
Sample.setUnknownByteStereo3(byte)
,
EsxPackage.getSample_UnknownByteStereo3()
public void setUnknownByteStereo3(byte newUnknownByteStereo3)
setUnknownByteStereo3
in interface Sample
newUnknownByteStereo3
- the new value of the 'Unknown Byte Stereo3' attribute.Sample.getUnknownByteStereo3()
public byte getUnknownByteStereo4()
getUnknownByteStereo4
in interface Sample
Sample.setUnknownByteStereo4(byte)
,
EsxPackage.getSample_UnknownByteStereo4()
public void setUnknownByteStereo4(byte newUnknownByteStereo4)
setUnknownByteStereo4
in interface Sample
newUnknownByteStereo4
- the new value of the 'Unknown Byte Stereo4' attribute.Sample.getUnknownByteStereo4()
public byte[] getAudioDataChannel1()
getAudioDataChannel1
in interface Sample
Sample.setAudioDataChannel1(byte[])
,
EsxPackage.getSample_AudioDataChannel1()
public void setAudioDataChannel1(byte[] newAudioDataChannel1)
setAudioDataChannel1
in interface Sample
newAudioDataChannel1
- the new value of the 'Audio Data Channel1' attribute.Sample.getAudioDataChannel1()
public byte[] getAudioDataChannel2()
getAudioDataChannel2
in interface Sample
Sample.setAudioDataChannel2(byte[])
,
EsxPackage.getSample_AudioDataChannel2()
public void setAudioDataChannel2(byte[] newAudioDataChannel2)
setAudioDataChannel2
in interface Sample
newAudioDataChannel2
- the new value of the 'Audio Data Channel2' attribute.Sample.getAudioDataChannel2()
public byte[] getAudioDataChannelBoth()
getAudioDataChannelBoth
in interface Sample
EsxPackage.getSample_AudioDataChannelBoth()
public byte[] getAudioDataLoopStart()
getAudioDataLoopStart
in interface Sample
EsxPackage.getSample_AudioDataLoopStart()
public byte[] getSliceArray()
getSliceArray
in interface Sample
Sample.setSliceArray(byte[])
,
EsxPackage.getSample_SliceArray()
public void setSliceArray(byte[] newSliceArray)
setSliceArray
in interface Sample
newSliceArray
- 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 Sample
EsxPackage.getSample_Loop()
public LoopType getLoopType()
getLoopType
in interface Sample
LoopType
,
EsxPackage.getSample_LoopType()
public boolean isSlice()
isSlice
in interface Sample
EsxPackage.getSample_Slice()
public boolean isStereoOriginal()
isStereoOriginal
in interface Sample
Sample.setStereoOriginal(boolean)
,
EsxPackage.getSample_StereoOriginal()
public void setStereoOriginal(boolean newStereoOriginal)
setStereoOriginal
in interface Sample
newStereoOriginal
- the new value of the 'Stereo Original' attribute.Sample.isStereoOriginal()
public boolean isStereoCurrent()
isStereoCurrent
in interface Sample
EsxPackage.getSample_StereoCurrent()
public java.lang.String getLabel()
getLabel
in interface Sample
EsxPackage.getSample_Label()
public int getMemUsedInBytes()
getMemUsedInBytes
in interface Sample
EsxPackage.getSample_MemUsedInBytes()
public boolean isEmpty()
isEmpty
in interface Sample
EsxPackage.getSample_Empty()
public int getPartCount()
getPartCount
in interface Sample
EsxPackage.getSample_PartCount()
public int getPatternCount()
getPatternCount
in interface Sample
EsxPackage.getSample_PatternCount()
publicgetSampleInPatternInfoList()
getSampleInPatternInfoList
in interface Sample
EsxPackage.getSample_SampleInPatternInfoList()
public SampleNumber getSampleNumberOriginal()
getSampleNumberOriginal
in interface Sample
SampleNumber
,
Sample.setSampleNumberOriginal(SampleNumber)
,
EsxPackage.getSample_SampleNumberOriginal()
public void setSampleNumberOriginal(SampleNumber newSampleNumberOriginal)
setSampleNumberOriginal
in interface Sample
newSampleNumberOriginal
- the new value of the 'Sample Number Original' attribute.SampleNumber
,
Sample.getSampleNumberOriginal()
public SampleNumber getSampleNumberCurrent()
getSampleNumberCurrent
in interface Sample
SampleNumber
,
EsxPackage.getSample_SampleNumberCurrent()
public void export(java.io.File file) throws java.io.IOException
public void initHeaderMono(byte[] b)
initHeaderMono
in interface Sample
public void initHeaderMono(byte[] b, int sampleNumber)
initHeaderMono
in interface Sample
public void initHeaderStereo(byte[] b)
initHeaderStereo
in interface Sample
public void initHeaderStereo(byte[] b, int sampleNumber)
initHeaderStereo
in interface Sample
public void initOffsetChannel(byte[] b, AudioChannelType audioChannelType)
initOffsetChannel
in interface Sample
public void initOffsetChannel1(byte[] b)
public void initOffsetChannel2(byte[] b)
public void initOffsetChannelBoth(byte[] b)
public void initSliceArray(byte[] b)
initSliceArray
in interface Sample
public byte[] toHeaderMonoByteArray()
toHeaderMonoByteArray
in interface Sample
public byte[] toHeaderStereoByteArray()
toHeaderStereoByteArray
in interface Sample
public byte[] toOffsetChannelByteArray(AudioChannelType audioChannelType)
toOffsetChannelByteArray
in interface Sample
public byte[] toOffsetChannel1ByteArray()
public byte[] toOffsetChannel2ByteArray()
public byte[] toOffsetChannelBothByteArray()
public byte[] toSliceByteArray()
toSliceByteArray
in interface Sample
public RIFFWave toRIFFWave()
toRIFFWave
in interface Sample
public void toRIFFWaveFile(java.io.File file) throws java.io.IOException
toRIFFWaveFile
in interface Sample
java.io.IOException
public 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()