[sdiy] MIDI merging info requested

Neil Bradley nb at synthcom.com
Tue May 10 06:44:51 CEST 2005


>>Is there a simple way to do this?  Perhaps it is just decoding the
> commands
>>and deciding how many bytes to pass before looking at the other MIDI
>>stream.  Seems like if the other stream doesn't have a complete command
>>then you would hang.  Perhaps this is never a problem.
>>
>>Would appreciate help and insight before I start writing code.
>>
>>http://modularsynthesis.com

It's more involved than that. For example, let's say you had two MIDI streams 
doing running status (not uncommon, in fact it's the norm). If you blindly 
merged them, then both events would wind up going to the last non-running status 
message channel.

It really needs to be an active participant. It can't be done in discrete 
hardware itself (yeah, you could do it in an FPGA if you were absolutely crazy) 
- something (most likely a CPU with some MIDI knowledgeable code) needs to 
decode the stream and merge them.

-->Neil



More information about the Synth-diy mailing list