RedInstrumentModule abstract class


Inherits from: RedAbstractModule


do not instantiate.  use its subclasses.


req: Conductor quark

see also: RedAbstractModule RedEffectModule



instance methods:


prepareForPlay(server)

if no group given (*new method), then use the server defaultGroup.

free

remove module from RedAbstractModule.all.

stops all voices.

gui(parent, position)

create a RedInstrumentModuleGUI.

play(key, args, addAction)

for all instruments.

addAction - default is \addToHead.

stop(key)

for all instruments.

stopAll

stop all voices for all keys

synth(key)

return a synth object for a certain key


instance variables:

<voices

a List of instrument objects that are currently playing.


subclass responsibility:

*def



//--