Re: Rosegarden MIDI out port names not showing in the Pipewire MIDI bridge
Ted Felix <ted-Ll1PANez7xxWk0Htik3J/[email protected]> Mon, 21 Oct 2024 11:23:37 -0400
| Newsgroups | gmane.comp.audio.rosegarden.user |
|---|---|
| Message-ID | <[email protected]> |
It appears as if Rosegarden will use "unnamed" if you don't give the
device a name in the device manager. This might be the issue you are
seeing. Try this:
- Launch the Manage MIDI Devices dialog: Studio > Manage MIDI Devices.
- Make sure each device has a name other than "New Device".
- From the command prompt: aconnect -i
- Each device listed here should have a full name. None should be named
"unnamed".
E.g. I created three devices and only gave one of them a name ("Device
with a name"):
- New Device
- New Device
- General MIDI Device
- Device with a name
...and I get:
client 128: 'rosegarden' [type=user,pid=131091]
1 'sync out '
2 'out 1 - General MIDI Device'
3 'out 2 - Device with a name'
4 'out 3 - unnamed '
5 'out 4 - unnamed '
What do you see in your case? What is in Manage MIDI Devices? Are
any "New Device"?
A quick glance at AlsaDriver does not reveal where the actual device
name is added to the port name. I need to do more digging if the above
doesn't help.
Ted.
On 10/16/24 9:11 AM, Lorenzo Sutton wrote:
> On 14/10/2024 20:25, Ted Felix wrote:
>> The code in question is here:
>>
>> AlsaDriver::createMidiDevice()
>>
>> It appears to create all ports with the name "out x - unnamed". What
>> does a2jmidid show?
>
> a2jmidid shows correct names in a form such as:
>
> 'rosegarden [129] (capture): out 1 - General Midi'
>
> Aj2midid does react to deleting and creating a new MIDI out port (i.e.
> 'device' but if you create one when it has already been started it won't
> ever pick up the correct name. On the other hand if you load a
> rosegarden file which already contains multiple midi out devices with
> different names it will indeed pick them.
>
> Best,
>
> Lorenzo
>
>>
>> Ted.
>>
>> On 10/5/24 9:21 AM, Lorenzo Sutton wrote:
>>> Hi all,
>>>
>>> So pipewire provides a 'midi bridge' from ALSA MIDI to JACK MIDI out-
>>> of- the-box, which is quite cool for example to connect Rosegarden
>>> to, say, Carla or Ardour.
>>>
>>> Problem is that it doesn't seem to pick up the names assigned within
>>> Rosegarden (as a2jmidid seems to, albeit not being able to detect
>>> name changes); all ports are just listed as 'out 1 - unnamed', 'out 2
>>> - unnamed', etc.
>>>
>>> I've tested for instance with Pure Data MIDI outs and Qtractor MIDI
>>> 'buses' (both also using ALSA MIDI, and the names seem to be picked
>>> up by the pipewire MIDI bridge.
>>>
>>> Yet, I'm not 100% if the culprit is Rosegarden or pipewire... Any ideas?
>>>
>>> Lorenzo
>>>
>>>
>>>
>>> _______________________________________________
>>> 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