arduino-libraries / Arduino_AdvancedAnalog

Advanced Analog Library
GNU Lesser General Public License v2.1
8 stars 5 forks source link

Streaming to G711 #79

Closed edwardruthven closed 1 month ago

edwardruthven commented 1 month ago

Hi, I am battling to workout the parameter settings required for Arduino Advanced Analog.

// Resolution, sample rate, number of samples per channel, queue depth.
if (!adc1.begin(AN_RESOLUTION_16, 8000, 32, 64)) {
  Serial.println("Failed to start analog acquisition!");
  while (1);
}

All I know is Ulaw is 14 bit signed and Alaw is 13 bit signed - so what do I use from above. Also what should I use for samples per channel and queue depth?

per1234 commented 1 month ago

Hi @edwardruthven. Thanks for your interest in this open source project. This issue tracker is only to be used to report bugs or feature requests specific to the project. This topic is more appropriate for the Arduino Forum. I'm sure we will be able to help you out over there:

https://forum.arduino.cc/