bytedeco/javacv

Using soundtouch to change the tone will cause noise

Open

#1833 aperta il 30 giu 2022

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Java (1583 fork)batch import
help wantedquestion

Metriche repository

Star
 (6985 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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 image image

Guida contributor