【问题标题】:changing pitch of an sound file and save to mp3 file更改声音文件的音高并保存为 mp3 文件
【发布时间】:2016-01-12 08:17:55
【问题描述】:

改变音高:

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);

如何保存文件?

【问题讨论】:

    标签: android audio mp3 soundpool


    【解决方案1】:

    我认为您无法使用 SoundPool 执行此操作,因为它不允许您在字节级别上工作。我想你想看看使用AudioTracks.

    【讨论】:

      猜你喜欢
      • 2022-10-18
      • 1970-01-01
      • 2022-11-14
      • 1970-01-01
      • 2013-09-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多