Page 1 of 1

Resample - sample rate is out of range

Posted: Wed Mar 08, 2023 3:12 pm
by ribeirojaque
The bug is in source rate and destiny rate. I have a signal that is an array, but when I put other values in these variables the code "works" (I don't know that the resample is right, but the code doesn't present bugs).

For example, if I put:
src_rate = 44100 and dest_rate = 48000.

I don't know what happened

the code:
code.png
code.png (22.05 KiB) Viewed 1777 times
the variables
variables.png
variables.png (15.15 KiB) Viewed 1777 times
the erro
erro.png
erro.png (5.63 KiB) Viewed 1777 times