On 2017-05-17 02:25 AM, Andrew Deryabin wrote:
>
> P.S. There is one more interesting question - how one can remove that
> saved controllers from the song and resave it? Only with `sed` ?
>
>
Sorry for late reply. There are two ways.

1: Open a pianoroll or drum editor
  on a part in a track which uses one of the ports and
  manipulate the control knob pane for each of those
  two controllers. Then, do the same for all the other 15
  channels.

2: Hand-edit the song file.

Yeah I know. Both are ugly. Fear not: After this fix
  it should remove them all - if you hit panic one time.
Meh, not good enough. I will also check on song load
  and try to silently IGNORE them from the file. These
  two are special and do not belong there.

About the fix: Well there's more to the story.
MusE needs to do some more stuff after those
  two messages are sent, to make sure its
  internal representation of ALL controllers
  is correct.

I thought of a few complications along the way.
Like... what happens if the user adds these controllers
  to the pianoroll/drum controller graphs, and then
  turns the knob - do we force it back to 'unknown' after.
And if they draw graphs on those controllers, well,
  we basically have to honour that. Unless we define
  a new flag for all controllers called 'One-shot'
  meaning user must 'toggle' the graph value
  or at least draw 'spikes' like the velocity spikes.

Also, after review I see the code that menu item
  Midi > Reset Instrument calls was overlooked when I
  did the zero-velocity note-on fixes a while ago.
I need to tidy it up.

Stay tuned. T.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to