Hi, when running the python with the following simple coding, I receive an error on an invalid type for the backend parameter. would somebody be able to help me?
Thanks a lot, Thimo
Coding:
from mididings import *
config(backend = 'alsa'),
run(Transpose(3))
This is the error coming up:
Traceback (most recent call last):
File "/home/pi/Python scripts/test.py", line 2, in <module>
config(backend = 'alsa'),
File "<decorator-gen-1>", line 2, in config
File "/usr/local/lib/python2.7/dist-packages/mididings/arguments.py", line 88, in wrapper
a = _try_apply_constraint(self.kwargs_constraints[k], v, f.__name__, k)
File "/usr/local/lib/python2.7/dist-packages/mididings/arguments.py", line 103, in _try_apply_constraint
raise type(ex)(message)
TypeError: invalid type for parameter 'backend' of config():
expected one of (), got str