Skip to content

Commit

Permalink
dont use MIDI
Browse files Browse the repository at this point in the history
  • Loading branch information
Datseris committed Nov 9, 2019
1 parent 51a2c4b commit d2f4901
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/musescore.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export musescore

using MIDI, DefaultApplication
using MusicManipulations, DefaultApplication

const MUSESCORE = @static Sys.iswindows() ? "MuseScore3" : "mscore"
# const MUSESCORE_EXISTS = [false]
Expand Down Expand Up @@ -32,12 +32,11 @@ output to `file`. By default it will also display the created `file`,
which can be either a `.pdf` or a `.png`. The function must first create a MIDI file
(uses the same name as `file`). You can choose to delete it afterwards (`rmmidi`).
MuseScore must be accessible from the command line. In Windows try `MuseScore -v` to
ensure that, otherwise `mscore -v`.
MuseScore must be accessible from the command line.
In Windows try `MuseScore -v` to ensure that, otherwise `mscore -v`.
If given a `.png` the actual file name will end with `-1`, `-2` etc.
for each page of the score. Notice that MuseScore must be accessible from the
command line for this function to work.
for each page of the score.
"""
function musescore(file, notes; display = true, rmmidi = false)

Expand Down

2 comments on commit d2f4901

@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/5229

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.1.0 -m "<description of version>" d2f490141de618b1c8bddb230308dc7fd191e20a
git push origin v0.1.0

Please sign in to comment.