Analog microphone improvements

This commit is contained in:
Phil Schatzmann 2021-04-28 18:12:29 +02:00
parent 0ab7696389
commit dac5ee8d4d
5 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@ void setup(void) {
// start the bluetooth
Serial.println("starting A2DP...");
a2dp_source.start("RadioPlayer", get_sound_data);
a2dp_source.start("MyMusic", get_sound_data);
}
// Arduino loop - repeated processing

View File

@ -1,6 +1,6 @@
# Stream SD File to A2DP Bluetooth
We are reading a raw audio file from the SD card and send it to a Bluetooth A2DP device. The audio file must be available using 16 bit integers with 2 channels.
We are reading a raw audio file from the SD card and send it to a Bluetooth A2DP device. The audio file must be available using 16 bit integers with 2 channels. [Audacity](https://www.audacityteam.org/) might help you out here...
![sd](https://pschatzmann.github.io/arduino-sound-tools/resources/sd-module.jpeg)

View File

@ -24,7 +24,7 @@ void setup(void) {
// start the bluetooth
Serial.println("starting A2DP...");
a2dp_source.start("RadioPlayer", get_sound_data);
a2dp_source.start("MyMusic", get_sound_data);
}
// Arduino loop - repeated processing

View File

@ -37,7 +37,7 @@ void setup(void) {
// start the bluetooth
Serial.println("starting A2DP...");
a2dp_source.start("RadioPlayer", get_sound_data);
a2dp_source.start("MyMusic", get_sound_data);
}
// Arduino loop - repeated processing

View File

@ -27,8 +27,8 @@ class ADCConfig {
friend class ADC;
// public config parameters
int sample_rate = 22000;
int dma_buf_count = 5;
int sample_rate = 44100;
int dma_buf_count = 10;
int dma_buf_len = 512;
bool use_apll = false;