On 6/13/2012 1:27 PM, Aere Greenway wrote:
I have come up with a way for you to reproduce the problem on your
system.  

  Wow.  Thanks for all this.  I'll see if I can squeeze some time in on this soon.  That repeating error message was related to the quantizer getting confused with notes of certain durations.  (At least the last time I worked on it, this is what the issue was.)  So I think the quantizer is a bit fragile and may be the culprit here.

  Here's my email that I drafted a while ago detailing the tests that I performed.  No crash, but I did verify the problem with recording multiple channels and hearing the wrong instruments:

================
While testing with two keyboards on different channels, I was able to verify one of Aere's observations.  In rg 11.11.42, if you have two keyboards, each set to a different channel, and recording on different tracks.  And if you have a different instrument on each track (e.g. piano and organ), you will hear a different instrument from each keyboard *while recording*.  While in "stop" mode, you will hear the instrument of the currently selected track for both keyboards.

Fast-forward to the latest svn, and the behavior is different while recording.  Instead of each keyboard playing its track's instrument, they both play the currently selected instrument (like when stopped).

Here are the steps to reproduce for those with only a single hardware MIDI keyboard:

1. Launch jack and fluidsynth.  (I use a script that I wrote for this.
   See "My Audio Script" at http://tedfelix.com/linux/linux-midi.html)
2. Connect hardware MIDI keyboard as usual.  Set it for MIDI channel 1.
3. Launch vmpk (the software MIDI keyboard) and set to channel 2.
4. Launch rg.
5. Make sure both MIDI keyboards are in Studio > Manage MIDI Devices.
6. In the "Recording Filters" in the Track Parameters box, set track 1
   to record from channel 1 and track 2 from channel 2.
7. Set instrument 2 to an organ to make it obviously different from
   the piano in track 1.
8. Arm tracks 1 and 2.
9. Press record.
10. Play on both keyboards.

With 11.11.42, the hardware keyboard on channel 1 will make piano sounds.  The software keyboard on channel 2 will make organ sounds. With the latest svn, both keyboards sound like either piano or organ depending on which track is currently selected.

Seems to me that the old behavior is more useful and we should try and get it back.
================

  Additionally, when recording to two channels, notes were dropped on channel 2.  This sounds similar to what you were describing.

  I think we've got three or four rather serious bugs to track down.  I'll move these to the top of my list for when I have some time.  We should probably open some bug reports to track these.  Feel free to do that if you want.

  If Tom has some time, he should be able to fix the problem with multiple channels all making the same sound when recording.  Although it might be a bit tricky.

Ted.