rcrath / wvtbl

Wavetable processor
GNU General Public License v3.0
0 stars 0 forks source link

Divide by zero warning #47

Closed rcrath closed 2 months ago

rcrath commented 2 months ago

problem with the test we put in for debugging. explore.

Interpolating...
E:\Dropbox\audio\wavetables\create\j_wvtblr.py:156: RuntimeWarning: divide by zero encountered in log10
  if 20 * np.log10(abs(sample_value)) > -40:
Error: In file flange220_20240914_121441_fit.wav, sample 446464 is not rising. Current value: 0.0, Previous value: 0.0
Error: In file flange220_20240914_133517_fit.wav, sample 446464 is not rising. Current value: 0.0, Previous value: 0.0
Error: In file flange220_20240914_141001_fit.wav, sample 446464 is not rising. Current value: 0.0, Previous value: 0.0