Re: [Rosegarden-user] New ALSA port matching algorithm
On 8/1/20 3:16 AM, Malhaire Christophe wrote: It works perfectly (see enclosed file), well done. Glad to hear it. Hopefully everyone else is happy with it as well. Haven't heard any complaints yet. I think it's better this way. Thus, if for one reason or another a device is not correctly detected (because it is switched off, or because a usb cable is defective ...) the corresponding track will not send data anywhere ("no connection" is preferable to "wrong connection"). Agreed. - "40:0 Streichfett MIDI 1 (duplex)" "40:0 Streichfett MIDI 1 (duplex)" Final score: 75 - "36:0 XV-5050 MIDI 1 (duplex)" "32:0 XV-5050 MIDI 1 (duplex)" Final score: 75 I wonder why the "Final score" indicator has the same value (75) in both cases? I would have thought that the score would be higher in the first case because the objective/source strings are equal, right?While in the second case we have 36 different from 32. The client numbers (36 and 32) are ignored. This was one of the reasons the old algorithm would get so confused. It would give very high priority to the client number. That's really not a good idea as the client numbers are pretty random. The client numbers are still used to make sure the device class (internal/hardware/software) matches, and if they don't, the comparison isn't even done. That's one reason why you might see some with no score at all. The code's pretty easy to read now. See AlsaDriver::setPlausibleConnection(): https://sourceforge.net/p/rosegarden/code/15895/tree/trunk/rosegarden/src/sound/AlsaDriver.cpp#l1274 Comments appreciated. Thanks for helping with this. Let me know if you run into anything else. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Repeatable crash :(
Ok, should be fixed in [r15899]. I'm not too happy as I'm not 100% sure what is going on to cause this problem. It appears that a mysterious refresh is invalidating the item pointer. Anyway, should be solid enough. Ted. On 8/1/20 9:33 AM, Ted Felix wrote: On 8/1/20 2:41 AM, Will Godfrey wrote: However one thing that's different is that when getting the crash I opened the segment in the first bar and left the entry of the initial CC at zero. then when changing time just incrementing it with the arrows so it's steps of 60. Got it. It is crashing for me now. Specifically the issue is most noticeable in EventView::slotPopupEventEditor() where the Segment pointer becomes NULL before the creation of the EventEditCommand which then tries to use the null Segment pointer. I will continue digging. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Repeatable crash :(
On 8/1/20 2:41 AM, Will Godfrey wrote: However one thing that's different is that when getting the crash I opened the segment in the first bar and left the entry of the initial CC at zero. then when changing time just incrementing it with the arrows so it's steps of 60. Got it. It is crashing for me now. Specifically the issue is most noticeable in EventView::slotPopupEventEditor() where the Segment pointer becomes NULL before the creation of the EventEditCommand which then tries to use the null Segment pointer. I will continue digging. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] midi commands from Rosegarden
It would be nice to read it, sounds like what I need, but the link does not work Thanks On 2020-08-01 03:37, dgenon--- via Rosegarden-user wrote: On 31/07/20 03:46, liebrecht@... wrote: it possible to send cujstom midi commands to a specific controller from Rosegarden once a track is selected.. I was able to add undefined control codes in Rosegarden to drive the portamento of ZynAddSubFx. If this is the operation you want to do, I wrote an article in this French "LinuxMao" site, here: http://linuxmao.org/Zynaddsubfx+-+%C3%A9changes+MIDI+avec+Rosegarden. voir le paragraphe : -Entrer de nouveaux codes contrôles dans RoseGarden- -Enter new control codes in RoseGarden.- I hope you will find a clue there. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] midi commands from Rosegarden
On 31/07/20 03:46, liebrecht@... wrote: it possible to send cujstom midi commands to a specific controller from Rosegarden once a track is selected.. I was able to add undefined control codes in Rosegarden to drive the portamento of ZynAddSubFx. If this is the operation you want to do, I wrote an article in this French "LinuxMao" site, here: http://linuxmao.org/Zynaddsubfx+-+%C3%A9changes+MIDI+avec+Rosegarden.;>http://linuxmao.org/Zynaddsubfx+-+%C3%A9changes+MIDI+avec+Rosegarden. voir le paragraphe : -Entrer de nouveaux codes contrôles dans RoseGarden- -Enter new control codes in RoseGarden.- I hope you will find a clue there. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Repeatable crash :(
Interesting. If I do exactly the same, I don't get a crash either. However one thing that's different is that when getting the crash I opened the segment in the first bar and left the entry of the initial CC at zero. then when changing time just incrementing it with the arrows so it's steps of 60. That's sort-of automatic for me, because it is how I usually place startup CCs and NRPNs. Done like this I get a crash every time. > I can't reproduce this. Perhaps my procedure is incorrect? Here's >what I'm doing: > >- Launch rg. >- Left-click to drop a segment. >- Press "E" to launch the event editor. >- Press "I" to insert an event. >- Event Type: Controller >- Absolute Time: 7680 >- Controller Number: 7 >- Controller Value: 100 >- Ok >- Begin Loop > - Right-click the event and select "Open in event editor". > - Add a little to Time, Number, and Value. > - Ok >- End Loop, repeat several times > > Am I doing something wrong? > >Ted. > >On 7/31/20 4:57 PM, Will Godfrey wrote: >> I seem to have identified this while using Rosegarden to send test CCs to >> Yoshimi. >> >> Open a new Rosegarden document and display the matrix editor. >> >> Create an empty track segment (I just right click on a track). >> >> Using the event editor create a new controller and fill in any values. >> >> Keep changing these including time, without saving, and after 5 or 6 changes >> Rosegarden exits! >> >> If you save the file after each edit, it never crashes. >> > > >___ >Rosegarden-user mailing list >Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe >https://lists.sourceforge.net/lists/listinfo/rosegarden-user -- Will J Godfrey http://www.musically.me.uk Say you have a poem and I have a tune. Exchange them and we can both have a poem, a tune, and a song. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user