Environment: Siren
A MidiVoice is used to play note events onto one or more output devices.
Instance variables:
initialize-release
instrument
initialize
Set up a MIDIVoice's time counter.
reset
Reset my time.
events
Expand the list and play it now.
playEvent: anEvent at: aTime
Send the given Event to the instrument.
accessing
Answer my channel or icon number
MetaClass: MIDIVoice class
examples
Play some random notes on a voice on a device on a port.
scaleExample
Play a scale on a voice on a device on a port to the Apple MIDI Mgr.
voiceInspect
MIDIVoice voiceInspect
instance creation
Answer the default MIDIVoice.
named: aName onDevice: aMidiDevice channel: aChannel
set up a MidiVoice on the given device and channel
new
Cache the latest instance.
on: aMidiDevice
Answer up a MidiVoice on the given device.
on: aMidiDevice channel: aChannel
set up a MidiVoice on the given device and channel
class initialization
Answer the class's default intertface # (use external device list to get the right value).
flushDefault
Reset the class's default instance.
initialize
Reset the class's default instance.