@@ -24,15 +24,15 @@ As “Audio Sources” we will have e.g.:
24
24
- Generated Sound – [ GeneratedSoundStream] ( https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_generated_sound_stream.html )
25
25
- Mobile Phone A2DP Bluetooth – [ A2DPStream] ( https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_a2_d_p_stream.html )
26
26
- Binary Data in Flash Memory – [ MemoryStream] ( https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_memory_stream.html )
27
- - SD Files
27
+ - Any other Arduino Classes implementing Streams: SD, Ethernet etc
28
28
29
29
As “Audio Sinks” we will have e.g:
30
30
31
31
- external DAC – [ I2SStream] ( https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_i2_s_stream.html )
32
32
- an Amplifier – [ AnalogAudioStream] ( https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_analog_audio_stream.html )
33
33
- Bluetooth Speakers – [ A2DPStream] ( https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_a2_d_p_stream.html )
34
34
- Serial to display the data as CSV – [ CsvStream] ( https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_csv_stream.html )
35
- - SD Files
35
+ - Any other Arduino Classes implementing Streams: SD, Ethernet etc
36
36
37
37
Here is an simple example which streams a file from the Flash Memory and writes it to I2S:
38
38
@@ -93,22 +93,22 @@ Here are a couple of simple test sketches to demo different output destinations:
93
93
94
94
And some more useful examples:
95
95
96
- - [ streams-memory_raw-i2s] ( examples/streams-memory_raw-i2s_external_dac ) - Play music form Flash Memory via I2S to External DAC
96
+ - [ streams-memory_raw-i2s] ( examples/streams-memory_raw-i2s ) - Play music form Flash Memory via I2S to External DAC
97
97
- [ streams-url_raw-serial] ( /examples/streams-url_raw-serial ) Displaying a music file from the internet on the Serial Plotter
98
- - [ streams-url_raw-I2S_external_dac .ino] ( /examples/streams-url_raw-I2S_external_dac.ino ) Streaming a File from the Internet to on external DAC via I2S
98
+ - [ streams-url_raw-I2S .ino] ( /examples/streams-url_raw-i2s ) Streaming a File from the Internet to on external DAC via I2S
99
99
- [ streams-mozzi-a2dp] ( /examples/streams-mozzi-a2dp ) Use Mozzi to generate Sound to be sent to a Bluetooth Speaker
100
100
101
101
... these are just a few examples, but you can combine any Input Stream with any Output Stream as you like...
102
102
103
103
#### Basic API
104
104
105
- - [ base-adc-serial] ( examples /base-adc-serial) - Sample analog sound and write it to Serial
106
- - [ base-adc-a2dp] ( examples /base-adc-a2dp) - Sample analog sound and write it to a A2DP Bluetooth source
107
- - [ base-file_raw-serial] ( examples /base-file_raw-serial) - Read Raw File from SD card to and write it to Serial
108
- - [ base-file_raw-a2dp] ( examples /base-file_raw-a2dp) - Read Raw File from SD card write it A2DP Bluetooth
109
- - [ base-file_mp3-a2dp] ( examples /base-file_mp3-a2dp) - Stream MP3 File from SD card to A2DP Bluetooth using the ESP8266Audio library
110
- - [ base-i2s-serial] ( examples /base-i2s-serial) - Sample digital sound and write it to Serial
111
- - [ base-i2s-a2dp] ( examples /base-i2s-a2dp) - Sample analog sound and write it to a A2DP Bluetooth source
105
+ - [ base-adc-serial] ( basic-api /base-adc-serial) - Sample analog sound and write it to Serial
106
+ - [ base-adc-a2dp] ( basic-api /base-adc-a2dp) - Sample analog sound and write it to a A2DP Bluetooth source
107
+ - [ base-file_raw-serial] ( basic-api /base-file_raw-serial) - Read Raw File from SD card to and write it to Serial
108
+ - [ base-file_raw-a2dp] ( basic-api /base-file_raw-a2dp) - Read Raw File from SD card write it A2DP Bluetooth
109
+ - [ base-file_mp3-a2dp] ( basic-api /base-file_mp3-a2dp) - Stream MP3 File from SD card to A2DP Bluetooth using the ESP8266Audio library
110
+ - [ base-i2s-serial] ( basic-api /base-i2s-serial) - Sample digital sound and write it to Serial
111
+ - [ base-i2s-a2dp] ( basic-api /base-i2s-a2dp) - Sample analog sound and write it to a A2DP Bluetooth source
112
112
113
113
114
114
@@ -117,7 +117,7 @@ And some more useful examples:
117
117
Dependent on the example you might need to install some of the following libraries:
118
118
119
119
- [ ESP32-A2DP Library] ( https://github.com/pschatzmann/ESP32-A2DP ) to support A2DP Bluetooth Audio
120
- - [ ESP8266Audio] ( ) to play different audio Formats
120
+ - [ ESP8266Audio] ( https://github.com/earlephilhower/ESP8266Audio ) to play different audio Formats
121
121
- [ SD Library] ( https://www.arduino.cc/en/reference/SD ) to read and write files.
122
122
- [ arduino-fdk-aac] ( https://github.com/pschatzmann/arduino-fdk-aac ) to encode or decode AAC
123
123
- [ Mozzi] ( https://github.com/pschatzmann/Mozzi ) A sound synthesis library for Arduino
0 commit comments