Re: MIDI Instrument creation script
"Olivier S." <[email protected]>
| Newsgroups | gmane.comp.audio.rosegarden.user |
|---|---|
| Message-ID | <[email protected]> |
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
>>>>> <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
>>>>> Rosegarden-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org - use the link below to
>>>>> unsubscribe
>>>>> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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
_______________________________________________
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
Roland-SR-JV80-07.rgd
(application/x-rosegarden-device, 4.3 KB) - not displayed