Re: [Rosegarden-user] midi commands from Rosegarden

2020-07-31 Thread liebrecht

I will make it simple.

1) I have a Motif XS8 synth or any other synt e.g
2) I have a midi lookup table by which I can send midi commands I have 
to the synth to change the patches on the synth. (e.g from piano to 
flute or whatever).

3) I have Rosegarden tracks each that has recorded synth midi in them.
4) Each track however requires a different patch on the synth for 
playback


What I require is
1) When I solo one of the midi tracks in Rosegarden, then Rosegarden 
should sen my supplied midi commands to the synth so that the track is 
played back on the synth with the correct patch change on the synth.


More simple I cannot describe it.

Can Rosegarden be configured to send such track dependent predefined 
midi commands unique for each track to the synth?


Obviously this must be done on a separate midi connection from the 
standard Rosegarden midi which plays back midi tracks flawlessly on my 
synth.


At the moment I have to go select the correct patch on the synth if I 
want to play back a track .. cumbersome.





On 2020-07-31 02:56, Lorenzo Sutton wrote:

On 31/07/20 03:46, liebre...@grossmann-venter.com wrote:
Is it possible to send cujstom midi commands to a specific controller 
from Rosegarden once a track is selected?


It would be great if I select a track in Rosegarden and it can then 
send the midi data to my Motif XS8 to select the required patch.


All I want to know if custom Midi commands to a specified midi 
controller can be sent from Rosegarden. I will program the rest to get 
it to work on Motif.


What exactly do you mean by MIDI 'commands'? Are these MIDI 
controllers? SysEx?


Rosegarden can definitely send controllers.

Lorenzo.



Thanks.


___
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] Build oddity

2020-07-31 Thread Ted Felix

  Just pushed the fix as [r15896].

Ted.

On 7/31/20 1:33 PM, Will Godfrey wrote:

Thanks for getting back to me so quickly.
NULL gave the same result, but item.reset() worked fine.
Sorry I took so long letting you know but my 'office' is right under the roof
and it became way too hot to even walk in the room today :(

Will.

On Fri, 31 Jul 2020 08:35:24 -0400
Ted Felix  wrote:


   The line in question is this:

   item = nullptr;

   It's not the compiler, it's the version of Qt you are using.  Prior
to 5.8, QSharedPointer didn't handle nullptr.

   Removing that line will simply leak memory.

   It can be fixed by changing it to NULL, or doing it the shared_ptr way:

   item.reset();

   I will fix this for the future.

   See also [r15476].

Ted.

On 7/31/20 7:01 AM, Will Godfrey wrote:

I have two machines, the older one with gcc 6.3.0 and the newer one running
gcc 8.3.0.

On the newer one rosegarden build 15895 compiles without issues, but on the
older one I get a mismatch type failure at:
rosegarden-15895/src/gui/rulers/PropertyControlRuler.cpp line 265

If I comment this line out the build completes and the image *seems* to run
OK, but I've no idea of the implications.
   



___
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 :(

2020-07-31 Thread Ted Felix
  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


[Rosegarden-user] Repeatable crash :(

2020-07-31 Thread Will Godfrey
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.

-- 
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


Re: [Rosegarden-user] midi commands from Rosegarden

2020-07-31 Thread Will Godfrey
On Fri, 31 Jul 2020 08:56:29 +0200
Lorenzo Sutton  wrote:

>On 31/07/20 03:46, liebre...@grossmann-venter.com wrote:
>> Is it possible to send cujstom midi commands to a specific controller 
>> from Rosegarden once a track is selected?
>> 
>> It would be great if I select a track in Rosegarden and it can then send 
>> the midi data to my Motif XS8 to select the required patch.
>> 
>> All I want to know if custom Midi commands to a specified midi 
>> controller can be sent from Rosegarden. I will program the rest to get 
>> it to work on Motif.  
>
>What exactly do you mean by MIDI 'commands'? Are these MIDI controllers? 
>SysEx?
>
>Rosegarden can definitely send controllers.
>
>Lorenzo.

... and it lets you build up NRPNs as discrete CCs

-- 
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


Re: [Rosegarden-user] Build oddity

2020-07-31 Thread Will Godfrey
Thanks for getting back to me so quickly.
NULL gave the same result, but item.reset() worked fine.
Sorry I took so long letting you know but my 'office' is right under the roof
and it became way too hot to even walk in the room today :(

Will.

On Fri, 31 Jul 2020 08:35:24 -0400
Ted Felix  wrote:

>   The line in question is this:
>
>   item = nullptr;
>
>   It's not the compiler, it's the version of Qt you are using.  Prior 
>to 5.8, QSharedPointer didn't handle nullptr.
>
>   Removing that line will simply leak memory.
>
>   It can be fixed by changing it to NULL, or doing it the shared_ptr way:
>
>   item.reset();
>
>   I will fix this for the future.
>
>   See also [r15476].
>
>Ted.
>
>On 7/31/20 7:01 AM, Will Godfrey wrote:
>> I have two machines, the older one with gcc 6.3.0 and the newer one running
>> gcc 8.3.0.
>> 
>> On the newer one rosegarden build 15895 compiles without issues, but on the
>> older one I get a mismatch type failure at:
>> rosegarden-15895/src/gui/rulers/PropertyControlRuler.cpp line 265
>> 
>> If I comment this line out the build completes and the image *seems* to run
>> OK, but I've no idea of the implications.
>>   
>
>
>___
>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


Re: [Rosegarden-user] Build oddity

2020-07-31 Thread Ted Felix

On 7/31/20 8:35 AM, Ted Felix wrote:

   Removing that line will simply leak memory.


  Actually, it will not leak memory.  It appears as if it will always 
select the last item.  Whatever it might do, it's easily fixed with reset().


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] Build oddity

2020-07-31 Thread Ted Felix

  The line in question is this:

  item = nullptr;

  It's not the compiler, it's the version of Qt you are using.  Prior 
to 5.8, QSharedPointer didn't handle nullptr.


  Removing that line will simply leak memory.

  It can be fixed by changing it to NULL, or doing it the shared_ptr way:

  item.reset();

  I will fix this for the future.

  See also [r15476].

Ted.

On 7/31/20 7:01 AM, Will Godfrey wrote:

I have two machines, the older one with gcc 6.3.0 and the newer one running
gcc 8.3.0.

On the newer one rosegarden build 15895 compiles without issues, but on the
older one I get a mismatch type failure at:
rosegarden-15895/src/gui/rulers/PropertyControlRuler.cpp line 265

If I comment this line out the build completes and the image *seems* to run
OK, but I've no idea of the implications.




___
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] Build oddity

2020-07-31 Thread Will Godfrey
I have two machines, the older one with gcc 6.3.0 and the newer one running
gcc 8.3.0.

On the newer one rosegarden build 15895 compiles without issues, but on the
older one I get a mismatch type failure at:
rosegarden-15895/src/gui/rulers/PropertyControlRuler.cpp line 265

If I comment this line out the build completes and the image *seems* to run
OK, but I've no idea of the implications.

-- 
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


Re: [Rosegarden-user] midi commands from Rosegarden

2020-07-31 Thread Lorenzo Sutton

On 31/07/20 03:46, liebre...@grossmann-venter.com wrote:
Is it possible to send cujstom midi commands to a specific controller 
from Rosegarden once a track is selected?


It would be great if I select a track in Rosegarden and it can then send 
the midi data to my Motif XS8 to select the required patch.


All I want to know if custom Midi commands to a specified midi 
controller can be sent from Rosegarden. I will program the rest to get 
it to work on Motif.


What exactly do you mean by MIDI 'commands'? Are these MIDI controllers? 
SysEx?


Rosegarden can definitely send controllers.

Lorenzo.



Thanks.


___
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