MIDI : showMusic loads a primitive routine to connect to MIDI, to send realtime events. Unfortunately I only have
Linux systems to test this on, so the only interface module is inc/LinuxMIDI-IO.tcl. The system uses
source inc/$tcl_platform(os)MIDI-IO.tcl to load the interface. If the file cannot be found for that OS,
it loads inc/unknownMIDI-IO.tcl which provides dummy procs for sendMidiNoteOn and sendMidiNoteOff.
Additional OS dependent code would be very welcome.
The time controller and the play button are exceedingly primitive at the moment. There is no way of choosing the tempo, changing the tempo during the replay, repeating a section etc etc. Any improvements will be warmly welcomed. Please add any other controls etc in a seperate window; I have plans for the remaing real-estate as can be seen by reading the code.
The help engine was cobbled together from tclhttpd3.5.1/bin/mini/mini1.1.tcl and http://wiki.tcl.tk/15244 and http://wiki.tcl.tk/557
The reload button currently reloads the procs for Play , Save and dump.
Save is purely a dummy routine at the moment.
This code benefited greatly from advice freely given by
Alex Ferrieux
This code was essential at one stage to make EAI work, but the EAI library
has been re-written to work without it. However, OSC is one of the protocols
favoured to work with multi-touch interfaces, and this library will therefore
be usefull in other situations.
Additional code selftest.kit is a sample
that (a) shows how to use the OSC library code and (b) encodes and decodes a collection
of arbitary data for testing purposes.
sendtest.kit and recievetest.kit
show how to use the library with UDP. You will also need a config file
Install the kits (osclib, selftest,
sendtest, recievetest and
Tcllib from sourceforge or
equi4) and the config
file all in the same directory.
You will need a 'batteries included' kit (containing UDP) from somewhere like
kbskit.sourceforge.net.
While this code is still available here, I am nowdays instead using 'showMusic' above.