matthewscharles / metasound-plugins

Some custom nodes for UE5 Metasounds
3 stars 0 forks source link

Add SaH bank module #9

Closed matthewscharles closed 6 days ago

matthewscharles commented 6 days ago

This is still the quick copy-pasted expansion of the Sample and Hold bank, but it works, so I think it's worth including in the package while testing and creating the first demos. It was a good exercise to consolidate my understanding of the structure from the first demo.

This should now be reworked to use arrays (or a similar solution) to loop through and set the inputs/outputs and of course process on execute.

In terms of function: just duplicated three more sample and hold modules, all with the same trigger threshold. Saves a bit of space on the screen.

There could be a routing option, like copying the signal out to the other signal inputs if only one is connected (I'm not sure if it's possible to detect connections automatically)....otherwise a little check box to enable that.

There's also a minor fix on the original SaH module, which it turns out was clashing with the name of the built-in Metasound Sample and Hold.