Hi
I'm trying to manipulate a stream of midi clock messages with a chuck
script, but fail. Below is a stripped down example that just sends the
received messages out again:
MidiIn min;
MidiOut mout;
MidiMsg msg;
if (!min.open(0)) me.exit();
if (!mout.open(4)) me.exit();
while(true){
min => now;
while( min.recv(msg))
{
<<>>;
mout.send(msg);
}
}
However, when I send it a stream of midi clock messages it prints the
following:
248 :(int)
[chuck](via RtMidi): RtMidiOut::sendMessage: event parsing error!
248 :(int)
[chuck](via RtMidi): RtMidiOut::sendMessage: event parsing error!
248 :(int)
[chuck](via RtMidi): RtMidiOut::sendMessage: event parsing error!
248 :(int)
[chuck](via RtMidi): RtMidiOut::sendMessage: event parsing error!
It doesn't seem to send anything out mout. Am I doing something wrong?
--
Atte
http://atte.dk http://modlys.dk