Package eu.bandm.music.midi
Class Playable.AbstractPlayable
java.lang.Object
eu.bandm.music.midi.Playable.AbstractPlayable
- All Implemented Interfaces:
Playable
- Enclosing interface:
- Playable
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.music.midi.Playable
Playable.AbstractPlayable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
getSemitonesFromC
(int pitch) int
int
getTonesFromC
(int pitch) toString()
-
Constructor Details
-
AbstractPlayable
-
-
Method Details
-
toString
-
getName
-
getMidiStream
- Specified by:
getMidiStream
in interfacePlayable
-
getTonalCenter
public int getTonalCenter()- Specified by:
getTonalCenter
in interfacePlayable
-
getTonesFromC
public int getTonesFromC(int pitch) - Specified by:
getTonesFromC
in interfacePlayable
-
getSemitonesFromC
public int getSemitonesFromC(int pitch) - Specified by:
getSemitonesFromC
in interfacePlayable
-