bytedeco/javacv
View on GitHubUsing soundtouch to change the tone will cause noise
Open
#1,833 opened on Jun 30, 2022
help wantedquestion
Repository metrics
- Stars
- (6,985 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Hello, author. I have successfully transplanted SoundTouch to Android, and I want to achieve a player that supports tune-changing and unvariable speed. I use FFMPEG in JavacV to decode audio, and then play PCM data through AudioTrack after obtaining PCM data. However, when I use SoundTouch for audio modulation, my audio is two-channel, and I set soundTouch to stereo mode, but it plays with noise. If I set SoundTouch to mono, I don't have this problem, but there is a slight hum when I lower the pitch. Do you know what the problem is ?
Here is my sample program
