Package org.jjazz.embeddedsynth.api
Interface EmbeddedSynth
public interface EmbeddedSynth
Interface for a JJazzLab embedded synth.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Release the resources of the synth.voidgenerateWavFile(File midiFile, File wavFile) Generate a .wav file from the specified midiFile.getName()Get the OutputSynth corresponding to this embedded synth.booleanisOpen()voidopen()Initialize the synth (load resources...).voidDisplay a dialog to alter embedded synth settings.
-
Method Details
-
open
Initialize the synth (load resources...).- Throws:
EmbeddedSynthException
-
close
void close()Release the resources of the synth. -
isOpen
boolean isOpen() -
getName
String getName() -
getVersion
String getVersion() -
getOutputSynth
OutputSynth getOutputSynth()Get the OutputSynth corresponding to this embedded synth.- Returns:
-
showSettings
Display a dialog to alter embedded synth settings.Settings might be serialized by the embedded synth instance.
- Parameters:
c- The related component to locate the dialog.
-
generateWavFile
Generate a .wav file from the specified midiFile.- Parameters:
midiFile-wavFile-- Throws:
EmbeddedSynthException
-