value_display that shows the name of another RE when plugged in

This forum is for developers of Rack Extensions to discuss the RE SDK, share code, and offer tips to other developers.
User avatar
Murf
RE Developer
Posts: 710
Joined: 21 Jun 2019
Location: Brisbane, Australia

Post 31 Jan 2025

Hi All,
I have set a read_only true value_display UI element in the hope to display what RE source is plugged into the input for that label, but I am not sure how to associate it or update it when something gets plugged in.
I assume I will need to do a detection on the input being used, and then send something to display.lua to update the label, but I am not sure how I would access the name of the RE being plugged in?
An example of this is the 14:2 mixer on the aux return labels.
Screenshot 2025-02-01 102829.jpg
Thanks in advance,
Murf.
You do not have the required permissions to view the files attached to this post.

User avatar
pongasoft
RE Developer
Posts: 496
Joined: 21 Apr 2016
Location: Las Vegas

Post 01 Feb 2025

To the best of my knowledge you cannot get access to the name of what is plugged in into any socket in your RE. You can only know whether something is connected or not. But not its name.

See documentation for the properties you have access to for a given socket

User avatar
Loque
Moderator
Posts: 11561
Joined: 28 Dec 2015

Post 01 Feb 2025

I would be totally fine with giving it my own name/text... But I agree, an automatic naming would be good. Guess, this is another thing which needs to be improved in the SDK.
Reason13, Win10

User avatar
Murf
RE Developer
Posts: 710
Joined: 21 Jun 2019
Location: Brisbane, Australia

Post 03 Feb 2025

Yeah I currently have it set to just self named labels, seems to be my only option :(

  • Information
  • Who is online

    Users browsing this forum: CommonCrawl [Bot] and 1 guest