Class: SoundPort

Environment: Siren
Superclass: Siren.PortModel
Category: MusicIO-Sound

SoundPort instances are interfaces to real-time sound I/O streams.

Concrete subclasses add primitive interfaces to special devices such as audio ports or coprocessors.

open/close

close
Close the receiver sound port

open
Open the receiver sound port

start
Start the receiver sound port

stop
Stop the receiver sound port

initialize/release

initialize
Answer an initialized version of the receiver.

release
Terminate and release the receiver.

play/record

play: aSound
Play the argument on the receiver over the DACs.

play: aSound from: start to: stop
Play the argument on the receiver over the DACs.

record: aSound
Record into the argument via the receiver.

MetaClass: SoundPort class

class initialization

initializeData
Set up the defaults for the class constants.

instance creation

concreteClass
Answer the appropriate subclass.

default
Answer a default instance of the appropriate subclass.

defaultOrNil
Answer the default instance of the appropriate subclass if it's set up.