Class: MIDIDump

Environment: Siren
Superclass: Model
Category: MusicIO-MIDI
Instance variables: eventList live notesOn startedAt
Imports: private MIDICommands.*

An instance of MIDIDump is used as a dependent of the MIDIPort to demonstrate the use of dependency for MIDI input. See the class example.

Instance Variables:
verbose should I log events to the Transcript?
live should I match noteOn/Off commands on the fly?
eventList the event list I'm capturing input to
notesOn the current playing notes
startedAt the clock time I was started at

updating

update: aspect with: aParameter from: aSender
The model (port) changed; add the event to our event list.

initialize release

initialize
Setup the receiver's instance variables.

accessing

eventList

eventList: aValue

live: aValue

MetaClass: MIDIDump class

instance creation

new

examples

example
Set up a MIDI dump object as a dependent of the input port. Dump for 10 seconds,
then turn off. The default update: method just dumps the MIDI packet into the transcript;
customize this by writing your own update: method.

exampleEditor
Set up a MIDI dump object as a dependent of the input port. Capture it to an event list and update the view in real time BROKEN.

exampleList
Set up a MIDI dump object as a dependent of the input port. Capture it to an event list.