[LAD] further in on midi2udp/tcp

Len Ovens len at ovenwerks.net
Tue Sep 11 19:13:21 CEST 2018

On Tue, 11 Sep 2018, Jonathan E. Brickman wrote:

> The current software thought is to have both sides have two threads: one thread
> running callback to JACK, the other handling UDP/TCP, the threads communicating
> by Python FIFO queues, the UDP/TCP thread being constrained by 31.5kHz wait-state

Use jack ring buffers for thread communication. They are rt safe. I have 
used them with a midi to qwerty keyboard bridge. (see: 
http://www.ovenwerks.net/software/midikb.html )

Len Ovens

More information about the Linux-audio-dev mailing list