Jump to content

[SOLVED] Automatic opening XML files in Musescore (or Sibelius, etc)


Recommended Posts

Hi Julio,

 

For me it works like this:

(defun last-score-to-musescore ()
  (compile-score *last-score* :output :musicxml :file "temp-last-score")
  (musicxml-to-editor "temp-last-score" :application "/Applications/MuseScore.app"))

 

in the extensions folder and then calling:

(last-score-to-musescore)

 

It was shown in the forum long time ago, you can do a research..

 

hth

 

ole

Link to comment
Share on other sites

 

I´d like to know if this is possible with PS function output and also with the last snippet.

 

Here is the old post (it was before the advent of the marvellous preview score.

 

The ideal situation for me would be call musescore to open the last score, PS or snippet generated.

 

Ole, I got this error, doing your instructions

 

compile-score #<score preview>
musicxml-to-editor
#<external-process (/usr/bin/open -a /Applications/MuseScore.app ...)[522] (exited : 1) #x3020050EBABD>

 

I put the code you mentioned in extensions folder in the Source Code.lisp file, like this:

 

(defparameter *snippet-clef-default* :treble-down8)

(defun last-score-to-musescore ()
  (compile-score *last-score* :output :musicxml :file "temp-last-score")
  (musicxml-to-editor "temp-last-score" :application "/Applications/MuseScore.app"))

 

Best,

Julio

 

 

Link to comment
Share on other sites

Are you sure that your MuseScore lives in /Applications and is named 'MuseScore' and not 'Musescore 3' (or 'MuseScore 2' as your screenshot suggests)?

Maybe you need to change :

"/Applications/MuseScore.app" 

into

"/Applications/MuseScore\3.app"

 

 

Don't know what you are after exactly, but when I evaluate ps (with the numerical enter key) and  then call (last-score-to-musescore), ms opens that last evaluated score (btw you can look at the score by using the (rightclick-) context menu/ PPrint last Score, then it displays in the listener..)

Link to comment
Share on other sites

  • JulioHerrlein changed the title to [SOLVED] Automatic opening XML files in Musescore (or Sibelius, etc)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy