You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am providing a simple integration for [Mozzi](https://sensorium.github.io/Mozzi/). Unfortunatly I needed to make some small changes to make things work together. Those can be found in my [fork](https://github.com/pschatzmann/Mozzi).
4
+
5
+
We can send the output via TCP/IP or UDP. In this example I am using UDP:
6
+
7
+
....
8
+
9
+
UDPStream out; // UDP Output - A2DPStream is a singleton!
10
+
11
+
// connect to WIFI
12
+
WiFi.begin("wifi", "password");
13
+
while (WiFi.status() != WL_CONNECTED){
14
+
Serial.print(".");
15
+
delay(500);
16
+
}
17
+
18
+
// We send the sound via UDP
19
+
IPAddress ip(192, 168, 1, 255);
20
+
out.begin(ip, 9999);
21
+
....
22
+
23
+
24
+
25
+
On the other side we can use netcat to play the sound
26
+
....
27
+
nc -u 192.168.0.255 9999|play –c 1 –b 16 –e signed –t raw –r 44k -
0 commit comments