abc.midi
Interface MidiConverterInterface
- All Known Implementing Classes:
- MidiConverterAbstract, OldMidiConverterAbstract
- public interface MidiConverterInterface
This interface defines methods that should be implemented for any "tune to
midi" converter.
Improved converters could generate midi sequences depending on the type of tune
rhythm, have nice ornaments features etc etc...
Method Summary |
javax.sound.midi.Sequence |
toMidiSequence(Tune tune)
Returns the midi sequence corresponding to the given tune. |
toMidiSequence
public javax.sound.midi.Sequence toMidiSequence(Tune tune)
- Returns the midi sequence corresponding to the given tune.
- Parameters:
tune
- A tune with a score.
- Returns:
- A midi sequence corresponding to the given tune.