From a mail sent to the mailinglist earlier:
This enables *fast* workflow of loading samples.
Therefore, as soon as I discovered petri-foo, I wrote this patch:
http://pastie.org/5169247 (*)
http://kn0r.dev.mannetje.org/temp/fifo.h
http://kn0r.dev.mannetje.org/temp/fifo.c
* = my knowledge of cmake is 0%, so I did a quickndirty #include "fifo.c" for the time being :)
it starts a fifo-thread which creates & listens to /tmp/petri-foo.fifo
By doing so, any C-code, controller, keyboardshortcut, could load samples into a certain patch of the running instance:
echo "load sample '/foo/bar/Foo 12.wav' 1" > /tmp/petri-foo.fifo
system("echo \"load sample '/foo/bar/Foo 12.wav' 1\" > /tmp/petri-foo.fifo");
~/.inputrc: "\C-x1":"echo \"load sample '/foo/bar/Foo 12.wav' 1\" > /tmp/petri-foo.fifo\C-M"
For me this is great, it kind of gives me the power of linuxsampler's LSCP in an unobtrusive way.
I use extra usb (custom painted) keyboards (some of them using http://lsmi-all.sourceforge.net/\),
so now I can change samples while playing live.
I also have a customized filebrowser which lets me navigate thru my sample(folders) without the mouse.
(It can write the selected file to a fifo..hence the fifo-feature).