@ -25,9 +25,16 @@ ready to be used for T3.x and T4.x. There are some restrictions, particularly t
Notes
Notes
-----
-----
1 - The USB_Audio_F32.h includes all the functions needed to use USB audio for input and output. However, it is not in the OpenAudio_ArduinoLibrary.h as would be expected. To use this class, add "#include USB_Audio_F32.h" to the INO file and before compiling, go to the IDE Tools>USB Type and set the radio button to "Audio." This should then compile without error. Also, using this class requires some amount of I16 audio memory, such as a line in the top of the INO, "AudioMemory(10);"
1 - The USB_Audio_F32.h includes all the functions needed to use USB audio for input and output.
2 - This library generally supports changing sample rates within the range of the Codec hardware being used.
However, it is not in the OpenAudio_ArduinoLibrary.h as would be expected. To use this class,
See Examples/PassthroughF32/PassthroughF32.ino. In addition, be aware that classes that need speed scaling such as waveform generators and filters must be modified
add "#include USB_Audio_F32.h" to the INO file and before compiling, go to the
IDE Tools>USB Type and set the radio button to "Audio." This should then compile without error.
Also, using this class requires some amount of I16 audio memory, such as a line in the top of
the INO, "AudioMemory(10);"
2 - This library generally supports changing sample rates within the range of the Codec hardware
being used. See Examples/PassthroughF32/PassthroughF32.ino. In addition, be aware that classes that
need speed scaling such as waveform generators and filters must be modified
individually using built-in functions such as
individually using built-in functions such as
AudioSynthWaveformSine_F32::setSampleRate_Hz(float &fs_Hz). Also, see
AudioSynthWaveformSine_F32::setSampleRate_Hz(float &fs_Hz). Also, see