
LiveSoundActor |
ptolemy.actor.lib.javasound.LiveSoundActor |
This actor forms a base class for actors that interact with real-time
sound through the ptolemy.media.LiveSound class. This class manages the
parameters for live sound.
<p>
Note: Requires Java 2 v1.3.0 or later.
Author(s): Steve Neuendorffer
Version:$Id: LiveSoundActor.doc.html,v 1.1 2006/02/22 18:41:22 mangal Exp $
Pt.Proposed Rating:Green (neuendor)
Pt.Accepted Rating:Yellow (chf)
sampleRate
The desired sample rate to use, in Hz. The default value
is an IntToken equal to 8000.
<p>
An exception will be occur if this parameter is set to an
unsupported sample rate.
bitsPerSample
The number desired number of bits per sample. The default
value is an IntToken equal to 16.
<p>
An exception will occur if this parameter is set to an
unsupported bit resolution.
channels
The number of audio channels to use. The default value is
an IntToken equal to 1.
<p>
An exception will occur if this parameter is set to an
an unsupported channel number.
transferSize
The number of samples that will be transferred to the audio driver
together. The default is 128.