< Back to IRCAM Forum

Midi into OM

Hi all,

I’m trying to re-create the midi patch I have here to mirror what I’ve produced in notation software, but I can’t seem to figure out how to add the time signature [((5 8) (3 4))] to the voice object? Am I approaching this the wrong way?

OM-Quantify makes it look… hideous… :slight_smile:

Best,

Hamish
Untitled Project 4 - Full score - Flow 1.mid (274 Bytes)
Midi_Thematic_Development.omp (333 Bytes)

Dear Hamish,

Unfortunately your patch is empty…
However i suspect that using ldurs as durations along with nktree is not accurate at all.
Please do send a valid patch.

Best
K

Hi Karim,

Please find attached patch. Does this work?

Best,
H
Midi_Thematic_Development 2.omp (44.7 KB)

Dear Hamish,

Yes this is better.

I don’t know what you want to do exaclty starting from the midifile, however first of all, the use of mktree is wrong in this situation. Better use this strategy:

midi_thematic_development 3.omp (25.8 KB)

Even better if we “clean” up side effects of the rests in the midifile that will induce unnecessary rest quantification (right patching).

But if your intention is to import a score starting from an application (Finale, Sibelius, etc…) better use the musicxml format.

Best
K

1 Like

Hello all dear OMers,

I would like to intervene, more than to give a real solution to what hjemadden has exposed, to have a comparison on how I thought to obtain the writing of the metric indications through the import of MIDI files.
I attach both the patch and the screen, thanks in advance for your support; if it should also be useful for the original question, so much the better.

Good continuation,
neo

midi2om_with_timesig.omp (69.1 KB)

1 Like

Hi Karim,

Many thanks! How would this patch work with MusXML? How can I use a musXML file to separate pitch & rhythm, to alter them separately, before combining them back together?

Dear Hamish,

In your question two different aspects.

  1. Using musicxml files are straight forward. It it just a format for export/import from to OpenMusic to/from other score applications. It far more precise than a midifile since midifiles could be quantified

  2. Pitch/rhythm separation is yet another question. There are many ways to do so, Can you be more explicit, ie can you tell us what you want to do exactly?

Best
K

Hello everyone,

I hope I’m not disturbing you with my intrusion. If I understood the hjemadden issue, that is, loading a score (musicxml in this case) and manipulating its pitches and rhythms to then recompose a new score, could this patch be a simple case study?

Best regards and good continuation to everyone!

neo

manipulate_xml.omp (52.7 KB)

Dear Neo,

No your contributions are always welcomed. It’s just to understand the needs of Hamish and I think the real question here is about workflow.
It depends what you have at the beginning with which software etc…
Concerning my personal workflow i use OM then lilypond then import back when necessary into OM all this using omlily library. But this case is personal as stated. So it depends ot the needs of each one.
And thank you a lot for your contribs.

Best
K

1 Like

Dear Karim,

My workflow is to produce material in score in Dorico, then import into OM to manipulate it, mainly using the profile library.

I hope this helps!

Best, H

In this case, I advise you not to use midi as an inter-exchange material. You will loose all symbolic rhythmical material such as timesignatures, tuplets, etc. The best is to use the musicxml format. I think Dorico has this feature. Then you can import it in a VOICE or POLY object in OM. There, you can work on pitch/rhythmic material and then export back in musicxml format again into Dorico for typesetting.

You just have to be careful with dynamics. They are exported/imported correctly but you should define your own corresponding symbolic “levels” in om preferences (Score tab).

That is mainly my workflow, But I use instead of Dorico, Lilypond using as inter-exchange format the lilypond format.

I hope this helps.

Best regards.

Karim

1 Like