I want to know if Jami’s plugin Audio filter has the function of a voice changer?
I think it would be great if there was a voice change function during voice calls。
Unfortunately not.
filtergraph:
void
FilterAudioSubscriber::setFilterDescription(const int pSampleRate, const int pSamples, const int pFormat)
{
int rSamples = 1024; // due to afir internal fifo
int midSampleRate = pSampleRate * rSamples / pSamples;
std::string outFormat = av_get_sample_fmt_name((AVSampleFormat)pFormat);
filterDescription_
= "[ input ] aformat=sample_fmts=s16:sample_rates=" + std::to_string(midSampleRate)
+ ":channel_layouts=stereo [ resample1 ] , "
+ "[ resample1 ] [ ir0 ] afir=maxir=1:wet=10:dry=10:irgain=1:irfmt=mono:maxp="
+ std::to_string(rSamples) + ":minp=" + std::to_string(rSamples) + " [ reverb ] , "
+ "[ reverb ] aformat=sample_fmts=" + outFormat + ":sample_rates="
+ std::to_string(pSampleRate) + ":channel_layouts=stereo ";
}
1 Like
Also, it cannot be used on Android because Windows or Linux already have many voice changers, while Android does not