Git Product home page Git Product logo

pyvst's Introduction

My attempt at hosting VSTs using ctypes.

Running in Docker

make build
make run
pytest tests --verbose

Check out the example in examples/simple_host.py.

pyvst's People

Contributors

simlmx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

peppy0510 hq9000

pyvst's Issues

TypeError: argument of type 'NoneType' is not iterable

I'm trying to run yout simple_host.py, but I got this error message below:

 C:/Users/nyck/AppData/Local/Programs/Python/Python39/python.exe c:/Users/nyck/Desktop/pyvst/examples/simple_host.py
Traceback (most recent call last):
  File "c:\Users\nyck\Desktop\pyvst\examples\simple_host.py", line 2, in <module>
    from pyvst import SimpleHost
  File "C:\Users\nyck\AppData\Local\Programs\Python\Python39\lib\site-packages\pyvst\__init__.py", line 1, in <module>
    from .vstplugin import VstPlugin
  File "C:\Users\nyck\AppData\Local\Programs\Python\Python39\lib\site-packages\pyvst\vstplugin.py", line 8, in <module>
    from wurlitzer import pipes
  File "C:\Users\nyck\AppData\Local\Programs\Python\Python39\lib\site-packages\wurlitzer.py", line 39, in <module>
    libc = ctypes.CDLL(None)
  File "C:\Users\nyck\AppData\Local\Programs\Python\Python39\lib\ctypes\__init__.py", line 364, in __init__
    if '/' in name or '\\' in name:
TypeError: argument of type 'NoneType' is not iterable
  • Windows 10 x64
  • Python 3.9

OSError: exception: access violation reading

This issue is a continuation of #2

Installing the pyvst package:

cd [go to the pyvst root folder]
pip install .

Running the simple_host.py example:

python3 .\examples\simple_host.py 'C:\Program Files\Steinberg\VstPlugins\TAL-Elek7ro-II.dll'

Terminal output:

Traceback (most recent call last):
  File "C:\Users\nyck\Desktop\pyvst\examples\simple_host.py", line 37, in <module>
    main(args.vst)
  File "C:\Users\nyck\Desktop\pyvst\examples\simple_host.py", line 15, in main
    host = SimpleHost(vst_filename, sample_rate=48000.)
  File "C:\Users\nyck\AppData\Local\Programs\Python\Python39\lib\site-packages\pyvst\host.py", line 75, in __init__
    self.load_vst(vst_filename)
  File "C:\Users\nyck\AppData\Local\Programs\Python\Python39\lib\site-packages\pyvst\host.py", line 109, in load_vst
    self.vst.resume()
  File "C:\Users\nyck\AppData\Local\Programs\Python\Python39\lib\site-packages\pyvst\vstplugin.py", line 57, in resume
    self._dispatch(AEffectOpcodes.effMainsChanged, value=1)
  File "C:\Users\nyck\AppData\Local\Programs\Python\Python39\lib\site-packages\pyvst\vstplugin.py", line 65, in _dispatch
    output = self._effect.dispatcher(byref(self._effect), c_int32(opcode), c_int32(index),
OSError: exception: access violation reading 0x0000000000000006

What am I doing wrong?

My system:

  • Windows 10 x64
  • Python 3.9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.