cac-t-u-s / om-sharp-users

A public forum for support / issues / suggestions about OM#
3 stars 0 forks source link

How to add the head-extra, text-extra in polys #57

Open charlesneimog opened 2 years ago

charlesneimog commented 2 years ago

Hi,

Is it possible to add extras in poly?

If I just add voices (up) in polys (down), all the extras disappear.

image

Thank you again!

j-bresson commented 2 years ago

That really loos like a bug! Can you attach your patch ? Thanks

charlesneimog commented 2 years ago

Yes,

Original = new-musicxml.zip

Adaption because om-py will not work on Mac: new-musicxml-bug.zip

Thank you Jean!

j-bresson commented 2 years ago

Sorry this doesn't really help: just "adding voices to poly" seem top preserve the extras:

Screenshot 2022-03-08 at 20 29 45

or is there something else I can not see here ?

j-bresson commented 2 years ago

.. I think I git something though: it seems like copying the chords from a voice to another voice does loos extras. 🤔

charlesneimog commented 2 years ago

Weird, because here it does not work.

Sorry this doesn't really help: just "adding voices to poly" seem top preserve the extras: Screenshot 2022-03-08 at 20 29 45 or is there something else I can not see here ?

image

charlesneimog commented 2 years ago

On ubuntu this do not work too.

image

j-bresson commented 2 years ago

Yes, this is what I just realized: your patch has chord-seq objects at the top, not voice. With voice it doesn't work indeed.

charlesneimog commented 2 years ago

Ah ok, I am sorry!

j-bresson commented 2 years ago

Unrelated question: why do your MIDi channel have such values? Is it a mistake or do you use it for anything specific?

Screenshot 2022-03-08 at 20 57 48
charlesneimog commented 2 years ago

I am using to work with orchidea-instruments object, in the library OM-CKN.

With this high channel I can specify some pathnames and then make some music using extended techniques of the SOL-instruments using the score.

The next step is to specify the channels using the voice extras (that's why I saw this bug), and just import musicxml and render.

Example piece = https://www.youtube.com/watch?v=zq8eIPoCfFk Example II = https://youtu.be/Plmj1MEyS1s?t=936

Because of that (too) I asked you to add put all the voice values if you implement the OSC player :)...

But I have no problem with this hack, just when I play the voice (of course!).

charlesneimog commented 2 years ago

Exactly!

j-bresson commented 2 years ago

Exactly!

Sorry I removed my previous comment :) I said this would also break the display of durations (because they pick a color from 1 to 16).

j-bresson commented 2 years ago

Hey Charles, I think the extra thing is fixed in om# 1.6. Let me know if everything works as you expect!

charlesneimog commented 2 years ago

Hi Jean,

Yes, it is working very well!

image

Thank you for all the work in OM-Sharp!