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

2013-02-18 Thread Jeff McClintock
Message: 7 Date: Sun, 17 Feb 2013 17:10:11 -0500 From: Paul Coccoli < pcocc...@gmail.com> >You're effectively serializing your object and passing them over the ringbuffer. If you do it this way, you should at least consider explicitly embedding the type and length

Re: [LAD] avw lv2 plugins with Ardour 3 on KX Studio

2013-02-18 Thread David Robillard
On Mon, 2013-02-18 at 17:25 +, Aurélien Leblond wrote: > Hi Kane, > > I believe this issue is due to the fact that Ardour doesn't support CV > port (it is the same in Jalv). > > In these plugins, the CV Port are used to control when the Beat > Repeater/Slicer would be repeating/slicing. > >

[LAD] C++11 user defined literals: Musical duration

2013-02-18 Thread Mario Lang
hi. The following just manifested itself while experimenting with code. I find it quite neat since it makes for quite natural looking constants: class duration_log { int8_t log; public: constexpr duration_log(int log) : log(log) {} constexpr operator int() const { return log; } template

Re: [LAD] avw lv2 plugins with Ardour 3 on KX Studio

2013-02-18 Thread Aurélien Leblond
Hi Kane, I believe this issue is due to the fact that Ardour doesn't support CV port (it is the same in Jalv). In these plugins, the CV Port are used to control when the Beat Repeater/Slicer would be repeating/slicing. @David: Can you confirm? Kind Regards, Aurélien On Mon, Feb 18, 2013 at 9:5

Re: [LAD] Deciphering jack-smf-utils -- Jack MIDI stuff

2013-02-18 Thread M Donalies
On Monday 18 February 2013 08:33:16 Paul Davis wrote: > On Mon, Feb 18, 2013 at 8:35 AM, M Donalies wrote: > > On Sunday 17 February 2013 08:21:51 Paul Coccoli wrote: > > > On Sat, Feb 16, 2013 at 10:33 PM, M Donalies > > > > wrote: > > > > process_callback() calls process_midi_output(), wherein

Re: [LAD] Deciphering jack-smf-utils -- Jack MIDI stuff

2013-02-18 Thread M Donalies
This question arises from jack-keyboard rather than jack-smf-utils. The basic framework is very similar, but jack-keyboard gets input from a gui rather than from a smf. So the idea is that you press a key on the keyboard and an event handler gets called. The event handler calls queue_new_messag

Re: [LAD] Deciphering jack-smf-utils -- Jack MIDI stuff

2013-02-18 Thread Paul Davis
On Mon, Feb 18, 2013 at 8:35 AM, M Donalies wrote: > On Sunday 17 February 2013 08:21:51 Paul Coccoli wrote: > > On Sat, Feb 16, 2013 at 10:33 PM, M Donalies > wrote: > > > process_callback() calls process_midi_output(), wherein we find: > > > port_buffer = jack_port_get_buffer(output_por

Re: [LAD] Deciphering jack-smf-utils -- Jack MIDI stuff

2013-02-18 Thread M Donalies
On Sunday 17 February 2013 08:21:51 Paul Coccoli wrote: > On Sat, Feb 16, 2013 at 10:33 PM, M Donalies wrote: > > process_callback() calls process_midi_output(), wherein we find: > > port_buffer = jack_port_get_buffer(output_port, nframes); > > > > Why the nframes parameter? Is there a s