Closed j-bresson closed 2 years ago
If I could suggest something,
One option that would not just solve the problem of MIDI but some others is to open a new inlet with extras-data
. I initially thought this was the function of the extras
inlets. Instead of using the lchan
to define pathnames
(In my use and compositional things), I could use the extras-data
.
In this extra inlet, the user could define things like ties
cited on #102. Of course, the render function will not do anything with this informations.
I know this comment has a very personal bias rsrs.
This is what extras are for, in principle. Maybe they're just not flexible enough?
For your case (pathnames) couldn't you just use TEXT-EXTRA
?
Hmmm, I had not understood that! I am sorry.
For some reason, I was thinking that all data in "extra inlet" was related with render something in the score.
Sorry again!
Yes, the text-extra is rendered in the score (as a text attached to a given score element). But you can also use it to hold some information... Does it work for you now?
Yes, it works!
Just one question, if I use some class like my-extras
and add it in extras inlet
. Could it provide some problem? Or the functions to draw the score will always ignore it?
It should be no problem. Have you tried?
Yes, it works!
So, sorry for my comment. I had not understood the extras inlet.
1ff2368825321a3201779a3ff33a959980e24737
Or prevent from setting them.
Currently it is possible to set any number through the inputs, but then so,e draw functionality crash (like drawing durations, or anything requiring the MIDI channel color)