On Saturday 12 January 2008, jimallyn wrote:

> I have all the volumes set in the MIDI Mixer in my file, but if I close the
> file and reopen it, the correct volumes aren't loaded.  The controls in
> MIDI Mixer are in the right positions, but the correct volume isn't
> actually set unitl I move the control slightly.  How can I get Rosegarden
> to set the volumes correctly on opening a file?

This really is quite odd, isn't it?  At first, I was sure there was a bug 
here, and I started filing this report:

  Prompted by a post on the user list, I investigated.

  Start KMidiMon.

  Start a new doc and route the top playback device to KMidiMon for
  observation.  (Note, when I just did this, Rosegarden would never pick up on
  KMidiMon, even when I routed it externally, so I had to quit Rosegarden and
  start over to get it to recognize KMidiMon.)

  Go into the MIDI mixer and turn all the volumes down.  Observe the messages
  in KMidiMon.  Save the file with all volumes down.

  Go into KMidiMon and stop capture.  Quit and restart Rosegarden.  Restart
  capture in KMidiMon (File -> New, then hit the capture button), then load
  the file into Rosegarden.  (Doing it in this order weeds out any extra stuff
  Rosegarden does during startup, and only shows what happens when you load
  the file.)

That's where I stopped, because when I did this, KMidiMon showed a stream of 
controller 7 data 0 messages.  Setting all the volumes down to 0, just like 
you would expect.

  3585,129:3,Control change,3,7,0
  3583,129:3,Control change,2,7,0
  3583,129:3,Control change,1,7,0

So Rosegarden seems to be trying to do the right thing, and there's no bug 
here, right?

Except.  Now I go back to the MIDI manager and put this top device back to 
playing out my UM-2 MIDI 1 port, to my Sound Canvas.  Save the file connected 
this way.

Close and restart Rosegarden.  Load the file.

Now when I operate the controls on my Sound Canvas to look at the parts, all 
the volumes are set at 100, with no change at all.  (This is all true for pan 
too, the same way, working as displayed by KMidiMon, but not by the screen on 
my hardware synth, but I'm focusing only on volume to keep things simple.)

That's damn strange.  I repeated the whole experiment, and watched the LEDs on 
the USB MIDI dongle this time.  There was a very short flash of green when I 
loaded the file.  Could it be that Rosegarden transmitted a big gob of 
controller change data too fast for the synth to receive it?  This seems 
unlikely.

Now I'm going to repeat this experiment, introducing program changes.  I 
changed the first four tracks to use programs 1, 2, 3, 4 respectively.  
First, with KMidiMon again.

This time, I got a program change on channel 4, but only channel 4.  The 
program didn't change for any other track until I made that track active.  
Then the program change showed up in KMidiMon.

Set it all back up for the Sound Canvas again.  None of the volumes were 
received, and I only got the program change on channel 4.  This much is 
consistent.

Backing up some, with either KMidiMon or my Sound Canvas as the target, all 
the program changes do fire when I hit play.

But the volume changes never get to my Sound Canvas unless I go jiggle the 
knobs by hand.  Never.

That probably explains why I can remember having to dick around with my MIDI 
mix so often.  I bet this has been true for ages.

I think I will file this bug after all.


https://sourceforge.net/tracker/index.php?func=detail&aid=1870001&group_id=4932&atid=104932

-- 
D. Michael McIntyre 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to