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

Add --music command line input switch to lilypond / lyp compile #47

Closed
noteflakes opened this issue Jan 12, 2017 · 0 comments
Closed

Add --music command line input switch to lilypond / lyp compile #47

noteflakes opened this issue Jan 12, 2017 · 0 comments

Comments

@noteflakes
Copy link
Collaborator

Add --music/-M (--music-relative/-m for relative mode) switch that allows entering music directly on the command line. Some examples:

# absolute mode
$ lilypond -M "c'4 d' e' f' g'1"
#=> compiles to a PDF with a random name

# -M/--music-relative - means \relative c'
$ lilypond -m "c4 d e f g1"

# produce a PNG snippet
$ lilypond -Sm "c4 d e f g1"

# set output file
$ lilypond -Sm "c4 d e f g1" -o my-snippet
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