What is a channel in a .wav file format?Do all channels play simultaneaously when a wav file is played?

本小妞迷上赌 提交于 2019-11-27 17:45:57

问题


I read about.wav file format by googling,all I could figure was that Frames are made of samples(of some defined bit depth) and a wav stereo file has a multiple of something called channels.... The confusion is whether a channel is made up of frames? Do all channels play along when I play some audio file? If a channel is made up of frames,are all channels equal in length(bit wise)? Please answer if someone can,I have to display each channel separately when playing a wav file in waveform


回答1:


In each frame in wav there are channels. If you have stereo sound, then each frame contains two samples (left and right).

  • Do all channels play along when I play some audio file?

Yes, unless you chose to play only one channel. Then samples for second channel are ignored.

  • If a channel is made up of frames,are all channels equal in length(bit wise)?

Yes.



来源:https://stackoverflow.com/questions/13995936/what-is-a-channel-in-a-wav-file-formatdo-all-channels-play-simultaneaously-whe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!