mracine923
Posts: 3
Joined: Sat May 18, 2013 10:02 pm

Play a sound from a browser command

Sun May 19, 2013 4:40 am

I'm new at this (just got this today) so please bear with me...

I'm trying to figure out how to send an HTML command to the R.P. to run a command. I can play a sound file by running this command...

sudo aplay alarm.wav

...but I'm trying to figure out how to do this remotely. I would like to setup a schedule to send this command to the raspberry pi at a set time but need to figure out how to do this with an html command.

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Play a sound from a browser command

Sun May 19, 2013 8:29 am

SSH and Putty (for batch files) is not enough ?

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

mracine923
Posts: 3
Joined: Sat May 18, 2013 10:02 pm

Re: Play a sound from a browser command

Thu May 23, 2013 7:11 pm

I'm working from a device that does not allow for SSH so I'm stuck to using a http command.


Return to “Graphics, sound and multimedia”