开发者

Android: Switching noise in SoundBoard

开发者 https://www.devze.com 2023-02-01 05:54 出处:网络
I am developing a Soundboard application. I use MediaPlayer to Play Ogg sound files. Now when I switch from one sound to another sound, I get a noise similar to the ones heard while switching radio st

I am developing a Soundboard application. I use MediaPlayer to Play Ogg sound files. Now when I switch from one sound to another sound, I get a noise similar to the ones heard while switching radio stati开发者_如何学JAVAons. I do not want this noise. How to eliminate it? Any Ideas? Thank You


Probably a silly answer but try adjusting the volume level to the lowest possible before making the switch, then resetting back to the user's original level when completed - sorry.


I found out. It was because of the conversion of the files from mp3 to ogg. MP3 files were of higher bitrate and when converted to ogg ended up in the loss of quality which resulted in the noise.

0

精彩评论

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