com.softsynth.jsyn
Class EnvelopePlayer
java.lang.Object
java.util.Observable
com.softsynth.jsyn.SynthObject
com.softsynth.jsyn.SynthSound
com.softsynth.jsyn.SynthUnit
com.softsynth.jsyn.EnvelopePlayer
public class EnvelopePlayer
- extends SynthUnit
EnvelopePlayer unit.
EnvelopePlayer will play blocks of multi-segment envelope data. Blocks are queued
to the envelope using SynthEnvelopeQueue.queue()
- Version:
- JSyn Version 005
- Author:
- (C) 1997 Phil Burk, SoftSynth.com, All Rights Reserved
- See Also:
Synth
,
SynthEnvelope
,
SynthEnvelopeQueue
Methods inherited from class com.softsynth.jsyn.SynthSound |
addPort, addPort, findNamedPort, getName, getNumPorts, getPortAt, getPriority, setPriority, setStage, setStage, start, start, stop, stop |
Methods inherited from class java.util.Observable |
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
rate
public SynthInput rate
amplitude
public SynthInput amplitude
output
public SynthOutput output
envelopePort
public SynthEnvelopeQueue envelopePort
EnvelopePlayer
public EnvelopePlayer(SynthContext synthContext,
int calculationRate)
throws SynthException
- Throws:
SynthException
EnvelopePlayer
public EnvelopePlayer(SynthContext synthContext)
throws SynthException
- Create one that runs at Synth.RATE_AUDIO.
- Throws:
SynthException
- If resource allocation fails.
EnvelopePlayer
public EnvelopePlayer()
throws SynthException
- Throws:
SynthException