Tag Archives: Ctypes

Annoucement: PyVST 0.1

I am pleased to announce the first release of PyVST.
PyVST is a ctypes-based wrapper for the (open) VST standard developed by Steinberg for audio processing.

Version 0.1 provides basic access to the VST interface, as well as a script to analyze and display the audio process of a plugin. It can be easy-installed or downloaded on its Launchpad page.

Changelog for 0.1:

  • Uses the VST dispatcher for several functions:
    • processReplacing
    • processDoubleReplacing
    • open/close the plugin
    • open/close the GUI editor
    • returns the GUI rectangle
    • set the sample rate
    • set the block size
    • get name/vendor/product
    • handle programs
    • handle parameters
    • suspend/resume
  • set/get a parameter
  • get number of programs
  • get number of inputs
  • get number of outputs
  • display.py script
    • can load any plugin
    • displays the editor, if it exists
    • uses a stereo sine-sweep
    • displays a spectrogram of the process of the stereo sine-sweep
    • dumps properties information
Buy Me a Coffee!
Other Amount:
Your Email Address:

PyVST: another ctypes-based Python VST wrapper

In a previous post, I’ve tried to use Qt for the editor window of a VST plugin. The thing is, I want to do more than just play with a GUI, I also want to see what is done to an audio stream by a plugin.

To do so, I’ve decided to expose the VST interface to Python. There are some implementation I’ve heard of, but they are based on Cython or other wrapping tools. Ctypes has the advantage of not needing a compilation step. There are also every functionality needed, as callback creation (plugins use a callback to ask the host some stuffs), and Python provides the additional mathematical tools to display what the plugin does. It may not be perfect, but it will be enough for a starter.
Continue reading PyVST: another ctypes-based Python VST wrapper