Jump to content
Sign in to follow this  
Andy

Music xml import, convert to Score?

Recommended Posts

I have converted many of my scores made in Notion to music xml in order to display them in the Assistant..which is very nice indeed.

 

I'm wondering if I can convert those xml scores to an Opusmodus score direct or do I have to re-import them as midi? I see I can go the other way..xml to Notion, but cannot find how to go this way or if it's possible.

 

Thanks

Share this post


Link to post
Share on other sites

That's great to hear Janusz, thanks.

Share this post


Link to post
Share on other sites
On 1/14/2019 at 5:51 PM, opmo said:

At the moment you can't convert musicxml file into omn score.
But it is in our TODO list.

Looking forward to this. Now I´m trying to get some Ravel Piano scores onto OMN to make some tweaks.

Share this post


Link to post
Share on other sites
14 minutes ago, Stephane Boussuge said:

That is the main and most important point on the todo list i'm waiting for !

 

SB.

Heavy pressure by Monsieur Boussuge !😂😂😂

Indeed, really important and time saver for the composer.

This would let us  import stuff, maintaining the attributtes (dynamics, markings) of existing scores.

All the best !

Julio

Share this post


Link to post
Share on other sites

> That is the main and most important point on the todo list i'm waiting for !

 

I would also welcome this greatly, but I also understand that it might be tricky to realise when implemented from scratch, as MusicXML is a large standard.

 

This project could become much much smaller when using some library that already has some  good MusicXML support. For example, one could use the pretty mature MusicXML import of music21 (http://web.mit.edu/music21/) and then use music21 + Python to generate OMN (e.g., an event list as output by Opusmodus' single-events). I did something similar once, that is rather easy to do and not such a big project. Python libraries can be called from Common Lisp using py4cl (https://github.com/bendudson/py4cl/). I tested py4cl in Opusmodus, it works. For example, all OMN generation could be done in a custom Python module, and py4cl is then used for just calling that. It seems the music21 licence would allow for that (https://github.com/cuthbertLab/music21/blob/master/music21/license.txt).

 

 

Any Opusmodus user with a little bit of Python knowledge (which is rather easy for a Lisp programmer, see https://norvig.com/python-lisp.html) and some time could to that in principle 

🙂

 

 

Best,

Torsten

 

Share this post


Link to post
Share on other sites

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.

Sign in to follow this  

  • Similar Topics

    • By opmo
      How to save last score (or last snippet) to midi-file in a given location:
      (compile-score *last-score* :output :midi :file "path/filename")  
    • By torstenanders
      Common Music (CM) is another interesting composition system (http://commonmusic.sourceforge.net), and a recent revision of the old CM version 2 (https://github.com/ormf/cm), which was still implemented in Common Lisp (in contrast to later versions defined in Scheme) can be loaded into and used alongside Opusmodus 1.2 without problems. This was possible primarily due to a largely revised load mechanism of the old CM sources.  
       
      With the new Opusmodus 1.3 this is not possible any more. It seems the problem is caused by the fact that :CLM (and a number of variants) are still added to *features*, but there is no CLM package anymore. I cannot see the Opusmodus sources, but I assume that all CLM definitions have been added directly to the Opusmodus package. Anyway, due to the present feature CM assumes that CLM is there, but then cannot find its package. 
       
      Anyway, I found a way around (by changing the relevant feature expressions from #-clm into #-(and clm (not opusmodus)) and will try to have that included in the relevant CM sources at https://github.com/ormf/cm
       
      Best,
      Torsten
       
    • By Jorvd
      Since the tempo slot in DefScore only takes integers, what would be the best way to get a more natural playback tempo?
      I'm using this method now but it doesn't sound very smooth. 
      (setf tempo-4 (make-tempo (vector-round 58 61 (gen-white-noise 12)) left :type :length)) ;Left is the output of an assemble-seq I've also tried things like this:
      (setf tempo-2 '(("Mixed Tempi" q :accel 60 62 1/32 2) ("Mixed Tempi" q :accel 62 60 1/32 2) (:rit 60 64 1/32 12))) But most of it sounds either too intentional or too clunky, I just want the tempo to very slightly meander. Thanks in advance for the advice!
×
×
  • Create New...