encode binary to audio python or C

前端 未结 4 2054
甜味超标
甜味超标 2021-02-06 05:33

using C or python (python preferred), How would i encode a binary file to audio that is then outputted though the headphone jack, also how would i decode the audio back to binar

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-06 06:13

    If you're looking for a library that does this, I'd recommend libquiet. It uses an existing SDR library to perform its modulation, and it provides binaries that will offer you a pipe at one end and will feed the sound right to your soundcard using PortAudio at the other. It has GMSK for "over the air" low bitrate transmissions and QAM for cable-based higher bitrate.

提交回复
热议问题