MIDI Instrument creation script

"Olivier S." <[email protected]>
Newsgroups gmane.comp.audio.rosegarden.user
Message-ID <[email protected]>
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 <module>
     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.

_______________________________________________
Rosegarden-user mailing list
Rosegarden-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.