How to edit raw PCM audio data without an audio library?

后端 未结 5 684
囚心锁ツ
囚心锁ツ 2020-12-16 04:00

I\'m interested in precisely extracting portions of a PCM WAV file, down to the sample level. Most audio modules seem to rely on platform-specific audio libraries. I want

5条回答
  •  不知归路
    2020-12-16 04:33

    Seems like a combination of open(..., "rb"), struct module, and some details about the wav/riff file format (probably better reference out there) will do the job.

    Just curious, what do you intend on doing with the raw sample data?

提交回复
热议问题