Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Tuesday, February 14, 2012 - 11:53 am

Good to hear that there's something in the pipeline to address this.
I'll certainly add support for it once it's stable and supported in the
major hosts.

BTW, trying to run the example sampler in qtractor and it segfaults (see
gdb output below). Not sure if qtractor is doing some wrong, or me, or
the plugin :)

The other thing I'd love to be able to do is somehow change the # of
control ports dynamically (so I can expose exactly the right # of
gain/pan ports for the # of samples). dynamic-manifest seems like a
promising way to do this, but I haven't seen a way to ask the host to
re-poll for a new manifest, so that makes it pretty much useless if you
ever want to change kits. Any thoughts on this?

Thanks!

-Nick

GDB Output:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3c2b708 in main_arena () from /lib/libc.so.6
(gdb) up
#1 0x00007fffe4681db9 in map_uri (plugin=0x294e540, uri=0x7fffe4682228
"http://lv2plug.in/plugins/eg-sampler#filename") at ../sampler.c:354
354 return plugin->map->map(plugin->map->handle, uri);
(gdb) print plugin
$1 = (Sampler *) 0x294e540
(gdb) print *plugin
$2 = {map = 0x7ffff3c2b718, samp = 0x29cd720, pending_samp = 0x29e6300,
pending_samp_mutex = {__data = {__lock = 0, __count = 0, __owner = 0,
__nusers = 1, __kind = 0, __spins = 0,
__list = {__prev = 0x0, __next = 0x0}}, __size = '\000' , "\001", '\000' , __align = 0},
pending_samp_cond = {__data = {__lock = 0, __futex = 1,
__total_seq = 1, __wakeup_seq = 0, __woken_seq = 0, __mutex =
0x294e558, __nwaiters = 2, __broadcast_seq = 0},
__size = "\000\000\000\000\001\000\000\000\001", '\000' , "X\345\224\002\000\000\000\000\002\000\000\000\000\000\000",
__align = 4294967296}, pending_sample_ready = 1,
output_port = 0x0, event_port = 0x0, uris = {midi_event = 0,
atom_message = 0, set_message = 0, state_path = 0, filename_key = 0},
play = false, frame = 43818880,
worker_thread = 140736974575360}
(gdb) print *(plugin->map)
$3 = {handle = 0x7ffff3c2b708, map = 0x7ffff3c2b708 }
(gdb) print (plugin->map->map)
$4 = (LV2_URID (*)(LV2_URID_Map_Handle, const char *)) 0x7ffff3c2b708

(gdb) print *(plugin->map->map)
$5 = {LV2_URID (LV2_URID_Map_Handle, const char *)} 0x7ffff3c2b708

On 02/13/2012 10:04 PM, David Robillard wrote:

_______________________________________________
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:
[LAD] DrMr: a new lv2 sampler/drum machine plugin, Nick Lanham, (Mon Feb 13, 4:21 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Alexandre Prokoudine, (Tue Feb 14, 9:58 am)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Albert Graef, (Tue Feb 14, 10:22 am)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Alexandre Prokoudine, (Tue Feb 14, 1:23 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Nick Lanham, (Tue Feb 14, 1:51 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Sebastian Moors, (Tue Feb 14, 2:22 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Alexandre Prokoudine, (Tue Feb 14, 6:39 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, thijs van severen, (Tue Feb 14, 5:49 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Nick Lanham, (Fri Feb 17, 3:53 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Sebastian Moors, (Fri Feb 17, 5:01 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Albert Graef, (Fri Feb 17, 7:53 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, m.wolkstein@gmx.de, (Fri Feb 17, 11:05 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Albert Graef, (Sat Feb 18, 1:10 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Nick Lanham, (Tue Feb 14, 11:24 am)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Dave Phillips, (Tue Feb 14, 12:18 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Nick Lanham, (Tue Feb 14, 2:57 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Albert Graef, (Tue Feb 14, 7:21 am)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Jeremy Jongepier, (Mon Feb 13, 8:59 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Rui Nuno Capela, (Mon Feb 13, 9:27 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, David Robillard, (Mon Feb 13, 9:30 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Rui Nuno Capela, (Mon Feb 13, 9:48 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, David Robillard, (Mon Feb 13, 10:06 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, David Robillard, (Tue Feb 14, 6:48 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Jeremy Jongepier, (Mon Feb 13, 9:39 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Albert Graef, (Mon Feb 13, 8:18 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Nick Lanham, (Mon Feb 13, 4:46 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Filipe Lopes, (Mon Feb 13, 5:02 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, David Robillard, (Mon Feb 13, 9:05 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Nick Lanham, (Tue Feb 14, 11:53 am)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, David Robillard, (Tue Feb 14, 7:33 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Nick Lanham, (Wed Feb 15, 11:28 am)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, David Robillard, (Wed Feb 15, 7:30 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Paul Giblock, (Tue Feb 14, 7:44 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, David Robillard, (Tue Feb 14, 8:03 pm)
Re: [LAD] DrMr: a new lv2 sampler/drum machine plugin, Nick Lanham, (Mon Feb 13, 5:11 pm)