Skip to content

Commit 95fab1b

Browse files
committed
Standard Mozzi
1 parent c1033fe commit 95fab1b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

examples/streams-mozzi-a2dp/README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Using Mozzi on Bluetooth
22

3-
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).
3+
I am providing a simple integration for [Mozzi](https://sensorium.github.io/Mozzi/).
44

55
A standard Sketch will need to combine the Audio-Tools with the Mozzi Logic:
66

@@ -70,5 +70,15 @@ void loop() {
7070
}
7171
```
7272

73-
That's all to output the generated sound to a Bluetooth Speaker...
7473

74+
### Mozzi Configuration
75+
76+
A2DP requires an audio rate of 44100. Therefore you need to make sure that you have the following settings in your ```mozzi_config.h```:
77+
78+
```
79+
#define AUDIO_RATE 44100
80+
#define MICROS_PER_AUDIO_TICK 1000000 / AUDIO_RATE
81+
```
82+
83+
84+
That's all to output the generated sound to a Bluetooth Speaker...

0 commit comments

Comments
 (0)