where is the shell external (was [PD] Linux: changing sound card params from patch, sending OS commands)

John Harrison john.harrison at wichita.edu
Wed Apr 12 03:18:29 CEST 2006


I've searched all over the CVS and can't find the shell external. Where
is it?

-john

Georg Holzmann wrote:

> Hallo!
>
>> 1. It's a long story but the bottom line is that it appears that I
>> have to use this crappy computer as well as its less-than-steller
>> internal sound card, and that the internal sound card or driver
>> has some sort of bug which requires me to switch to ALSA *after*
>> starting Pd. Everything else produces no sound. And OSS is
>> completely inoperative. So is there a way I can do this in a
>> patch? (The sound card is a Yamaha OPL3-SA23 BTW.)
>
> I guess you already tried pd -alsa ...
>
>> 2. I'd like Pd to be able to send commands to the OS such as shutdown
>> -h "now" when the gallery closes each evening. Is there a way to
>> send such commands from a patch? The only thing I could think to
>> do is send a message to a Python script using sockets....seems
>> rather clumsy.
>
> you can also use the [shell] external ...
> or you could write a cron job out of pd ...
>
> LG
> Georg
>







More information about the Pd-list mailing list