Class Warbler

java.lang.Object
com.jsyn.unitgen.UnitGenerator
com.jsyn.unitgen.Circuit
com.softsynth.jmsl.jsyn2.unitvoices.Warbler
All Implemented Interfaces:
com.jsyn.unitgen.UnitSink, com.jsyn.unitgen.UnitSource, com.jsyn.unitgen.UnitVoice

public class Warbler
extends com.jsyn.unitgen.Circuit
implements com.jsyn.unitgen.UnitVoice, com.jsyn.unitgen.UnitSink
Signal processing Circuit. Send signal through a delayline whose delay value is modulated by an sine ND 11/12/04 Upgraded to JSyn2 API by ND Dec 2016
Author:
Nick Didkovsky, (c) 2004 Nick Didkovsky, all rights reserved
  • Field Summary

    Fields
    Modifier and Type Field Description
    com.jsyn.ports.UnitInputPort amplitude  
    com.jsyn.ports.UnitInputPort wobbleDepth  
    com.jsyn.ports.UnitInputPort wobbleFrequency  

    Fields inherited from class com.jsyn.unitgen.UnitGenerator

    FALSE, PORT_NAME_AMPLITUDE, PORT_NAME_CUTOFF, PORT_NAME_FREQUENCY, PORT_NAME_FREQUENCY_SCALER, PORT_NAME_INPUT, PORT_NAME_OUTPUT, PORT_NAME_PAN, PORT_NAME_PHASE, PORT_NAME_PRESSURE, PORT_NAME_TIMBRE, PORT_NAME_TIME, TRUE
  • Constructor Summary

    Constructors
    Constructor Description
    Warbler()  
  • Method Summary

    Modifier and Type Method Description
    com.jsyn.ports.UnitInputPort getInput()  
    com.jsyn.ports.UnitOutputPort getOutput()  
    static void main​(java.lang.String[] args)  
    void noteOff​(com.softsynth.shared.time.TimeStamp ts)  
    void noteOn​(double frequency, double amplitude, com.softsynth.shared.time.TimeStamp ts)  

    Methods inherited from class com.jsyn.unitgen.Circuit

    add, addPortAlias, flattenOutputs, generate, getPortByName, setEnabled, setFrameRate, setSynthesisEngine, usePreset

    Methods inherited from class com.jsyn.unitgen.UnitGenerator

    addPort, addPort, convertHalfLifeToMultiplier, generate, getCircuit, getFramePeriod, getFrameRate, getId, getPorts, getSynthesisEngine, getSynthesizer, getTopUnit, getUnitGenerator, isEnabled, isStartRequired, printConnections, printConnections, printConnections, pullData, setCircuit, setPort, start, start, start, stop, stop, stop

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.jsyn.unitgen.UnitSink

    getUnitGenerator, start, start, stop, stop

    Methods inherited from interface com.jsyn.unitgen.UnitVoice

    getUnitGenerator, setPort, usePreset
  • Field Details

    • wobbleFrequency

      public com.jsyn.ports.UnitInputPort wobbleFrequency
    • amplitude

      public com.jsyn.ports.UnitInputPort amplitude
    • wobbleDepth

      public com.jsyn.ports.UnitInputPort wobbleDepth
  • Constructor Details

    • Warbler

      public Warbler()
  • Method Details

    • getOutput

      public com.jsyn.ports.UnitOutputPort getOutput()
      Specified by:
      getOutput in interface com.jsyn.unitgen.UnitSource
    • getInput

      public com.jsyn.ports.UnitInputPort getInput()
      Specified by:
      getInput in interface com.jsyn.unitgen.UnitSink
    • noteOff

      public void noteOff​(com.softsynth.shared.time.TimeStamp ts)
      Specified by:
      noteOff in interface com.jsyn.unitgen.UnitVoice
    • noteOn

      public void noteOn​(double frequency, double amplitude, com.softsynth.shared.time.TimeStamp ts)
      Specified by:
      noteOn in interface com.jsyn.unitgen.UnitVoice
    • main

      public static void main​(java.lang.String[] args)