Skip to content

add a stub for a "Render Score" button - #1

Open
AlexKnauth wants to merge 4 commits into
mkolosick:masterfrom
AlexKnauth:lang-button
Open

AlexKnauth wants to merge 4 commits into
mkolosick:masterfrom
AlexKnauth:lang-button

Conversation

@AlexKnauth

Copy link
Copy Markdown

This PR defines #lang music-lang/lib/score <file>

Where previously you would write #lang s-exp "form.rkt", you can write #lang music-lang/lib/score "form.rkt", and a file written in that #lang in DrRacket will have a "Render Score" button.

Currently that button's action callback does nothing, but if you can access the score value from the module (similar to how Scribble accesses the doc value) from within the render-score-action function in lib/score/lang/button.rkt, then we could render it as an image or a MusicXml file or something.

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

Successfully merging this pull request may close these issues.

1 participant