Playable.AbstractPlayable
Constructor and Description |
---|
AbstractPlayable(String name,
int center,
int[][] steps) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getMidiStream() |
String |
getName() |
int |
getSemitonesFromC(int pitch) |
int |
getTonalCenter() |
int |
getTonesFromC(int pitch) |
String |
toString() |
public AbstractPlayable(String name, int center, int[][] steps)
public InputStream getMidiStream()
getMidiStream
in interface Playable
public int getTonalCenter()
getTonalCenter
in interface Playable
public int getTonesFromC(int pitch)
getTonesFromC
in interface Playable
public int getSemitonesFromC(int pitch)
getSemitonesFromC
in interface Playable