MIDI with Lumps

The Dark force of dance batzman at all-electric.com
Sun Mar 28 04:24:37 CEST 1999


Y-ellow Thomas 'n' y'all.

At 06:25 PM 03/27/99 +0000, Thomas Hudson wrote:
>The Dark force of dance wrote:

>Except that a system realtime message can interrupt any other message without
>reseting running status. Also, if the previous message was #B0H, the status
>byte won't be resent.

Err yes. What I should have said is that what was spoze to happen after
that, is that once a B0 was detected, it is flagged as the running status.
Until some other message came along. Whatever, it didn't work and the code
was too much spaghetti to debug so I've started again. Doing it in a more
conventional sense. The irony is that the code was smaller and less
spaghettified. Note here that the term "Spaghettification" is used to
describe the process of elongation caused when an object falls into a black
hole. Which is definitely what was happening to my MIDI messages.

>I have some C++ code I've been working on for parsing a midi stream. The
>"Spray'something'" calls simply deliver each type of message on to whatever
>wants to process them. This is only the parser method. If you need the
>entire class let me know. You may be able to adapt this:

Thanks for your C source. Unfortunately I know nothing about C. In fact I
can barely program in basic let alone any other high-level language. I am,
what might be described as a "stick'n'rudder man." Machine code only. One
day, in the next life time, I might get time to sit down and learn C. There
are some nice little tiny-c compilers for the MCS51 family. There's also a
few tiny-basic compilers which I am yet to investigate. 

I can read a flow chart! :)

Anyway, Fingers crossed for this new routine.

Thanks again.

Be absolutely Icebox.

 _ __        _                              
| "_ \      | |         batzman at all-electric.com / aek at all-electric.com
| |_)/  __ _| |_ ____           ALL ELECTRIC KITCHEN               
|  _ \ / _` | __|___ |  The Elementary Urban sanity CD
| |_) | (_| | |_  / /   out now on Transmission Communications
|_,__/ \__,_|\__|/ /    
                / ,__   http://www.all-electric.com
Goodfortune    |_____|       



More information about the Synth-diy mailing list