Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
260 views

No sound with mpg123 or mplayer at boot

What I want to do : at boot, start a playlist on a headless RBPi A+ through the headphones jack using mpg123. I Wrote a shell script targeting mpg123: #!/bin/bash # see if (and when) my script was run ...
catmembert's user avatar
1 vote
1 answer
309 views

Playing audio with Python scrpitpt run from Cron

I have a USB sound card connecting mic & speakers to a Raspberry Pi Zero W + The following script plays audio fine when run from the terminal. However, when run from cron, nothing can be heard. ...
PangolinPaws's user avatar
3 votes
1 answer
1k views

Pygame.mixer does not play sound when started in cron

I have written a small python script that plays a track after the press of a button (and ignores further button presses until the track has completed). The script works perfectly fine when started ...
robertmusil's user avatar
1 vote
1 answer
243 views

Failing to record audio using cron

I'm not having any success getting the below line to run in Cron. I've added / before % due to it being a special character. It works without the / when run directly from Terminal. Eventually I'd ...
Andy Anderson's user avatar