Package org.jjazz.embeddedsynth.api
Interface EmbeddedSynth
public interface EmbeddedSynth
Interface for a JJazzLab embedded synth.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Release the resources of the synth.void
generateWavFile
(File midiFile, File wavFile) Generate a .wav file from the specified midiFile.getName()
Get the OutputSynth corresponding to this embedded synth.boolean
isOpen()
void
open()
Initialize the synth (load resources...).void
Display 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
-