# Sending sound from particle photon to the phone

**URL:** <https://community.particle.io/t/sending-sound-from-particle-photon-to-the-phone/58931>\
**Category:** Cloud\
**Tags:** photon\
**Created:** [January 1, 2021, 3:23am UTC](https://community.particle.io/t/sending-sound-from-particle-photon-to-the-phone/58931 "2021-01-01T03:23:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssjNot2201](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@ssjNot2201](https://community.particle.io/u/ssjNot2201)\
**Post date:** [January 1, 2021, 3:23am UTC](https://community.particle.io/t/sending-sound-from-particle-photon-to-the-phone/58931/1 "2021-01-01T03:23:27Z")

</div>

I have seen those Walkie talkie posts!

I wanna send audio over the internet, but not to another particle device but to the phone instead.

Maybe thru the cloud? I want the particle photon to catch the audio and send it to the phone, so u can listen to it.

Thanks for all the help!

---

<div class="post-metadata">

**Author:** ![gusgonnet](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/gusgonnet/32/27491_2.png) [@gusgonnet](https://community.particle.io/u/gusgonnet)\
**Post date:** [January 2, 2021, 12:18am UTC](https://community.particle.io/t/sending-sound-from-particle-photon-to-the-phone/58931/2 "2021-01-02T00:18:14Z")

</div>

Hi, maybe this project can guide you?  
I’m wildly guessing that you will need some sort of tcp server on your phone…

> **[Sending sound over the internet!](https://www.hackster.io/middleca/sending-sound-over-the-internet-f097b4)**
>
> Broadcast audio, record voice commands, build internet walkie-talkies with this simple tutorial! By David Middlecamp.

---

<div class="post-metadata">

**Author:** ![ssjNot2201](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@ssjNot2201](https://community.particle.io/u/ssjNot2201)\
**Post date:** [January 2, 2021, 2:58am UTC](https://community.particle.io/t/sending-sound-from-particle-photon-to-the-phone/58931/3 "2021-01-02T02:58:10Z")

</div>

I have seen that one.  
so I need to create a Application for the phone? or can I set up a server for a phone? You have any links to this topic 😄?

---

<div class="post-metadata">

**Author:** ![gusgonnet](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/gusgonnet/32/27491_2.png) [@gusgonnet](https://community.particle.io/u/gusgonnet)\
**Post date:** [January 2, 2021, 4:07am UTC](https://community.particle.io/t/sending-sound-from-particle-photon-to-the-phone/58931/4 "2021-01-02T04:07:19Z")

</div>

No links, sorry

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [January 2, 2021, 7:27am UTC](https://community.particle.io/t/sending-sound-from-particle-photon-to-the-phone/58931/5 "2021-01-02T07:27:55Z")

</div>

The TCP server on your phone will only be accessible when the phone is connected via WiFi.  
When connected via the cell network the IP address will not be available to connect to.

If you had the Photon run the TCP server your phone would be able to connect to it as long you also setup some port forwarding on your WiFi router.

---

<div class="post-metadata">

**Author:** ![ssjNot2201](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@ssjNot2201](https://community.particle.io/u/ssjNot2201)\
**Post date:** [January 4, 2021, 9:18pm UTC](https://community.particle.io/t/sending-sound-from-particle-photon-to-the-phone/58931/7 "2021-01-04T21:18:08Z")

</div>

am only interested to make it thru the wifi.  
The photon will be in the house and I don’t need to hear it when I am outside the house. So I don’t need to make it work with 4G 😄

Can I get some tips or tutorial? Like how to setup a server for the phone? I guess it must some kind of socket programming?

Thank for help!

---

<div class="post-metadata">

**Author:** ![gusgonnet](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/gusgonnet/32/27491_2.png) [@gusgonnet](https://community.particle.io/u/gusgonnet)\
**Post date:** [January 4, 2021, 9:29pm UTC](https://community.particle.io/t/sending-sound-from-particle-photon-to-the-phone/58931/8 "2021-01-04T21:29:34Z")

</div>

here’s some code for that:

> <https://stackoverflow.com/questions/38162775/really-simple-tcp-client>

Also, here’s a world wide search you can use/refine to get more valuable answers to your current question:

> **[android tcp client - Google Search](https://www.google.com/search?q=android%2Btcp%2Bclient&oq=android%2Btcp%2Bcient&aqs=chrome.1.69i57j0i13i457j0i13l5j0i22i30.4536j0j7&sourceid=chrome&ie=UTF-8)**

Cheers,  
Gustavo.

---

<div class="post-metadata">

**Author:** ![ssjNot2201](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@ssjNot2201](https://community.particle.io/u/ssjNot2201)\
**Post date:** [January 5, 2021, 9:20pm UTC](https://community.particle.io/t/sending-sound-from-particle-photon-to-the-phone/58931/9 "2021-01-05T21:20:15Z")

</div>

thank you!  
so the photon will be a client and phone have server receiving sound from the client right?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/6/4/64635adccc35238caa19e9b553ec3e98b163d026.png) [@system](https://community.particle.io/u/system)\
**Post date:** [July 7, 2021, 9:20am UTC](https://community.particle.io/t/sending-sound-from-particle-photon-to-the-phone/58931/10 "2021-07-07T09:20:16Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
