Use instrument.update() to gliss pitch
This is a little unusual because JMSL by default uses the pitch dimension to retrieve allocated
voices when ins.update() is called.
Specify sonic behavior in play() A MusicShape calls its Instrument's play() method for each
element, and waits until the time returned by play() before proceeding to the next element.
This behaves just like a SynthNoteAllPortsInstrument playing a
com.softsynth.jsyn.circuits.FilteredSawtoothBL, adding the PlayLurker
interface so that it can be notified of elements being played by other
objects.
PlayModShape.java
Shows how to play JSyn with JMSL without using support classs like
SynthNoteAllPortsInstrument and without using standard dimension name spaces
This applet starts two Shapes in parallel.
This is used by TunedSynthNoteInstrument.update() and its subclasses to retrieve synthnotes
based on update dimension and most recent playtime of double[] data
PlayToot02.java
Play a sequence of MusicShapes with the same JSyn instrument
Generate 7 MusicShapes, each 3 elements long, with random melodies and synth control params.
Constructor which fills double[numFrames] with polynomial data -1..1
numFrames should be an odd number (1024 + 1 is a good table size for
example!)
Note that any Polynomial can plug in here, just make sure output is -1..1
when input ranges from -1..1
Score with a SynthNoteAllPortsInstrument orchestra
Double click on a note to edit its timbre
This instrument takes a SynthNote class name and max voices in its
constructor, and will make each input port editable
com.didkovsky.portview is a Java package for creating UI components in either Swing or AWT (switchable depending on PortView.getViewFactory())
PortView class holds a static ViewFactory
com.didkovsky.portview is a Java package for creating UI components in either Swing or AWT (switchable depending on PortView.getViewFactory())
PVButton is an interface for a Button component that can be either AWT or Swing depending on ViewFactory
com.didkovsky.portview is a Java package for creating UI components in either Swing or AWT (switchable depending on PortView.getViewFactory())
PVCanvas is an interface for a Canvas component that can be either AWT or Swing depending on ViewFactory
com.didkovsky.portview is a Java package for creating UI components in either
Swing or AWT (switchable depending on PortView.getViewFactory())
PVCheckbox is an interface for a Checkbox component that can be either AWT or
Swing depending on ViewFactory
Note that addActionListener() is supported in Swing and addItemListener() is
support by AWT.
com.didkovsky.portview is a Java package for creating UI components in either Swing or AWT (switchable depending on PortView.getViewFactory())
PVCheckboxMenuItem is an interface for a CheckboxMenuItem component that can be either AWT or Swing depending on ViewFactory
Implements JMSLFrame interface with a delegate implementationFrame
Use this if you want to extend a Frame that can be either AWT and Swing depending on ViewFactory