Jump to content

Featured Replies

Posted

Dear Friends,

Is there some way to automatically open XML files from Opusmodus to other application (Musescore, Sibelius) ?

Some code to open this (or keyword).

Best,

Julio

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

  • Author

Thank you, Ole !

Yes, I tried searching this, but could not find.

Best !

Julio

  • Author

 

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

 

 

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..)

  • Author

Thank you, Ole !!

Now it works !! Even with PS !

It was the wrong path to the application folder !!

 

GREAT !!!!

BEst !

Julio

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

Create an account or sign in to comment


Copyright © 2014-2025 Opusmodus™ Ltd. All rights reserved.
Product features, specifications, system requirements and availability are subject to change without notice.
Opusmodus, the Opusmodus logo, and other Opusmodus trademarks are either registered trademarks or trademarks of Opusmodus Ltd.
All other trademarks contained herein are the property of their respective owners.

Powered by Invision Community

Important Information

Terms of Use Privacy Policy