Posted February 10, 20214 yr 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
February 11, 20214 yr 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
February 11, 20214 yr Author Thank you, Ole ! Yes, I tried searching this, but could not find. Best ! Julio
February 11, 20214 yr 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
February 11, 20214 yr 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..)
February 11, 20214 yr Author Thank you, Ole !! Now it works !! Even with PS ! It was the wrong path to the application folder !! GREAT !!!! BEst ! Julio
Create an account or sign in to comment