Re: [Xastir] Bulletin received sound

2021-08-08 Thread Steve Huston
On Sun, Aug 8, 2021 at 9:50 PM David Ranch wrote: > Instead of calling "play_sound", why not make a system call to run a > shell script? Within the shell script, you can do anything you want be > change the audio file it plays, wakes the display, sets of GPIO pin to > light an LED, etc. The

Re: [Xastir] Bulletin received sound

2021-08-08 Thread David Ranch
Instead of calling "play_sound", why not make a system call to run a shell script? Within the shell script, you can do anything you want be change the audio file it plays, wakes the display, sets of GPIO pin to light an LED, etc. --David KI6ZHD On 08/08/2021 06:26 PM, Steve Huston

[Xastir] Bulletin received sound

2021-08-08 Thread Steve Huston
I have a Raspberry Pi setup running Xastir, and use the "play sound effect" system to manually turn on the display when I receive a message. When I get a message it calls a script I wrote that simply looks at the argument (.wav filename) and if it's "newmessage.wav" it turns off the screen