Re: [Rosegarden-user] MIDI Instrument creation script

2024-01-10 Thread Ted Felix

  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        6        0-127    1-128
84        7    0-127    129-256

Problem, when trying to generate the RGD file I have got following 
error message :


/Traceback (most recent call last):
  File "/home/userfolder/rosegarden/./txt2rgd.py", line 299, in 


    name = f"{MSB:03u}-{LSB:03u}"
ValueError: Unknown format code 'u' for object of type 'int'/

I made a few tests editing the csv source file I found out the 
converter accepts only :


  * 0 as MSB, at least from 0 to 10.
  * doesn't accept 7 value as LSB.

Am I doing something wrong ? IS it a bug ? Any explanation or 
investigation suggestion to solve this ?


Thanks, and best regards.



DuckDuckGo was unable to verify sender identity


DuckDuckGo was unable to verify sender identity

___
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-01-10 Thread Ted Felix
  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        6        0-127    1-128
84        7    0-127    129-256

Problem, when trying to generate the RGD file I have got following 
error message :


/Traceback (most recent call last):
  File "/home/userfolder/rosegarden/./txt2rgd.py", line 299, in 
    name = f"{MSB:03u}-{LSB:03u}"
ValueError: Unknown format code 'u' for object of type 'int'/

I made a few tests editing the csv source file I found out the 
converter accepts only :


  * 0 as MSB, at least from 0 to 10.
  * doesn't accept 7 value as LSB.

Am I doing something wrong ? IS it a bug ? Any explanation or 
investigation suggestion to solve this ?


Thanks, and best regards.



DuckDuckGo was unable to verify sender identity


DuckDuckGo was unable to verify sender identity

___
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] txt2rgd.py bug?

2024-01-10 Thread Ted Felix
  Right mailing list.  Subject line might be the issue.  I've updated 
it so that hopefully it will catch the right person's attention.


  I think there are folks here that use or have used txt2rgd.py in the 
past.  They should be able to help.


  Can you post your .csv file so we can use it as test data?

Ted.

On 1/7/24 10:20 AM, Olivier S. wrote:

No one has got an idea or did I wrote to the wrong mailing list ?
Le 29/12/2023 à 19:17, Olivier S. a écrit :
Problem, when trying to generate the RGD file I have got following 
error message :


/Traceback (most recent call last):
  File "/home/userfolder/rosegarden/./txt2rgd.py", line 299, in 
    name = f"{MSB:03u}-{LSB:03u}"
ValueError: Unknown format code 'u' for object of type 'int'/

I made a few tests editing the csv source file I found out the 
converter accepts only :


  * 0 as MSB, at least from 0 to 10.
  * doesn't accept 7 value as LSB.

Am I doing something wrong ? IS it a bug ? Any explanation or 
investigation suggestion to solve this ?



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