Package org.jjazz.musiccontrol.api
Class SongMidiExporter
java.lang.Object
org.jjazz.musiccontrol.api.SongMidiExporter
Helper methods to export a Song to a Midi file.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
songToMidiFile
(Song song, MidiMix midiMix, File midiFile, RhythmVoice rv) Export a song to the specified midi File.
-
Constructor Details
-
SongMidiExporter
public SongMidiExporter()
-
-
Method Details
-
songToMidiFile
Export a song to the specified midi File.If song is the active song, try to reuse the last result from the ActiveSongMusicBuilder, otherwise generate the music. Notify user if a problem occured.
- Parameters:
song
-midiMix
-midiFile
-rv
- If non-null, only export the specified RhythmVoice- Returns:
- True if write was successful.
-