Skip to content

Communication

Phil Schatzmann edited this page Mar 20, 2024 · 29 revisions

You can transmit audio information over a wire or (e.g. if you have an ESP32) wirelessly. It is important that you make sure that the transmitted amount of audio data is below the transmission capacity of the medium (e.g. by limiting the channels, the sample rate or the bits per sample).

For a sample rate of 44100 with 2 channels and 16 bit data you need to be able to transmit faster then 44100 * 2 channels * 2 bytes = 176400 bytes per second. In serial communication with a stop bit this gives 176400 * 9 = 1'587'600 bps!

You should also consider to use one of the many supported CODECs to decrease the transmitted amount of data!

Clone this wiki locally