c++ - 如何将采集的声音实时回传到PC?
伊谢尔伦
伊谢尔伦 2017-04-17 13:52:00
0
2
628

目前有个需求,是想通过录音设备,将采集到声音通过无线的方式实时回传到PC,然后由PC来显示声音波形的变化,请问如何实现?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
阿神

is divided into two questions:

  1. 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.

  2. 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.

刘奇

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!