// Path: dev/java/vocobox-api/src/main/java/org/vocobox/model/synth/VocoSynth.java
// public interface VocoSynth {
//     // enable
//     public void wire();
//     public void on() throws Exception;
//     public void off();
//     
//     // play
//     public void sendAmplitude(float amplitude);
//     public void sendFrequency(float frequency);
//     public void sendConfidence(float confidence);
//     public void sendOnset(float salience);
//     public void sendOffset();
//     
//     // monitor
//     public SynthMonitor getMonitor();
//     public void setMonitor(SynthMonitor monitor);
//     public SynthMonitorCharts getDefaultMonitor(MonitorSettings settings);
//     
//     // UI controller
//     public JPanel newControlPanel();
// }


import javax.swing.JPanel;
import org.vocobox.model.synth.VocoSynth;
import org.vocobox.synth.jsyn.JsynVocoSynthAbstract;
import com.jsyn.JSyn;
import com.jsyn.ports.UnitOutputPort;
import com.jsyn.unitgen.LineOut;
import com.jsyn.unitgen.SineOscillator;
import com.jsyn.unitgen.UnitOscillator;
import com.jsyn.unitgen.UnitSource;
package org.vocobox.synth.jsyn.monoscillo;




public class JsynMonoscilloSynth extends JsynVocoSynthAbstract implements VocoSynth {
    UnitOscillator oscillo;
    
    public JsynMonoscilloSynth() {
        wire();
    }

    @Override
    public UnitSource getSource() {
        return oscillo;
    }

    @Override
    public void wire() {
        initSynthetizer();
        wireOscillatorToLineOut();
        defaultSettings();
    }

// Path: dev/java/vocobox-api/src/main/java/org/vocobox/model/synth/VocoSynth.java
// public interface VocoSynth {
//     // enable
//     public void wire();
//     public void on() throws Exception;
//     public void off();
//     
//     // play
//     public void sendAmplitude(float amplitude);
//     public void sendFrequency(float frequency);
//     public void sendConfidence(float confidence);
//     public void sendOnset(float salience);
//     public void sendOffset();
//     
//     // monitor
//     public SynthMonitor getMonitor();
//     public void setMonitor(SynthMonitor monitor);
//     public SynthMonitorCharts getDefaultMonitor(MonitorSettings settings);
//     
//     // UI controller
//     public JPanel newControlPanel();
// }


// Path: dev/java/vocobox-synth-jsyn/src/main/java/org/vocobox/synth/jsyn/monoscillo/JsynMonoscilloSynth.java
import javax.swing.JPanel;
import org.vocobox.model.synth.VocoSynth;
import org.vocobox.synth.jsyn.JsynVocoSynthAbstract;
import com.jsyn.JSyn;
import com.jsyn.ports.UnitOutputPort;
import com.jsyn.unitgen.LineOut;
import com.jsyn.unitgen.SineOscillator;
import com.jsyn.unitgen.UnitOscillator;
import com.jsyn.unitgen.UnitSource;

package org.vocobox.synth.jsyn.monoscillo;




public class JsynMonoscilloSynth extends JsynVocoSynthAbstract implements VocoSynth {
    UnitOscillator oscillo;
    
    public JsynMonoscilloSynth() {
        wire();
    }

    @Override
    public UnitSource getSource() {
        return oscillo;
    }

    @Override
    public void wire() {
        initSynthetizer();
        wireOscillatorToLineOut();
        defaultSettings();
    }

    public void initSynthetizer() {