开发者

AMR - how to upsample

开发者 https://www.devze.com 2023-02-15 15:44 出处:网络
How can I upsample AMR audio data. The am开发者_Python百科r file consists of 6 bytes header - \"!#AMR\".getBytes() and after that there are frames 32bytes each with 1 byte header and 31bytes audio. Ho

How can I upsample AMR audio data. The am开发者_Python百科r file consists of 6 bytes header - "!#AMR".getBytes() and after that there are frames 32bytes each with 1 byte header and 31bytes audio. How am I supposed to upsample it? I read about linear interpolation but I am not sure how to apply it here. Should I interpolate between different frames or between bytes in a frame or something else? Any help will be highly appreciated :)


You need to convert your AMR data to a raw PCM buffer, do the resampling on the PCM buffer, and then optionally convert back to AMR.

0

精彩评论

暂无评论...
验证码 换一张
取 消