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

Wrong character in wildcard pool throws confusing parsing error #5

Open
jamshark70 opened this issue Feb 7, 2018 · 0 comments
Open
Labels

Comments

@jamshark70
Copy link
Owner

(
BP(\x).free;
PR(\abstractLiveCode).chuck(BP(\x), nil, (
	defaultParm: \degree,
	parmMap: (degree: (isPitch: true)),
));
)

/x = "\ins("", "*", 16, 0.25)";  // OK, but...

/x = "\ins("", ".", 16, 0.25)";

ERROR: Message 'item' not understood.
RECEIVER:
   Character 46 '.'

".", for a pitched parameter, is read as an articulation pool string, not an item string -- which is incompatible with item strings.

The fix, I think, will be for generators to publish expectations about inputs. Bigger fix than I can do right now.

@jamshark70 jamshark70 added the bug label Feb 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant