Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
charlesneimog opened this issue Mar 8, 2022 · 14 comments
Open

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

charlesneimog opened this issue Mar 8, 2022 · 14 comments

Comments

@charlesneimog
Copy link

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
Copy link
Member

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

@charlesneimog
Copy link
Author

Yes,

Original = new-musicxml.zip

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

Thank you Jean!

@j-bresson
Copy link
Member

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
Copy link
Member

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

@charlesneimog
Copy link
Author

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
Copy link
Author

On ubuntu this do not work too.

image

@j-bresson
Copy link
Member

j-bresson commented Mar 8, 2022

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
Copy link
Author

Ah ok, I am sorry!

@j-bresson
Copy link
Member

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
Copy link
Author

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
Copy link
Author

Exactly!

@j-bresson
Copy link
Member

j-bresson commented Mar 9, 2022

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
Copy link
Member

j-bresson commented Mar 26, 2022

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

@charlesneimog
Copy link
Author

Hi Jean,

Yes, it is working very well!

image

Thank you for all the work in OM-Sharp!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants