helgoboss / helgobox

Helgobox: ReaLearn & Playtime
https://www.helgoboss.org/projects/helgobox
GNU General Public License v3.0
205 stars 20 forks source link

Make textual feedback expressions more powerful #683

Open helgoboss opened 1 year ago

helgoboss commented 1 year ago

Especially filters would be nice, e.g. to make strings upper-case or formatting decimal numbers in various ways.

It's best to not reinvent the wheel. https://github.com/rossmacarthur/upon looks very interesting as a minimal and fast template engine (not focused on compile-time templates, popular syntax with filters similar to Liquid and Jinja, extensible, customizable syntax, looks like it can be used to create a minimal subset of popular template syntaxes).

Other interesting crates: https://github.com/keats/tera, https://github.com/sunng87/handlebars-rust, https://github.com/cobalt-org/liquid-rust, https://github.com/maciejhirsz/ramhorns, https://github.com/nickel-org/rust-mustache

LeLord-Lunique commented 1 year ago

Following your advice Helgoboss, I'd like to comment on this.

I intend to use my controller (a Mackie Pro-like one, the M-Audio ProjectMix) in different situations hence with different plugins. As the controller for each plugin deeply change, I need a way to memorize them and that is when the display becomes crucial.

Having more options to edit the string values sent by the machine would be very useful to actually focus on the sound without necessarily looking at the computer screen but mostly the controller. Currently, some plugins do not send any value and I have to use the numbers that always appear with a large amount of digits which makes it hard to read. A simple option allowing the number of digits would come very useful (to round the value given by the controller in a way).

Thanks for all your tremendous work!