Package jmslexamples.jsyn2
Class AlgorithmicTimbreDemo
java.lang.Object
com.softsynth.jmsl.view.PVFrameAdapter
jmslexamples.jsyn2.AlgorithmicTimbreDemo
- All Implemented Interfaces:
PVComponent
,PVFrame
,java.awt.event.ActionListener
,java.util.EventListener
public class AlgorithmicTimbreDemo extends PVFrameAdapter implements java.awt.event.ActionListener
VERY IMPORTANT EXAMPLE FOR JMSL/JSyn2 interaction!!!!
Create a MusicShape with an Instrument that controls the various input ports
on some JSyn UnitVoice.
JSynUnitVoiceInstrument sniffs out all the UnitVoice's input ports and
creates a DimensionNameSpace for itself.
A DimensionNameSapce is a mapping between Dimension indexes 0, 1, 2, 3... and
names like "duration", "pitch", "amplitude", "hold", "modIndex", "cutoff",
etc...
You can build a MusicShape and add data to it by finding out information
about this DimensionNameSpace
- Author:
- Nick Didkovsky, Dec 15, 2002, adapted for JSyn2 Dec 2016
-
Constructor Summary
Constructors Constructor Description AlgorithmicTimbreDemo()
-
Method Summary
Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent ev)
static void
main(java.lang.String[] args)
Methods inherited from class com.softsynth.jmsl.view.PVFrameAdapter
add, add, addKeyListener, addWindowListener, dispose, equals, getBackground, getBounds, getComponent, getFont, getFontMetrics, getLocation, getParent, getPVMenuBar, hashCode, isEnabled, isShowing, pack, removeAll, removeKeyListener, setBackground, setEnabled, setFont, setFrameLayout, setLocation, setPVMenuBar, setResizable, setSize, setSize, setTitle, setVisible, toBack, toFront, toString, validate
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
AlgorithmicTimbreDemo
public AlgorithmicTimbreDemo()
-
-
Method Details
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
main
public static void main(java.lang.String[] args)
-