[Rosegarden-user] Add key change [WAS] Re: Testing Appreciated for 24.06

2024-06-04 Thread Lorenzo Sutton

On 04/06/2024 22:04, Ted Felix wrote:
   I have a feeling those messages in the output are not related to the 
issue.  I tried adding some key changes to a new document, and it worked 
fine.


   How often does the problem happen?


I think I found a possible culprit / criteria to trigger this:

- Create an empty segment in track 1
- Now *duplicate* that segment dragging it to track 2
- OR create another segment on another track

- All these segments are at measure 1

After this trying to add a key change on those segments seems to fail.

moving them around seems to 'unlock' this but randomly, as sometimes it 
doesn't.


TIn all cases where adding a key change fails the relevant message on 
the terminal seems to be:


Internal error in NotationTypes, Pitch::transpose()

Hope this helps
Lorenzo








Ted.

On 6/4/24 11:19 AM, Lorenzo Sutton wrote:

Hi Ted,

Very quick answer...

Actually this was on empty segments. The idea is like by default you
are in C major and already know you want to change key kind of
scenario, so no notes involved.

Two segments on two different tracks was the only common denominator.

Sorry if this isn't too helpful.

Lorenzo

On Tue, 4 Jun 2024 at 17:04, Ted Felix  wrote:


    I edited two segments and made a key change at every bar, but no 
luck

reproducing.  Probably because transposition might be involved and I had
no notes.

    The "internal error" message, if it is relevant, seems to indicate
that the transposition resulted in notes that were outside (below) the
MIDI note range.  Are you working with some really low notes?

    I think you might be able to insert the key change without
transposition then transpose separately?  That's probably really
inconvenient, but it might help determine whether it is the key change
or the transposition that is the problem.

    I'll keep trying to reproduce the message with some low notes and
some wild key changes.

    As for the other messages, those may have been caused by some
baseclass rearranging I did in response to warnings in the translation
stuff.  I sure hope not.  I'll take a closer look.

Ted.

On 6/3/24 5:56 AM, Lorenzo Sutton wrote:

Sorry for using the mailing list for this but it's on a bit of a
deadline project.

When trying to add a key change in notation editor nothing happens and
in the terminal I get this:

[NotationTool] NotationTool::findActionInParentView: Can't find
ActionFileClient in parent widget hierarchy
[NotationTool] NotationTool::invokeInParentView: No action "
"no_accidental" " found in parent view
Internal error in NotationTypes, Pitch::transpose()

It seems to happen randomly... I managed to "trigger" this by editing
two segments in the same notation editor window


On 08/05/2024 18:01, Ted Felix wrote:

Rosegarden 24.06 will be released on June 5.  Please test the latest
version in git as much as possible.  See the release notes for areas
that need testing:

https://www.rosegardenmusic.com/wiki/dev:24.06

   Let me know if you have any questions about the release notes and I
will elaborate.

   If you've not built Rosegarden before, give it a shot and let us
know if you run into trouble.  We'll walk you through it.  I've
written up instructions on the wiki that should help you through the
build process:

https://www.rosegardenmusic.com/wiki/dev:building_rosegarden_from_source

   To help out with 24.06 you can either download a source 
snapshot, or

use git to stay up to date with the latest.

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



___
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



___
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 Instrument creation script

2024-06-04 Thread Ted Felix
  Thanks.  I've added the Roland-SR-JV80-07.rgd file and pushed it to 
master.


> it's impossible within the same device
> to manage both Patches and Rhythm Sets for the same MSB.

  I suspect you may have found a bug, but I will need to spend some 
time getting my head around this stuff again.  I'll put it on my todo.


Ted.

On 5/31/24 6:49 PM, Olivier S. wrote:

Hello List,

For almost half a year, you'd think I was dead. But I'm not, even if 
this damn job is killing me without giving me time to think about my 
home studio.


First of all, thanks to Ted and Chuck for fixing the txt2rgb.py script, 
which works perfectly.


Then here's the missing peripheral file for the Roland SR-JV80-07 
extension (Super Sound Set) to which I've also included the percussion 
key mappings for the 8 Drum Sets.


According to my tests, both Patch banks and Rhythm Sets work, 
nevertheless with a limitation that I think is a Rosegarden bug, unless 
you can explain where I'm wrong: it's impossible within the same device 
to manage both Patches and Rhythm Sets for the same MSB. Rosegarden only 
accepts one bank with the same LSB, even if you check the percussion 
box, which I think is precisely designed to manage this conflict. At 
this stage, my only solution is to create two devices for my JV1080, one 
for patches on MIDI channels 1-9/11-16 and another specific to 
percussion on channel 10 to manage rhythm sets. Frustrating.
Following your reply, I'm going to update the JV1080 and the SR-JV80-09 
(Session) extension devices to include key mapping. Some users might be 
interested.


NB: I'm using version 20.12 of Rosegarden (Librazik 4 Distribution), 
which may explains why I may be encountering a problem that has been 
solved on more recent versions.


Olivier

Le 11/01/2024 à 10:21, chuck elliot a écrit :


I tested the pulled /txt2rgb/.py against input that was previously 
throwing the error:


/snd1    84    6    1    guitar
snd2    84    6    2    bass
snd3    84    7    1    drums
snd4    84    7    2    piano
/

and the device names were generated as intended "084-006" etc in the 
rgb file,


the MSB/LSB values lying as they do outside those defined as known XG 
Spec device names.


So I think all is ok.

Chuck.


On 10/01/2024 15:53, Ted Felix wrote:

Patch merged as [d501a6f3].  Please test latest git.

Ted.

On 1/10/24 9:05 AM, Ted Felix wrote:
   Thanks for finding that Chuck.  Can you make a patch so I can get 
this fix in?  Not a problem if not.  I'll make the change myself.


Ted.

On 1/8/24 12:14 PM, chuck elliot wrote:
It turns out that the "u"s in  line 299 of /txt2rgb.py/ are 
obsolete format


specifiers in Python. If you change these to  "d"s, the script 
should work as intended.


  i.e.

/name = f"{MSB:03d}-{LSB:03d}"/

instead of

/name = f"{MSB:03u}-{LSB:03u}"/

This should give you "084-006" and "084-007" as device names

in your RGB file.


Regards.


On 07/01/2024 3:20 pm, Olivier S. wrote:
Hello, Best whishes to you all, No one has got an idea or did I 
wrote to the wrong mailing list ? Thanks Le 29/12/2023 à 19:17, 
Olivier S. a écrit : Hello list ! I am a newcomer here, new to 
Rosegarde
*DuckDuckGo* did not detect any trackers. More 


Unable to verify sender identity

Report Spam 



Hello, Best whishes to you all,

No one has got an idea or did I wrote to the wrong mailing list ?

Thanks

Le 29/12/2023 à 19:17, Olivier S. a écrit :


Hello list !

I am a newcomer here, new to Rosegarden and Linux computer music 
in general.
For those old enough to know, I am coming from Cubase Score on 
Atari FALCON CLAB MKX.
I am learning Rosegarden and setting up my studio environment and 
wanted to prepare a MIDI Instrument definition to manage my 
Roland JV-1080 banks.
But I found the SR-JV80-07 - Super Sound Set Expansion Board 
Device file is missing.


Then  I tried to make it on my own, following Wiki information:

https://www.rosegardenmusic.com/wiki/dev:device_files#editing_with_the_gui

https://www.rosegardenmusic.com/resources/documents/rgd-HOWTO.shtml

I check the JV-1080 MIDI chart from Owner's Manual and here:

https://static.roland.com/assets/media/pdf/Jv1080sq.pdf

and found I should use (Board in expansion D) these settings.

MSB    LSB    PrgChg    Patchs
84     

Re: [Rosegarden-user] Testing Appreciated for 24.06

2024-06-04 Thread Ted Felix
  I have a feeling those messages in the output are not related to the 
issue.  I tried adding some key changes to a new document, and it worked 
fine.


  How often does the problem happen?

Ted.

On 6/4/24 11:19 AM, Lorenzo Sutton wrote:

Hi Ted,

Very quick answer...

Actually this was on empty segments. The idea is like by default you
are in C major and already know you want to change key kind of
scenario, so no notes involved.

Two segments on two different tracks was the only common denominator.

Sorry if this isn't too helpful.

Lorenzo

On Tue, 4 Jun 2024 at 17:04, Ted Felix  wrote:


I edited two segments and made a key change at every bar, but no luck
reproducing.  Probably because transposition might be involved and I had
no notes.

The "internal error" message, if it is relevant, seems to indicate
that the transposition resulted in notes that were outside (below) the
MIDI note range.  Are you working with some really low notes?

I think you might be able to insert the key change without
transposition then transpose separately?  That's probably really
inconvenient, but it might help determine whether it is the key change
or the transposition that is the problem.

I'll keep trying to reproduce the message with some low notes and
some wild key changes.

As for the other messages, those may have been caused by some
baseclass rearranging I did in response to warnings in the translation
stuff.  I sure hope not.  I'll take a closer look.

Ted.

On 6/3/24 5:56 AM, Lorenzo Sutton wrote:

Sorry for using the mailing list for this but it's on a bit of a
deadline project.

When trying to add a key change in notation editor nothing happens and
in the terminal I get this:

[NotationTool] NotationTool::findActionInParentView: Can't find
ActionFileClient in parent widget hierarchy
[NotationTool] NotationTool::invokeInParentView: No action "
"no_accidental" " found in parent view
Internal error in NotationTypes, Pitch::transpose()

It seems to happen randomly... I managed to "trigger" this by editing
two segments in the same notation editor window


On 08/05/2024 18:01, Ted Felix wrote:

Rosegarden 24.06 will be released on June 5.  Please test the latest
version in git as much as possible.  See the release notes for areas
that need testing:

https://www.rosegardenmusic.com/wiki/dev:24.06

   Let me know if you have any questions about the release notes and I
will elaborate.

   If you've not built Rosegarden before, give it a shot and let us
know if you run into trouble.  We'll walk you through it.  I've
written up instructions on the wiki that should help you through the
build process:

https://www.rosegardenmusic.com/wiki/dev:building_rosegarden_from_source

   To help out with 24.06 you can either download a source snapshot, or
use git to stay up to date with the latest.

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



___
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



___
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] *** SPAM *** Re: Testing Appreciated for 24.06

2024-06-04 Thread Yves Guillemot
Hi Lorenzo,

I get the message:
[NotationTool] NotationTool::findActionInParentView: Can't find
ActionFileClient in parent widget hierarchy [NotationTool]
NotationTool::invokeInParentView: No action " "no_accidental" " found
in parent view when I open the notation editor, not when I insert a key
change.

I don't see the "no accidental" and "internal error" lines.

I can't reproduce the problem except in one case:

If, for example, a Bb major key change is inserted in a segment with
a -2 transposition with the "Transpose key according to segment
transposition" option: nothing happens (apparently) if the "Hide
redundant clefs and keys" is selected in the preferences.

I apologize if I'm just saying something you was already aware of.

Yves


Le Tue, 4 Jun 2024 17:19:26 +0200,
Lorenzo Sutton  a écrit :

> Hi Ted,
> 
> Very quick answer...
> 
> Actually this was on empty segments. The idea is like by default you
> are in C major and already know you want to change key kind of
> scenario, so no notes involved.
> 
> Two segments on two different tracks was the only common denominator.
> 
> Sorry if this isn't too helpful.
> 
> Lorenzo
> 
> On Tue, 4 Jun 2024 at 17:04, Ted Felix  wrote:
> >
> >I edited two segments and made a key change at every bar, but no
> > luck reproducing.  Probably because transposition might be involved
> > and I had no notes.
> >
> >The "internal error" message, if it is relevant, seems to
> > indicate that the transposition resulted in notes that were outside
> > (below) the MIDI note range.  Are you working with some really low
> > notes?
> >
> >I think you might be able to insert the key change without
> > transposition then transpose separately?  That's probably really
> > inconvenient, but it might help determine whether it is the key
> > change or the transposition that is the problem.
> >
> >I'll keep trying to reproduce the message with some low notes and
> > some wild key changes.
> >
> >As for the other messages, those may have been caused by some
> > baseclass rearranging I did in response to warnings in the
> > translation stuff.  I sure hope not.  I'll take a closer look.
> >
> > Ted.
> >
> > On 6/3/24 5:56 AM, Lorenzo Sutton wrote:  
> > > Sorry for using the mailing list for this but it's on a bit of a
> > > deadline project.
> > >
> > > When trying to add a key change in notation editor nothing
> > > happens and in the terminal I get this:
> > >
> > > [NotationTool] NotationTool::findActionInParentView: Can't find
> > > ActionFileClient in parent widget hierarchy
> > > [NotationTool] NotationTool::invokeInParentView: No action "
> > > "no_accidental" " found in parent view
> > > Internal error in NotationTypes, Pitch::transpose()
> > >
> > > It seems to happen randomly... I managed to "trigger" this by
> > > editing two segments in the same notation editor window
> > >
> > >
> > > On 08/05/2024 18:01, Ted Felix wrote:  
> > >> Rosegarden 24.06 will be released on June 5.  Please test the
> > >> latest version in git as much as possible.  See the release
> > >> notes for areas that need testing:
> > >>
> > >> https://www.rosegardenmusic.com/wiki/dev:24.06
> > >>
> > >>   Let me know if you have any questions about the release notes
> > >> and I will elaborate.
> > >>
> > >>   If you've not built Rosegarden before, give it a shot and let
> > >> us know if you run into trouble.  We'll walk you through it.
> > >> I've written up instructions on the wiki that should help you
> > >> through the build process:
> > >>
> > >> https://www.rosegardenmusic.com/wiki/dev:building_rosegarden_from_source
> > >>
> > >>   To help out with 24.06 you can either download a source
> > >> snapshot, or use git to stay up to date with the latest.
> > >>
> > >> Thanks.
> > >> 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  
> >
> >
> > ___
> > 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



___
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] Testing Appreciated for 24.06

2024-06-04 Thread Lorenzo Sutton
Hi Ted,

Very quick answer...

Actually this was on empty segments. The idea is like by default you
are in C major and already know you want to change key kind of
scenario, so no notes involved.

Two segments on two different tracks was the only common denominator.

Sorry if this isn't too helpful.

Lorenzo

On Tue, 4 Jun 2024 at 17:04, Ted Felix  wrote:
>
>I edited two segments and made a key change at every bar, but no luck
> reproducing.  Probably because transposition might be involved and I had
> no notes.
>
>The "internal error" message, if it is relevant, seems to indicate
> that the transposition resulted in notes that were outside (below) the
> MIDI note range.  Are you working with some really low notes?
>
>I think you might be able to insert the key change without
> transposition then transpose separately?  That's probably really
> inconvenient, but it might help determine whether it is the key change
> or the transposition that is the problem.
>
>I'll keep trying to reproduce the message with some low notes and
> some wild key changes.
>
>As for the other messages, those may have been caused by some
> baseclass rearranging I did in response to warnings in the translation
> stuff.  I sure hope not.  I'll take a closer look.
>
> Ted.
>
> On 6/3/24 5:56 AM, Lorenzo Sutton wrote:
> > Sorry for using the mailing list for this but it's on a bit of a
> > deadline project.
> >
> > When trying to add a key change in notation editor nothing happens and
> > in the terminal I get this:
> >
> > [NotationTool] NotationTool::findActionInParentView: Can't find
> > ActionFileClient in parent widget hierarchy
> > [NotationTool] NotationTool::invokeInParentView: No action "
> > "no_accidental" " found in parent view
> > Internal error in NotationTypes, Pitch::transpose()
> >
> > It seems to happen randomly... I managed to "trigger" this by editing
> > two segments in the same notation editor window
> >
> >
> > On 08/05/2024 18:01, Ted Felix wrote:
> >> Rosegarden 24.06 will be released on June 5.  Please test the latest
> >> version in git as much as possible.  See the release notes for areas
> >> that need testing:
> >>
> >> https://www.rosegardenmusic.com/wiki/dev:24.06
> >>
> >>   Let me know if you have any questions about the release notes and I
> >> will elaborate.
> >>
> >>   If you've not built Rosegarden before, give it a shot and let us
> >> know if you run into trouble.  We'll walk you through it.  I've
> >> written up instructions on the wiki that should help you through the
> >> build process:
> >>
> >> https://www.rosegardenmusic.com/wiki/dev:building_rosegarden_from_source
> >>
> >>   To help out with 24.06 you can either download a source snapshot, or
> >> use git to stay up to date with the latest.
> >>
> >> Thanks.
> >> 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
>
>
> ___
> 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] Testing Appreciated for 24.06

2024-06-04 Thread Ted Felix
  I edited two segments and made a key change at every bar, but no luck 
reproducing.  Probably because transposition might be involved and I had 
no notes.


  The "internal error" message, if it is relevant, seems to indicate 
that the transposition resulted in notes that were outside (below) the 
MIDI note range.  Are you working with some really low notes?


  I think you might be able to insert the key change without 
transposition then transpose separately?  That's probably really 
inconvenient, but it might help determine whether it is the key change 
or the transposition that is the problem.


  I'll keep trying to reproduce the message with some low notes and 
some wild key changes.


  As for the other messages, those may have been caused by some 
baseclass rearranging I did in response to warnings in the translation 
stuff.  I sure hope not.  I'll take a closer look.


Ted.

On 6/3/24 5:56 AM, Lorenzo Sutton wrote:
Sorry for using the mailing list for this but it's on a bit of a 
deadline project.


When trying to add a key change in notation editor nothing happens and 
in the terminal I get this:


[NotationTool] NotationTool::findActionInParentView: Can't find 
ActionFileClient in parent widget hierarchy
[NotationTool] NotationTool::invokeInParentView: No action " 
"no_accidental" " found in parent view

Internal error in NotationTypes, Pitch::transpose()

It seems to happen randomly... I managed to "trigger" this by editing 
two segments in the same notation editor window



On 08/05/2024 18:01, Ted Felix wrote:
Rosegarden 24.06 will be released on June 5.  Please test the latest 
version in git as much as possible.  See the release notes for areas 
that need testing:


https://www.rosegardenmusic.com/wiki/dev:24.06

  Let me know if you have any questions about the release notes and I 
will elaborate.


  If you've not built Rosegarden before, give it a shot and let us 
know if you run into trouble.  We'll walk you through it.  I've 
written up instructions on the wiki that should help you through the 
build process:


https://www.rosegardenmusic.com/wiki/dev:building_rosegarden_from_source

  To help out with 24.06 you can either download a source snapshot, or 
use git to stay up to date with the latest.


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



___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user