Midi Merge Technique?

Bojan Burkeljc Bojan.Burkeljc at campus.fe.uni-lj.si
Thu Jan 20 17:27:39 CET 2000


Hi!

> I'm exploring a possible CPU based MIDI knob box project and I would like to
> "pass thru and merge" midi data. The box would have a MIDI IN and MIDI OUT.
> The incoming midi data from a sequencer or keyboard will pass through and
> Midi knob Data from my CPU box will be merged. What is a good technique for
> doing this?
> 
> Here are two thought I have come up with so far:
> 
> 2. MIDI IN Data is monitored by CPU and buffered in memory (FIFO like) The
> CPU generated data is then interleaved and transmitted with the fifo buffer.
> 
Similar method would be to use two FIFO buffers (if the system allows that): one
for CPU-generated data and second for incoming data buffering and transmition. 
When there is some data in the "CPU" buffer, the MIDI in line is checked: if it
idles (no start bit directly after previous byte's stop bit is enough here), the
"CPU" buffer's content is written into the "main" buffer.

I hope that helps.

Bojan Burkeljc




More information about the Synth-diy mailing list