Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用AudioRecord课堂录制我的声音,并且我正在使用AudioTrack
AudioRecord
AudioTrack
我怎样才能改变我的声音听起来像什么?
您可以使用 SoundPool 类:
https://developer.android.com/reference/android/media/SoundPool.html
例如,使用该setRate (int streamID, float rate)方法,您可以更改播放声音的速率。如果你提高速率,你会听起来像花栗鼠:-)
setRate (int streamID, float rate)