Re: [LAD] making sense of Jack MIDI; or, is this an appropriate use for Jack?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Friday, February 15, 2013 - 6:06 pm

On Friday 15 February 2013 11:12:04 Paul Davis wrote:

Does that mean:
Don't even think about it unless you're a systems programmer because there's
1000 low-level subtleties involved.

Or is it just the tedium of turning all the midi events into binary and making
sure all the events are in order to be processed by the target (fluidsynth or
soundcard or whatever)?

I can handle the latter, but certainly not the former. My idiot-level
algorithm is kind of like writing realtime midi to a port and looks something
like:
1) My app has a buffer of the binary midi data. Jack is running and I've
created a midi out port.

2) Jack let's me know what time it is through a callback.

3) To play, I record the current time as my starting time. Then write some
events to the port.

4) Wait for another callback and write more data.

Ok, you can stop banging your head on or desk, exclaiming "How does this idiot
even know how to post a message to the list!" I have the feeling this is the
equivalent of the car question, "Now tell me again, why do I have to use this
icky motor oil stuff? Pouring water in the reservoir fills it just the same and
it's far less messy."

--
7:8
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAD] making sense of Jack MIDI; or, is this an appropri..., Pedro Lopez-Cabanillas, (Fri Feb 15, 5:53 pm)
Re: [LAD] making sense of Jack MIDI; or, is this an appropri..., Pedro Lopez-Cabanillas, (Sat Feb 16, 12:16 pm)
Re: [LAD] making sense of Jack MIDI; or, is this an appropri..., Pedro Lopez-Cabanillas, (Sat Feb 16, 5:22 pm)
Re: [LAD] making sense of Jack MIDI; or, is this an appropri..., Pedro Lopez-Cabanillas, (Sat Feb 16, 9:39 am)
Re: [LAD] making sense of Jack MIDI; or, is this an appropri..., Pedro Lopez-Cabanillas, (Sat Feb 16, 10:03 am)
Re: [LAD] making sense of Jack MIDI; or, is this an appropri..., Pedro Lopez-Cabanillas, (Sat Feb 16, 11:03 am)
Re: [LAD] making sense of Jack MIDI; or, is this an appropri..., M Donalies, (Fri Feb 15, 6:06 pm)
Re: [LAD] making sense of Jack MIDI; or, is this an appropri..., Pedro Lopez-Cabanillas, (Fri Feb 15, 7:15 pm)