signalwire / freeswitch

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
https://freeswitch.com/#getting-started
Other
3.46k stars 1.39k forks source link

mod_soundtouch not working at all #649

Open avimar opened 4 years ago

avimar commented 4 years ago

FreeSWITCH (Version 1.10.3 -release-15-129de34d84 64bit)

I have an mp3 file playing back, and also tried by converting it to a wav with sox. Same results.

While playing back an mp3 or wav, I tried the following commands:

Play faster and adjust pitch, so it doesn't sound deep or like a chipmunk:
soundtouch 03c48e28-0aaf-4354-a034-8b97ca321416 start true 0.5t
soundtouch 03c48e28-0aaf-4354-a034-8b97ca321416 start true 1.3t

Adjust pitch:
soundtouch 03c48e28-0aaf-4354-a034-8b97ca321416 start true -4s
soundtouch 03c48e28-0aaf-4354-a034-8b97ca321416 start true +4s

(The "true" is to trigger on the other channel. If you leave that out, it presumably changes my audio, and I can't hear anything different.)

All I hear is it sounds like it's getting spaced out. But the pitch doesn't change, the tempo isn't changing. It's just getting a buggy sound of stuttering.

The issue is at least since Feb 1st, 2019? https://www.reddit.com/r/freeswitch/comments/am5pve/mod_soundtouch/

avimar commented 4 years ago

Ah -- my main interest is for rate speed up from soundtouch: making it faster or slower with the deep voice or chipmunk. The patch at #244 if working would address that.