目前有个需求,是想通过录音设备,将采集到声音通过无线的方式实时回传到PC,然后由PC来显示声音波形的变化,请问如何实现?
阿神2017-04-17 13:54:00
is divided into two questions:
Transmit sound wirelessly to PC?
Bluetooth headset, I bought the cheapest one from Taobao and disassembled it, then modified it according to the project requirements.
Waveform changes?
The waveform itself is not difficult, and it is not a spectrum but requires FFT. The main purpose is to study how to use the API provided by the operating system to read microphone input.
怪我咯2017-04-17 13:54:00
The sound is collected in a format similar to PCM, with sampling rate, sampling channel and other parameters. You can use a coder such as G.711 or G.729 that specializes in audio processing to compress the audio data, and then Encapsulate the audio through RTP and transmit it back to the computer, then decode and play it