AScustomWorks / AS

VCV Rack Modules
Other
114 stars 16 forks source link

Triggers MKII User-defined Labels #10

Closed dirkleas closed 6 years ago

dirkleas commented 6 years ago

Feature Request: add an optional JSON configuration file (ala' Rack template.vcv) for specifying an array of user-defined label text values. Reasonable constraints on the number of characters, encodings, etc. expected as appropriate for enumerated labels.

AScustomWorks commented 6 years ago

Hi, this feature was considered but discarded because the json file would be relevant only for the user, and difficult if not impossible to keep in sync with patches, and other users own settings. Imagine you have your custom label settings and you send me a patch, two things can happen:

Maybe this could be dealt with on the future, but who knows, if anything it would have it's place within a preset system in rack app (no plans for that that I know of yet).

Meanwhile, you can suggest a few labels generic enough to be useful to everybody so I can consider adding them to the module.

dirkleas commented 6 years ago

thoughtful consideration appreciated -- waiting for possible preset plumbing sounds reasonable

JeffGreenlee42 commented 6 years ago

dirkleas,
Understood, I am not familiar with how these Json files are used. So, I am just wondering, You can save other values in a patch? like levels and knob positions all kinds of Audio and digital parameters... , but it does not allow you to save a text value (a limited sized character string) in a patch? I know there are other Modules like a "notes" module (where you can jot down notes for a patch) and there is another module I recently discovered from "LOG" collection that is called "Tidy Up Cables". its got incoming and outgoing patch points in a single column of rows - inputs on the left, outputs on the right , and inbetween you can type in labels for each patch cable. I guess the idea is that it helps (Shocking!!) identify each of your cables. So..... did that developer use something other than Json? I would presume that if I saved a patch with his module in it, and emailed it off to a friend, they would be able to open the same patch in Rack and see those same saved text values?

AScustomWorks commented 6 years ago

@JeffGreenlee42: (different thing than dirkleas asked for, but still related)

Knobs, faders and toggle switches values on any module are stored by rack itself without the developer having to take care of any of that. I assume it's the same case with those user editable textfields, and if not, it can be saved within the patch adding some extra code, that's not the problem at all but here's the thing:

In v0.5 editable text fields were quite buggy and could cause rack to crash, so it wasn't wise to implement a feature that could give problems that you couldn't fix on your side.

This may not be the case any more in v0.6, so I'm willing to investigate if this is now feasible, but only as time allows.