|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface provides support for reading/writing Roland MC-909 sample data. MC-909 sample files (wav or aiff) have an additional RLND-Chunk that contains specific information about the sample. This Chunk is represented by this interface.
| Field Summary | |
|---|---|
static byte |
LOOP_FWD
Possible loop mode values |
static byte |
LOOP_ONE_SHOT
Possible loop mode values |
static byte |
LOOP_REV
Possible loop mode values |
static byte |
LOOP_REV_ONE
Possible loop mode values |
static long |
MODIFIED909
Constant file modification date used for MC-909 sample files |
static java.lang.String |
RLND_BEGIN
Constant String used at the beginning of the chunk |
static java.lang.String |
RLND_ID
Chunk Id of the RLND-chunk |
static int |
RLND_LENGTH
Length of the RLND chunk without its header |
| Method Summary | |
|---|---|
float |
getBPM()
Get the bpm |
short |
getBPM100()
Get the bpm multiplied by 100 |
byte |
getFineLoopEnd()
Get the loop fine end |
byte |
getFineLoopStart()
Get the loop fine start |
byte |
getFineStart()
Get the sample fine start |
byte |
getLoopMode()
Get the loop mode |
int |
getLoopStart()
Get the loop start position |
byte |
getLoopTune()
Get the loop tune |
byte |
getRootKey()
Get the root key |
int |
getSampleEnd()
Get the sample end position |
int |
getSampleLength()
Get the sample length |
java.lang.String |
getSampleName()
Get the name of the sample |
int |
getSampleStart()
Get sample start position |
short |
getTimeStretchType()
Get the timestretch type |
void |
setBPM(float bpm)
Set the bpm |
void |
setBPM100(short bpm100)
Set the bpm multiplied by 100 |
void |
setFineLoopEnd(byte fine)
Set the loop fine end |
void |
setFineLoopStart(byte fine)
Set the loop fine start |
void |
setFineStart(byte fine)
Set the sample fine start |
void |
setLoopMode(byte mode)
Set the loop mode |
void |
setLoopStart(int start)
Set the llop start position |
void |
setLoopTune(byte tune)
Set the loop tune |
void |
setRootKey(byte key)
Set the root key |
void |
setSampleEnd(int end)
Set the sample end position |
void |
setSampleLength(int length)
Set the sample length |
void |
setSampleName(java.lang.String s)
Set the name of the sample |
void |
setSampleStart(int start)
Set the sample start position |
void |
setTimeStretchType(short type)
Set the timestretch type |
| Field Detail |
|---|
static final byte LOOP_FWD
static final byte LOOP_ONE_SHOT
static final byte LOOP_REV
static final byte LOOP_REV_ONE
static final long MODIFIED909
static final java.lang.String RLND_BEGIN
static final java.lang.String RLND_ID
static final int RLND_LENGTH
| Method Detail |
|---|
float getBPM()
short getBPM100()
byte getFineLoopEnd()
byte getFineLoopStart()
byte getFineStart()
byte getLoopMode()
int getLoopStart()
byte getLoopTune()
byte getRootKey()
int getSampleEnd()
int getSampleLength()
java.lang.String getSampleName()
int getSampleStart()
short getTimeStretchType()
void setBPM(float bpm)
bpm - The bpm in the range from 5.0 to 300.0void setBPM100(short bpm100)
bpm100 - The bpm multiplied by 100 in the range from 500 to 30000void setFineLoopEnd(byte fine)
fine - The loop fine endvoid setFineLoopStart(byte fine)
fine - The loop fine startvoid setFineStart(byte fine)
fine - The sample fine startvoid setLoopMode(byte mode)
mode - The loop modevoid setLoopStart(int start)
start - The loop start positionvoid setLoopTune(byte tune)
tune - The loop tunevoid setRootKey(byte key)
key - The root keyvoid setSampleEnd(int end)
end - The sample end positionvoid setSampleLength(int length)
length - The sample length in sample framesvoid setSampleName(java.lang.String s)
s - A String containing the name. The name will be filled up or
shortened to length 16 if neededvoid setSampleStart(int start)
start - The sample start positionvoid setTimeStretchType(short type)
type - The timestretch type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||