Skip to content

Commit

Permalink
increment default dpi of musescore
Browse files Browse the repository at this point in the history
  • Loading branch information
Datseris committed Feb 14, 2020
1 parent 2b6ddfe commit 170b08d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MusicVisualizations"
uuid = "8e838768-4b4f-4130-9d6d-43f7b35ca0d6"
repo = "https://github.com/JuliaMusic/MusicVisualizations.jl.git"
version = "0.2.2"
version = "0.2.3"

[deps]
DefaultApplication = "3f0dd361-4fe0-5fc6-8523-80b14ec94d85"
Expand Down
8 changes: 5 additions & 3 deletions src/musescore.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ variable (ask Google)).
The keyword `display = true` will also display the created `file`.
Keyword `rmmidi = true` deletes the MIDI file that has to be created inbetween
score convertion (use `false` to keep it).
MuseScore is run by default with commands `c = \`-n -T 10\``, but you can
change the keyword `c` to be whatever you want.
MuseScore is run by default with commands `c = \`-n -T 10 -r 1200\``, but you can
change the keyword `c` to be whatever you want, see the
[command line options](https://musescore.org/en/handbook/3/command-line-options)
of MuseScore for details.
"""
function musescore(file, notes;
display = true, rmmidi = true, c = `-n -T 20`
display = true, rmmidi = true, c = `-n -T 20 -r 1200`
)

lowercase(file[end-3:end]) (".png", ".pdf") || error("file must be .pdf or .png.")
Expand Down

2 comments on commit 170b08d

@Datseris
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/9491

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.3 -m "<description of version>" 170b08dcbf2cf29766b47b1d8338b6eb128852c1
git push origin v0.2.3

Please sign in to comment.