In Ubuntu ...
When running pd with -nogui as a daemon, can I send messages to connect to and disconnect from a soundcard? I want to be able to hot plug my usb soundcard without having to stop and start pd each time, if possible.
Dan Wilcox robotcowboy.com
There is the big message to configure the audio interface, I'll bet
you could use that. Search the archives for that. It's something like:
[pd audio 01 1 4 5 23 34 3 56 3763 2 2(
.hc
On Oct 20, 2008, at 1:31 PM, Dan Wilcox wrote:
In Ubuntu ...
When running pd with -nogui as a daemon, can I send messages to
connect to and disconnect from a soundcard? I want to be able to
hot plug my usb soundcard without having to stop and start pd each
time, if possible.
Dan Wilcox robotcowboy.com _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
All mankind is of one author, and is one volume; when one man dies,
one chapter is not torn out of the book, but translated into a better
language; and every chapter must be so translated.... -John Donne
Hans-Christoph Steiner wrote:
There is the big message to configure the audio interface, I'll bet you could use that. Search the archives for that. It's something like:
[pd audio 01 1 4 5 23 34 3 56 3763 2 2(
or just use [r pd]--[print] while playing with the settings dialogs and copy the messages to resend later...
but i don't know if it will work at all, pd only seems to scan for soundcards when it starts (which i think is a bug); so you'd have to start pd with it plugged in, then probably have to switch pd to/from the non-usb soundcard before/after replugging the usb
i'm not sure if any app behaves nicely when you abruptly unplug hardware that it is using - there might be a way to handle it in the ALSA plugin layer, but the ALSA wiki doesn't look promising...
http://alsa.opensrc.org/index.php/FAQ#How_can_I_create_a_virtual_device_that...
.hc
On Oct 20, 2008, at 1:31 PM, Dan Wilcox wrote:
In Ubuntu ...
When running pd with -nogui as a daemon, can I send messages to connect to and disconnect from a soundcard? I want to be able to hot plug my usb soundcard without having to stop and start pd each time, if possible.
Dan Wilcox robotcowboy.com
On Wed, 2008-10-22 at 00:12 -0400, Hans-Christoph Steiner wrote:
There is the big message to configure the audio interface, I'll bet you could use that. Search the archives for that. It's something like:
[pd audio 01 1 4 5 23 34 3 56 3763 2 2(
I thought the dialog stuff does not work in -nogui ... ? I tried it before as a startup message to pd to change midi ports to no avail.
On Oct 20, 2008, at 1:31 PM, Dan Wilcox wrote:
In Ubuntu ...
When running pd with -nogui as a daemon, can I send messages to connect to and disconnect from a soundcard? I want to be able to hot plug my usb soundcard without having to stop and start pd each time, if possible.
Dan Wilcox robotcowboy.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
All mankind is of one author, and is one volume; when one man dies, one chapter is not torn out of the book, but translated into a better language; and every chapter must be so translated.... -John Donne
Dan Wilcox robotcowboy.com
Dan Wilcox wrote:
On Wed, 2008-10-22 at 00:12 -0400, Hans-Christoph Steiner wrote:
There is the big message to configure the audio interface, I'll bet you could use that. Search the archives for that. It's something like:
[pd audio 01 1 4 5 23 34 3 56 3763 2 2(
I thought the dialog stuff does not work in -nogui ... ? I tried it
i am pretty sure this is wrong.
fgmsdar IOhannes