default
tkmidi
tkmiditkmidi.MIDIInclearEvents() - Discard previously recorded MIDI events
close() - Close MIDI device
GetDeviceName(int devIdx) : String - Query device name by index (pseudo-static method)
getDeviceName() : String - Query MIDI device name
getNextEvent() : RecordedMIDIEvent - Return RecordedMIDIEvent* or null if no event is available
GetNumDevices() : int - Query number of available MIDI input devices (pseudo-static method)
getNumEvent() : int - Query number of recorded input events
openById(int devIdx) : boolean - Open MIDI input device by index
openByName(String devName) : boolean - Open MIDI input device by name
reset() - Reset MIDI device
start() - Start input event recording
stop() - Stop input event recording
The MIDIIn class uses a ring buffer to record incoming MIDI events.
Each event is time-stamped for later evaluation in e.g. a sequencer application.
Method clearEvents | |||
Discard previously recorded MIDI events | |||
Signature | |||
|
Method close | |||
Close MIDI device | |||
Signature | |||
|
Method getDeviceName | |||||
Query MIDI device name | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method GetDeviceName | ||||||||||
Query device name by index (pseudo-static method) | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
| ||||||||||
Method getNextEvent | |||||
Return RecordedMIDIEvent* or null if no event is available | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method GetNumDevices | |||||
Query number of available MIDI input devices (pseudo-static method) | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getNumEvent | |||||
Query number of recorded input events | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method openById | ||||||||||
Open MIDI input device by index | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
| ||||||||||
Method openByName | ||||||||||
Open MIDI input device by name | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
| ||||||||||
Method reset | |||
Reset MIDI device | |||
Signature | |||
|
Method start | |||
Start input event recording | |||
Signature | |||
|
Method stop | |||
Stop input event recording | |||
Signature | |||
|
| Project Modules: | tkmidi |
| Project Classes: | MIDIIn , MIDIOut , RecordedMIDIEvent |
| Project Functions: | |
| All Namespaces: | default , ui |
| All Projects: | core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit |
auto-generated by "DOG", the TkScript document generator. Sat, 31/Dec/2011 16:12:19