JulioHerrlein Posted February 10, 2021 Posted February 10, 2021 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 Quote
o_e Posted February 11, 2021 Posted February 11, 2021 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 JulioHerrlein 1 Quote
JulioHerrlein Posted February 11, 2021 Author Posted February 11, 2021 Thank you, Ole ! Yes, I tried searching this, but could not find. Best ! Julio Quote
JulioHerrlein Posted February 11, 2021 Author Posted February 11, 2021 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 Quote
o_e Posted February 11, 2021 Posted February 11, 2021 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..) JulioHerrlein 1 Quote
JulioHerrlein Posted February 11, 2021 Author Posted February 11, 2021 Thank you, Ole !! Now it works !! Even with PS ! It was the wrong path to the application folder !! GREAT !!!! BEst ! Julio Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.