public class ChunkInstrumentImpl extends ChunkImpl implements ChunkInstrument
The following features are implemented:
| Modifier and Type | Field and Description |
|---|---|
protected static byte |
FINE_TUNE_EDEFAULT
The default value of the '
Fine Tune' attribute. |
protected byte |
fineTune
The cached value of the '
Fine Tune' attribute. |
protected byte |
gain
The cached value of the '
Gain' attribute. |
protected static byte |
GAIN_EDEFAULT
The default value of the '
Gain' attribute. |
protected static byte |
HIGH_NOTE_EDEFAULT
The default value of the '
High Note' attribute. |
protected static byte |
HIGH_VELOCITY_EDEFAULT
The default value of the '
High Velocity' attribute. |
protected byte |
highNote
The cached value of the '
High Note' attribute. |
protected byte |
highVelocity
The cached value of the '
High Velocity' attribute. |
protected static byte |
LOW_NOTE_EDEFAULT
The default value of the '
Low Note' attribute. |
protected static byte |
LOW_VELOCITY_EDEFAULT
The default value of the '
Low Velocity' attribute. |
protected byte |
lowNote
The cached value of the '
Low Note' attribute. |
protected byte |
lowVelocity
The cached value of the '
Low Velocity' attribute. |
protected static byte |
UNSHIFTED_NOTE_EDEFAULT
The default value of the '
Unshifted Note' attribute. |
protected byte |
unshiftedNote
The cached value of the '
Unshifted Note' attribute. |
BLOCK_ALIGNED_SIZE_EDEFAULT, CHUNK_TYPE_ID_EDEFAULT, CHUNK_TYPE_ID_VALUE_EDEFAULT, SIZE_EDEFAULT| Modifier | Constructor and Description |
|---|---|
protected |
ChunkInstrumentImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
ChunkTypeID |
getChunkTypeID() |
int |
getChunkTypeIDValue() |
byte |
getFineTune() |
byte |
getGain() |
byte |
getHighNote() |
byte |
getHighVelocity() |
byte |
getLowNote() |
byte |
getLowVelocity() |
long |
getSize() |
byte |
getUnshiftedNote() |
void |
init(RIFFWave riffWave,
ExtendedByteBuffer buf) |
void |
setFineTune(byte newFineTune) |
void |
setGain(byte newGain) |
void |
setHighNote(byte newHighNote) |
void |
setHighVelocity(byte newHighVelocity) |
void |
setLowNote(byte newLowNote) |
void |
setLowVelocity(byte newLowVelocity) |
void |
setUnshiftedNote(byte newUnshiftedNote) |
byte[] |
toByteArray() |
java.lang.String |
toString() |
getBlockAlignedSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBlockAlignedSizeprotected static final byte UNSHIFTED_NOTE_EDEFAULT
Unshifted Note' attribute.
getUnshiftedNote(),
Constant Field Valuesprotected byte unshiftedNote
Unshifted Note' attribute.
getUnshiftedNote()protected static final byte FINE_TUNE_EDEFAULT
Fine Tune' attribute.
getFineTune(),
Constant Field Valuesprotected byte fineTune
Fine Tune' attribute.
getFineTune()protected static final byte GAIN_EDEFAULT
Gain' attribute.
getGain(),
Constant Field Valuesprotected static final byte LOW_NOTE_EDEFAULT
Low Note' attribute.
getLowNote(),
Constant Field Valuesprotected byte lowNote
Low Note' attribute.
getLowNote()protected static final byte HIGH_NOTE_EDEFAULT
High Note' attribute.
getHighNote(),
Constant Field Valuesprotected byte highNote
High Note' attribute.
getHighNote()protected static final byte LOW_VELOCITY_EDEFAULT
Low Velocity' attribute.
getLowVelocity(),
Constant Field Valuesprotected byte lowVelocity
Low Velocity' attribute.
getLowVelocity()protected static final byte HIGH_VELOCITY_EDEFAULT
High Velocity' attribute.
getHighVelocity(),
Constant Field Valuesprotected byte highVelocity
High Velocity' attribute.
getHighVelocity()public void init(RIFFWave riffWave, ExtendedByteBuffer buf) throws RiffWaveException
ChunkImplinit in interface Chunkinit in class ChunkImplRiffWaveExceptionprotected EClass eStaticClass()
eStaticClass in class ChunkImplpublic byte getUnshiftedNote()
getUnshiftedNote in interface ChunkInstrumentChunkInstrument.setUnshiftedNote(byte),
WavPackage.getChunkInstrument_UnshiftedNote()public void setUnshiftedNote(byte newUnshiftedNote)
setUnshiftedNote in interface ChunkInstrumentnewUnshiftedNote - the new value of the 'Unshifted Note' attribute.ChunkInstrument.getUnshiftedNote()public byte getFineTune()
getFineTune in interface ChunkInstrumentChunkInstrument.setFineTune(byte),
WavPackage.getChunkInstrument_FineTune()public void setFineTune(byte newFineTune)
setFineTune in interface ChunkInstrumentnewFineTune - the new value of the 'Fine Tune' attribute.ChunkInstrument.getFineTune()public byte getGain()
getGain in interface ChunkInstrumentChunkInstrument.setGain(byte),
WavPackage.getChunkInstrument_Gain()public void setGain(byte newGain)
setGain in interface ChunkInstrumentnewGain - the new value of the 'Gain' attribute.ChunkInstrument.getGain()public byte getLowNote()
getLowNote in interface ChunkInstrumentChunkInstrument.setLowNote(byte),
WavPackage.getChunkInstrument_LowNote()public void setLowNote(byte newLowNote)
setLowNote in interface ChunkInstrumentnewLowNote - the new value of the 'Low Note' attribute.ChunkInstrument.getLowNote()public byte getHighNote()
getHighNote in interface ChunkInstrumentChunkInstrument.setHighNote(byte),
WavPackage.getChunkInstrument_HighNote()public void setHighNote(byte newHighNote)
setHighNote in interface ChunkInstrumentnewHighNote - the new value of the 'High Note' attribute.ChunkInstrument.getHighNote()public byte getLowVelocity()
getLowVelocity in interface ChunkInstrumentChunkInstrument.setLowVelocity(byte),
WavPackage.getChunkInstrument_LowVelocity()public void setLowVelocity(byte newLowVelocity)
setLowVelocity in interface ChunkInstrumentnewLowVelocity - the new value of the 'Low Velocity' attribute.ChunkInstrument.getLowVelocity()public byte getHighVelocity()
getHighVelocity in interface ChunkInstrumentChunkInstrument.setHighVelocity(byte),
WavPackage.getChunkInstrument_HighVelocity()public void setHighVelocity(byte newHighVelocity)
setHighVelocity in interface ChunkInstrumentnewHighVelocity - the new value of the 'High Velocity' attribute.ChunkInstrument.getHighVelocity()public ChunkTypeID getChunkTypeID()
ChunkImplgetChunkTypeID in interface ChunkgetChunkTypeID in class ChunkImplChunkTypeID,
WavPackage.getChunk_ChunkTypeID()public int getChunkTypeIDValue()
ChunkImplgetChunkTypeIDValue in interface ChunkgetChunkTypeIDValue in class ChunkImplWavPackage.getChunk_ChunkTypeIDValue()public long getSize()
ChunkImplgetSize in interface ChunkgetSize in class ChunkImplWavPackage.getChunk_Size()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 java.lang.String toString()
public byte[] toByteArray()
ChunkImpltoByteArray in interface ChunktoByteArray in class ChunkImpl