Yeah: nothing wrong here.
Now for the real problem. Consider the code cell below:
import matplotlib.pyplot as plt
import time
import soundfile as sf
import numpy as np
Plugin.reset()
for name in ["dampen","decay","early","mix","size","width"]:
setattr(Plugin,name,Plugin.parameters[name].valid_values[-1])
Plugin.early = Plugin.parameters["early"].valid_values[-1]
impulse, sr = sf.read("impulse24.wav")
zero = [0 for _ in range(len(impulse))]
impulse_R = np.stack([zero,impulse]).T
impulse_L = np.stack([impulse,zero]).T
left_ir = Plugin.process(impulse_L,sr,reset=True)
right_ir = Plugin.process(impulse_R,sr,reset=True)
plt.subplot(2,1,1)
plt.plot(left_ir)
plt.xlim(0,20000)
plt.ylim(-1,1)
plt.subplot(2,1,2)
plt.plot(right_ir)
plt.xlim(0,20000)
plt.ylim(-1,1)
now, we run this twice. For best visibility, I chose to use a 24-bit mono near-unit impulse signal as impulse24.wav.
The first time you run the above cell, this is what you get: imageThe second time you run the above cell, this is what you get: image
I expected the two outputs to be the same, but this does not seem to be the case! Therefore I would like some help. Thank you!
Whoops, issue isn't reproducible with plugins like Fabfilter Pro-R or Softube TSAR-1R. I'll just close this. Sorry for posting without confirming first!
I am on Windows.
pedalboard.__version__
gives 0.5.8. I am running this on Jupyter Notebook,ipykernel.__version__
is 5.5.5, if it helps.The bug is as my title explains: parameter changes do not affect the
Process
call coming immediately after.To reproduce this bug, please first download kiloHearts Reverb here (it's free). (I'm not sure if this bug exists with other plugins.)
this gives:
Yeah: nothing wrong here. Now for the real problem. Consider the code cell below:
now, we run this twice. For best visibility, I chose to use a 24-bit mono near-unit impulse signal as
impulse24.wav
.The first time you run the above cell, this is what you get: image The second time you run the above cell, this is what you get: image
I expected the two outputs to be the same, but this does not seem to be the case! Therefore I would like some help. Thank you!