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

Smart interpretations #22

Open
natsguitar opened this issue Jul 11, 2023 · 1 comment
Open

Smart interpretations #22

natsguitar opened this issue Jul 11, 2023 · 1 comment

Comments

@natsguitar
Copy link
Member

natsguitar commented Jul 11, 2023

We want parseResult to update Exclusive and OTHER tandem interpretation fields, like Key.

I'll make it so certain functions (like pitch functions) have a drop argument, which causes them to return a table with any exclusives that need updating.

parseResult() will work with that...

@natsguitar
Copy link
Member Author

On the other end, We'd like it if the autoArgs insertion would insert the appropriate Exclusive interpretion for a call.

Right now, this doesn't work:

chorales <- readHumdrum(humdrumRroot, 'HumdrumData/BachChorales/chor00[5-7].*.krn')
  
 chorales <- within(chorales, Recip <- recip(Token))

 within(chorales, Pitch <- pitch(Token))

because Recip is selected, so we get pitch(Token, Exclusive = Pitch.Exclusive) (essentially), when we want Token.Exclusive.

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

1 participant