You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not able to get any sound from TAL-BassLine-101 if I try to set any parameters of the plugin.
To start, I demonstrate the plugin works fine from pedalboard:
frompedalboardimportPedalboard, load_pluginfrommidoimportMessage# not part of Pedalboard, but convenient!importtorchaudioimporttorchimportdawdreamerasdaw# Load a VST3 or Audio Unit plugin from a known path on disk:instrument=load_plugin("/Library/Audio/Plug-Ins/VST3/TAL-BassLine-101.vst3")
instrument.load_preset("presets-TAL_BassLine_101/Solidtrax/Piano/ST_Electric_Piano_01.vstpreset")
# Render some audio by passing MIDI to an instrument:sample_rate=44100audio=instrument(
[Message("note_on", note=60), Message("note_off", note=60, time=1)],
duration=2, # secondssample_rate=sample_rate,
)
torchaudio.save("pb1.wav", torch.tensor(audio*32767, dtype=torch.int16), sample_rate)
When you call synth.set_parameter the values should be between 0-1, but I'm not sure that's what instrument.__getattr__(p).raw_value is. Other than that, it looks correct, so there could be a bug.
I am not able to get any sound from TAL-BassLine-101 if I try to set any parameters of the plugin.
To start, I demonstrate the plugin works fine from pedalboard:
which gives us
pb1.webm
Now, let's load the plug-in using DawDreamer:
An error message is thrown:
but inspecting
synth.get_parameters_description()
suggests that the plug-in did load anyway (?!) and we do save audio:dd10.webm
However, if I trying setting the parameters to values between 0 and 1:
then the rendered output is silence:
dd11.webm
Even if I just try loading a .vstpreset:
again, the output is silence
dd12.webm
What am I doing wrong here?
The text was updated successfully, but these errors were encountered: