|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ModuleUnits
Different module formats uses different relationships between notes, rates and periods. They also have different limits on maximum and minimum notes.
| Method Summary | |
|---|---|
double |
addPeriod(double note,
double period)
adds a period value to a note value |
double |
getLowerNoteLimit()
gets the lowest note that can be played in a module |
java.lang.String |
getName()
|
double |
getUpperNoteLimit()
gets the highest note that can be played in a module |
double |
note2period(double period)
converts a note value to a period value |
double |
note2rate(double note)
converts a note value to a rate value |
double |
period2note(double period)
converts a period value to a note value |
double |
rate2note(double note)
converts a rate value to a note value |
| Method Detail |
|---|
double period2note(double period)
double note2period(double period)
double note2rate(double note)
double rate2note(double note)
double addPeriod(double note,
double period)
double getUpperNoteLimit()
double getLowerNoteLimit()
java.lang.String getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||