java 双声道音频_在java中WAV幅度(立体声或多声道)

论坛 期权论坛 期权     
选择匿名的用户   2021-6-2 17:50   5647   0

Hi does anyone know how to find the amplitudes within a WAV file in Java? If the file was stereo (or has more channels) how can the data be put into arrays?

Thanks!

解决方案

Next trick is a bit more of a challenge as the internal data format could be a variety of data types. If you are looking at your classic windows WAV file, it is probably just PCM 16 bit or maybe 8 bit. Which, means, you can easily load the data into a byte or short array.

However, you will find other formats. When you know the type you have, google it. You'll find information for most.

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP