标签: android audio mp3 soundpool
改变音调:
soundPool = new SoundPool(50, AudioManager.STREAM_MUSIC, 0); /** Sound ID for Later handling of sound pool **/ soundId = soundPool.load(this, R.raw.sounds, 1);
播放:
streamId = soundPool.play(soundId, 1, 1, 1, 3, pitch);
如何保存文件?
答案 0 :(得分:0)
我认为你不能用SoundPool做到这一点,因为它不允许你在字节级工作。我想你想研究一下AudioTracks.