cython-vst-loader
cython-vst-loader copied to clipboard
Get render audio as a float array
Hi, I tested the script on doc/usage_examples.md
and it loads my VST plugin without any errors.
Now, I would like to send a MIDI message to this VSTi
plugin and get back the rendered audio as a Python float array
.
To do that, I tried:
event = VstNoteOnMidiEvent(3, 60, 100, 1)
plugin.process_events([event])
plugin.process_replacing([], [right_output, left_output], buffer_size)
print(right_output)
But the documentation says that right_output
is just an integer
that represents the pointer
, right?
So, how can I get the output audio?
Thank you,
My System:
- Windows 10 x64
- Python 3.9