How we can display the gain reduction value from the ScriptNode ( updown_comp )
-
Do you have any suggestions or ideas on how we can display the gain reduction value from the ScriptNode, specifically from the updown_comp module, on the UI?
-
-
@filipalex96 You can use a global cable for this:
HiseSnippet 1766.3ocuX87SabDEdVfEBlj1hZTNakCUlHjkMPLAEUECFHwJwDKLglnpJz3cGaOhcmY0tiC3FQUO1a8RUkhTqTt068VuE0doUp4PUu0S8Tu1z+AZ5alYs8tdMTvIjEjkmYdu27Mue7Mu0U84Vjf.tOxH0Nc7HHiKZVqCSzpTKLkgJuNx3cLqfCDD+z5oVqiGNHfXiLLF+1xILldBj54k2ZMrClYQ5OEBsKmZQtG0kJ5Oa0h2k53rI1lrC0MhzKUrrEmUh6vaC3YbybHOr093ljsvRwFyDcGbPKjw0Lyc8BDxxK1v1Fu3h1EJTXkarxRqjG2H2R354KrxRKrzxKbikafLlbCapf6WSfEj.jwDqws6TqE+.ldC1kFPq6PjCxipA6rd5M4N1xinbVToVTG6pccTAHvJU661FW61trYEpMs278ceumZgz80HpCzXr3va7XvK+wAug.IiHPZBMjl0rlkO0SzeEIdlwrLChlMvPbJJTzxhF6aFyrDGjfIx5h2mroOLnmFYJjK27ogOl6loRAwp.Q5Gi8S2z2M8GldCVSJijsIQbaGdcry171BJqYELCBg9YhqhamRX3jApAJK0QMLyUef25vouD20SMwUiqkOwtskfxYUH.hpxb.86hVoM.03LXPlqlPRkkRkX5rADQUHVIznkjoQalRfLMmK0SRMcyrMfb0UcbxnyKCxV2ARJAiAKEH2R4r8V7fVTAQtXWM2lXIx7wfSC9WzhFHg4GQsEsxL27ccBx41E6zljYtzWqmT2gPa1RjYtOAL2QJvObzKqg7KgcbpC3pO7UnWYKehm7.loqcFhUDXescxrnLz10Ho4rs3Bx8CsVpiRkdvkZzXnqICJ9bGGYbeHKq2qSPwLr1t0I9yCQcvuzSPH2NdAyjmtBFKcNRDA4rxLp39djvwmbEOJLIC91CJuNVfkUbgyAx4Q7ETIbLVm7XfuSW+Ms45jf8EbOkr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+XR7ew29BEjtf4pBA79dClaU9X7SkK9V.TSatMwgfCHmmnZnD9u7Dtgzzb6J0Ny78Soqgc4151nhQ1e4HcY0ShjT8QT+sSWUFQv9.WALvkU95tnyFSljmfALRzSwzS98e2se0qwIIxEWgmjYMG3W+Y3csE6RFiHIPW37oigtWXdpSgVssf6BMYndG0XvM9f0378cwp2tXj9YEdq7tPtXKe9dV5WuScstZFn4VlJEYZyJxwoyid7ftdWpMcOKq3lJghKLpJt3np3RiphWeTUrvnp3xiph23+WQ4uKcXpprHDJUptgtaNiMXxxOUcL5+.PK1KBD
-
Hei @aaronventure , @ustk !
Thank you so much, your help has been incredible. I apologize if my questions seem a bit basic; I’m just starting out and trying to learn.
Is it possible to customize what you’ve displayed in the UI from the snippet with a filmstrip?
-
@filipalex96 sure, you can paint an image in the panel.
You need to use the value of the cable to calculate the image offset so the panel displays the corresponding area of the filmstrip.Try to first draw a simple image in a panel, then move it around.
Also, bear in mind that the snippet I provided is simplistic and does not take into account the dB scale. The cable doesn't react as the updown node does because the ballistic is different so this needs to be adapted, and your filmstrip too so you get the linear and logarithmic scales cohabitating nicely.
-
@ustk sadly the problem here is "global_cable" - which means the network cannot be compiled....any one got an approach that allows the scriptnode network to be compiled and offer up some sort of in vs out measure?
-
@Lindon Hmm... I haven't needed this yet, so is it an issue to be resolved, or Hise lacking the feature?
-
@ustk said in How we can display the gain reduction value from the ScriptNode ( updown_comp ):
@Lindon Hmm... I haven't needed this yet, so is it an issue to be resolved, or Hise lacking the feature?
yeah I think its a feature request - basically we need a way (for example) to see the gain change before and after (say) a faust node....
A more generalised approach might be to have some sort of paintable panel node - that we can then reference outside the scripnode network....
-
@Lindon What about modulating a table connected to an external slot that you can gather from the interface?
-
@ustk yeah maybe - we just need to get the gain of the inbound signal, vs the outbound signal and map that to the table somehow....
-
Alright, it's time for
It appears you don't even need a global cable. In fact, you don't need to do anything in Scriptnode at all, you can just fetch the value directly from anywhere using the DSPNetwork and Node APIs.
HiseSnippet 2150.3o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aLXScNWw1MpOaP0n9a.Psh2IPHfca+ZCUuXqouCqeyP0272+W+MKpti2IjqbALsniy6+RvzK151yTHntBlrFZJLYkl7txVh.HIcyTl+k5VkKWPRbWgTA2ylHCqnTklZVIB5C8gaU1pYkHnXL3h43p6dy3JjWlhqv3xWJWkkO4FySaOznFfEMsM77pbv9K+2CvRdGhvPDENxYJKMm9XuNfkm21AA2Buq72qN6nTmMfaKiOW8rmuSvONYx2w6K4mC1uQlsD6GYGiuKe.6y.r5K0Fasq4qj8Wuoekrna7WI6XeCBg1wboNRogZEHVXfnM9nCcAoWQi0moFqWjuMCkEMchnBqhnhCPpH25ta8LgqmWXStrfwvwErzgTOdYC+masujdySK6WD5XsORL7q3qzbXnF9RQfoes7JNQ754E+473.7Nzuv6GVrXqpKcyZUs3Soxs9YzY+xuE9HhuddO1awmLV38PqjgwVBpsr8kmCgXXrEieeuzrBYRKFGdnRpxZIexs9I.9dhd8fhIdl0AJsUkwR9v5Y8ILVzOp9SvNv4wGZKwMWbws+a9Ny6qePZmULJ4A6auO0ewuS+T+adzGlO7+uuE+XOLu75L6UI6syc4ahuPvah8X.2OV8zz1fof96ZkfmaosE3U7NjFyp4b9Ua+Y.Vx3o99EM0TJt97p3ClWE2XdU7SmWE2bdU7gyqhO5UqHUQOsudJ1.ayo49IeY.2jNbrgIN+Gf8hODC
I'm sure we could pest Chris to let us also get a parameter's max value, min value and skew so that the range can be properly deduced at runtime instead of having to hardcode it and keeping track of where it's set to which values.
-
@aaronventure Gorgeous
-
@aaronventure Ok this looks very nice - but Im struggling to see how I could use this to "wrap" a faust node, say some sort of custom compressor such that I can see this "gain reduction" value..
-
@Lindon sorry, I don't understand... you want to output gain reduction from a faust node onto the UI?
-
@aaronventure no I want to compare the signal level pre-faust node with the signal level post-faust node (Im just using faust as an example here)
-
@Lindon Using @aaronventure script I could be able to make the difference in dB between input and output of a node
Note that the cumbersome modchain I've made can be easily reduced in a node expression or SNEX since it is just arithmetic
HiseSnippet 2223.3oc2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QZPT0XQZPV8KLRKaguzQYalnk8ftKCFbRkd.UvAeJNgJn+a9iHURqu2cDYc7Jb1.Qxv+wqTbBGI14+BNKloPBw2kIG7HeRjCJeRjCJ++SHmOvTbbvsKNdQiz5pCmw3D1n13ZpP666k+dPeyWpcD7Tf49QCxLVXNiyciXjqR5wI9cOJ3IN6a8dhuftf+au7.rj29.L3Qg8cFyRSYivuJfkm2lAAWgVfK3DV3gsjxS5QM2wxTcgp4ultOwN3M89Z5oLyaxzb+Ger441x3djufAcPh2wX0my6x7ueYeWlQW52k4g9Z.BGGSEpHohUs.Ky5wOVJXpBRGQiUmnFqVj70Ihhl1JpvrPpXOfJxMuaTKS3p4E1fJJXL34BVZe7B3xd7euwtB7BoaZdWcGp7AhgNhiSijPE6q4A5tUyq3PwqlW7WRiCfyP+BWt6rOu2na0o7M5N+acuQ22AtB+B2O8hYXrIGqesKzubHD4Zv3OvKMqPlzhgd6KExrqHc3A8QLcLuSGVwDOSZCkdeJCjb6ZYWlw.Q+zZOD9hizXS22SGWT8JeW8S775Gmd8ODLeA4c2W8xreu9Uub4i9fTfuceJ9IdPp3UIliRxalyxWGuwlWGqQOper7wo8EiA82vHA12BSqvK5sO9Lopyoi19SOnjwi88KZpwTb0oUw6NsJt1zp3mOsJt9zp38lVEu+KVQrhdZe8XrAzYSicseEJWaSMlvDm+GeRmnwC
-
@ustk ah nice, we had the same idea.
your expression node will then make you have to compile the network
you'll still have to plug it into something to pull the value into the script, so it's fine, you would fold that modchain down anyway and never open it again.
-
@aaronventure Yeah absolutely!
The difference in complexity comes from the fact that the difference shouldn't be affected by input level variations -
@ustk @aaronventure - yep nice work both of you - here using audio as some sort of input...
HiseSnippet 2488.3oc2Z07aaibEmT1zNVIa6tcSP6g8v.2BTY.CsVxoaBPQa72YE1XaAK2raOkNhbjDqolgfyPaqVr.8Xu0yom54do8ZOTf8efBTf9OPAJPO2+C19dyPJRpOhkU133rFFIZ93M727adueuG8nlQBWlTJhrrW4zAgLK664zZ.W0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