|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vwp.sound.mod.modplay.loader.STMUnits
public class STMUnits
Constructor Summary | |
---|---|
STMUnits(int c3hz)
|
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 rate)
converts a rate value to a note value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public STMUnits(int c3hz)
Method Detail |
---|
public double period2note(double period)
ModuleUnits
period2note
in interface ModuleUnits
public double note2period(double period)
ModuleUnits
note2period
in interface ModuleUnits
public double note2rate(double note)
ModuleUnits
note2rate
in interface ModuleUnits
public double rate2note(double rate)
ModuleUnits
rate2note
in interface ModuleUnits
public double addPeriod(double note, double period)
ModuleUnits
addPeriod
in interface ModuleUnits
public double getUpperNoteLimit()
ModuleUnits
getUpperNoteLimit
in interface ModuleUnits
public double getLowerNoteLimit()
ModuleUnits
getLowerNoteLimit
in interface ModuleUnits
public java.lang.String getName()
getName
in interface ModuleUnits
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |