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

Hans-Christoph Steiner hans at eds.org
Wed Apr 12 03:26:38 CEST 2006


externals/ggee/control/shell.c

If you are on a UNIXish system, you can do this:

hans at sla:externals > find ~/cvs/pure-data/externals/ -name '*shell*'
./build/src/shell.c
./build/src/shell.pd_darwin
./ggee/control/shell-help.pd
./ggee/control/shell.c


.hc

On Apr 11, 2006, at 9:18 PM, John Harrison wrote:

> 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
>>
>
>
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list


________________________________________________________________________ 
____

            "The arc of history bends towards justice."
                                            - Dr. Martin Luther King,  
Jr.





More information about the Pd-list mailing list