DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: play sound based on IP package received  (Read 14,631 times)

jwka

  • coding on SLOL - Smart Livin Open Library
  • Participant
  • Joined in 2018
  • *
  • Posts: 1
play sound based on IP package received
« on: April 18, 2018, 11:40 AM »
Hey all,

newbie here ... hope I am in the right section ... and ... maybe what I search for already exists (i hoped so but have not found through my researches):

I am coding a freeware library for IP based home automation, it's PHP classes that will run on any PHP server and hopefully enable users to "code" their own logic by using "bricks". For a number of use-cases, there's a need for a audible feedback to the user, if an actin is recognized, a butto pressed and the procedure successfully (or failurefully) started/ended.

As my thinking is IP based, I an in serach for a program that can (significance of wishlist in order of appearance):

- output sound based on frequence-length info sent by an (TCP/UDP)IP package
- output stored soundfiles
- accept sent sound files and stor/play them

The first option is obviously the main one, but if the second/third would be "doable" that would be beneficiary as then one could even play "Cortana's" answers type of sounds.

Also, it would be very nice, if the program would either run on small devices like RasPi or, even better, would support dually RasPi's AND Windows devices (which a lot of home automation extensions run on vs. Linux)

Any hint on existing programs are very welcome. Also, I think there might in the near future be a commercial possibility for such a product (which I do not follow but forsee).

Thanks all!



Trying to release an open source smart living PHP library (SLOL) ...

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: play sound based on IP package received
« Reply #1 on: April 18, 2018, 01:39 PM »
Hey, welcome to the site jwka! Sounds like a very fun project, looking forward to hearing more about it.  :Thmbsup:

Original address: https://www.donationcoder.com/forum/index.php?topic=45420.0