Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error if scene init_patch is not a list #20

Open
noedigcode opened this issue Jun 30, 2016 · 3 comments
Open

Error if scene init_patch is not a list #20

noedigcode opened this issue Jun 30, 2016 · 3 comments

Comments

@noedigcode
Copy link

When assigning a scene's init_patch, a TypeError occurs upon running mididings if the init_patch is not a list.
i.e. This raises an error:
run(scenes={ 1:Scene('myScene',Pass(), Pass() ) })
while this does not:
run(scenes={ 1:Scene('myScene',Pass(), [Pass()] ) })
Notice the second Pass(), which is the init_patch.

I am not sure whether this is desired behaviour since it is not clear from the documentation.

@stefets
Copy link

stefets commented Mar 26, 2018

I tried to make the init_patch working on my Edirol SD-90 and I'm unable. So i found your post and tried the init patch as a list and I observe no changes.

@MaurizioB
Copy link

@stefets I just tried and cannot reproduce the original issue. Unfortunally, @noedigcode didn't specify what kind of error was raised, if you can be more explicit about yours (and provide a bit of context) maybe we can help.

@stefets
Copy link

stefets commented Mar 27, 2018

For my bug, I just fixed it yesterday, I was using Output in init_patch and, by design, it cant works. Using a single parameter or a list is the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants