Re: MIDI Instrument creation script
Ted Felix <ted-Ll1PANez7xxWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.audio.rosegarden.user |
|---|---|
| Message-ID | <[email protected]> |
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
>>> <https://duckduckgo.com/email/report#RFVDSzI.G5gBIIzEOCbxRlHEQWatqezP6gKgUJ2qB7rcAycFLBado3OMz5pWa5xF2tGGsyh9wxVwqpuIA7zEr2WlwVv_fSFUKmJElSePhFjmg6jYRYWf5JQOwOgWIozvYZaTWkTEquAhEwTSbRILfv8AAR0G7uVPB0NSF1c0QKIUSe0XoDDNVIj3nuq-9geBGo7QDCqVFJnqcKJmNObcJPPGeDpWcx2M8Ic8kdu1TJaczuqpqbT70oGk1BVHxFMmUF3cqi5XQvy4bN-FeNMyrNJYXextW7VxHt7ZVtvKrNb3gMDGKgH1BGjawF1IfC5DfgeBJW7vDw>
>>> Unable to verify sender identity
>>>
>>> Report Spam
>>> <https://duckduckgo.com/email/report-spam#RFVDSzI.G5gBIIzEOCbxRlHEQWatqezP6gKgUJ2qB7rcAycFLBado3OMz5pWa5xF2tGGsyh9wxVwqpuIA7zEr2WlwVv_fSFUKmJElSePhFjmg6jYRYWf5JQOwOgWIozvYZaTWkTEquAhEwTSbRILfv8AAR0G7uVPB0NSF1c0QKIUSe0XoDDNVIj3nuq-9geBGo7QDCqVFJnqcKJmNObcJPPGeDpWcx2M8Ic8kdu1TJaczuqpqbT70oGk1BVHxFMmUF3cqi5XQvy4bN-FeNMyrNJYXextW7VxHt7ZVtvKrNb3gMDGKgH1BGjawF1IfC5DfgeBJW7vDw>
>>>
>>> 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
>>>> <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.
>>>>
>>>
>>> DuckDuckGo was unable to verify sender identity
>>>
>>>
>>> DuckDuckGo was unable to verify sender identity
>>>
>>> _______________________________________________
>>> Rosegarden-user mailing list
>>> [email protected] - use the link below to
>>> unsubscribe
>>> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>>
>>
>> _______________________________________________
>> Rosegarden-user mailing list
>> [email protected] - use the link below to unsubscribe
>> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>
>
> _______________________________________________
> Rosegarden-user mailing list
> [email protected] - use the link below to unsubscribe
> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
_______________________________________________
Rosegarden-user mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user