mirror of
https://github.com/pschatzmann/arduino-audio-tools.git
synced 2024-09-21 10:27:27 +00:00
Analog microphone improvements
This commit is contained in:
parent
0ab7696389
commit
dac5ee8d4d
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user