We help IT Professionals succeed at work.

Replace School Bells with Web-Based Sound Player

Medium Priority
453 Views
Last Modified: 2012-08-14
The sound system for our school bells went down today, and I'd like to configure a web-based Flash player or script to play sounds on all teacher computers on a set schedule.  Hopefully they can browse to a web page and hear sounds play on the school bell schedule.  I'd appreciate any thoughts.
Comment
Watch Question

Commented:
We did a similar thing mate.

This is what you should do -
1. SETUP a linux box and put VLC player on it.
2. Now setup a CRON JOB using Webmin to play the BELL sound at 1hour intervals.
3. Have VLC player on all teacher PCs listening to the stream at all times.
4. When the CRON JOB will be trigerred the VLC players on the teacher machines will listen to the AUDIO STREAM.

What is required for this project -

1. A shitty old PC with P3 or P4 on it.
2. Atleast 512MB or 1GB RAM.
3. Install Ubuntu on it.
4. Setup WEBMIN.
5. Learn about CRON JOBs using webmin.
6. Download vlc player http://www.videolan.org/vlc/

I have seen this setup working like a charm. We actually ended up selling this to another neighboring schools as well. Since it was a business project and since I am bound by a contract I wouldn't be able to give you all the setup procedure etc. Let me know what else I can do.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Commented:
I think you would be able to do it yourself with some basic knowledge of LINUX and VLC player which is a great streaming player. It will be a nice little project and I am sure you will work it out.

Author

Commented:
I did not know VLC could do that.  This is very cool since we included VLC on the image for all computers at this school, so it is already installed in every classroom.  I'll test tomorrow first thing and accept solution as soon as I know for sure.  I really appreciate the quick response!

Rob

Commented:
No worries mate. Just wack VLC on a windows box and see if you can find some sort of a crone program and sell the solution. LOL ;-)

Author

Commented:
Worked like a champ!  It took me a while to get the commands right, but here they are:

Server:
vlc -vvv c:\bell.mp3 --sout udp:239.255.12.42 --ttl 12  (Using Scheduled Tasks and Batch File)

We also added c:\program files\videolan\vlc to the Windows PATH to make the batch file a bit more simple.

Client(s):
vlc -vvv udp:239.255.12.42  (Manually Entered on Each Teacher Computer)

I suppose if we use this long term I'll automate the teacher piece with a login script or group policy.  Thanks for the excellent solution!

Rob

Author

Commented:
Thanks!

Commented:
I was sure you will be able to sort it out. VLC is the best, mate :-)
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.