Huge response, and huge thanks to Blue Cat Audio for making such a cool framework and for support!
https://letimix.com/gainmatch
PnS itself (when used in native mode, without any metering) does not have any overhead, so I am guessing that it could be either the way processing is written, or the compiler optimizations. Also, for such a low cpu thing, it's hard to get very precise measurements.ilyaorlov wrote: Fri Oct 09, 2020 12:30 pm I've got a question about CPU load with PnS, trying to get as low as possible.
With 32 instances of BC Gain I'm getting ~2% of load in Reaper, the same with FreeG plugin.
However with gain plugin made with PnS (I'm using factory binary with gain in %) I get approximately 4% of CPU. If I disable meters, I get ~2.5%, but still not as low as BC Gain or FreeG. Can something else be done on my side to get the lowest CPU usage possible?
The effect of aliasing is less obvious on percussions, because their spectrum is already inharmonic. If you want to hear the difference, you can use a high frequency sine wave: you will see on a spectrum analyzer (and hear) the aliasing on higher harmonics that get back into the spectrum as non-multiple of the root frequency.ericbridenbaker wrote: Mon Oct 26, 2020 12:05 pm I've been thinking about oversampling. This limiter plugin talks nicely with DDMF Metaplugin, but I can't say that the 8x oversampling there sounds any better. Aliasing and drum hits were never really a problem for me, 1x sounds more impactful to me tbh.
Indeed! The inharmonicity of drum sounds in my opinion can actually benefit from aliasing, if the overall sound isn't too small or clouded. I think about old synths like the DX7, or old samplers and the aliasing is such a part of the tone, it's some of the only help an otherwise impossibly thin sound could get.Blue Cat Audio wrote: Mon Oct 26, 2020 12:19 pmThe effect of aliasing is less obvious on percussions, because their spectrum is already inharmonic. If you want to hear the difference, you can use a high frequency sine wave: you will see on a spectrum analyzer (and hear) the aliasing on higher harmonics that get back into the spectrum as non-multiple of the root frequency.ericbridenbaker wrote: Mon Oct 26, 2020 12:05 pm I've been thinking about oversampling. This limiter plugin talks nicely with DDMF Metaplugin, but I can't say that the 8x oversampling there sounds any better. Aliasing and drum hits were never really a problem for me, 1x sounds more impactful to me tbh.
It depends on what you want to do: dropdown menus can be used either to select a parameter value directly or to trigger different actions on each menu element. KUIML is model-driven so you will usually attach actions or data model objects to widgets instead of using events and callbacks (but you can hook scripts with events too). Can you maybe tell us more about what you are trying to do?ValliSoftware wrote: Tue Nov 03, 2020 8:33 pm Do you have a simple example how to add a combo box on the UI and how you receive notification when a selection is made.
Put a combobox on the UI so I can select different values.Blue Cat Audio wrote: Wed Nov 04, 2020 8:29 am It depends on what you want to do: dropdown menus can be used either to select a parameter value directly or to trigger different actions on each menu element. KUIML is model-driven so you will usually attach actions or data model objects to widgets instead of using events and callbacks (but you can hook scripts with events too). Can you maybe tell us more about what you are trying to do?
Hey, Valli!ValliSoftware wrote: Wed Nov 04, 2020 8:54 amPut a combobox on the UI so I can select different values.Blue Cat Audio wrote: Wed Nov 04, 2020 8:29 am It depends on what you want to do: dropdown menus can be used either to select a parameter value directly or to trigger different actions on each menu element. KUIML is model-driven so you will usually attach actions or data model objects to widgets instead of using events and callbacks (but you can hook scripts with events too). Can you maybe tell us more about what you are trying to do?
Code: Select all
<ROW>
<!-- our test param -->
<PARAM id="my_color" type="enumeration" enum_values="red;green;blue" />
<!-- action to execute when param has changed -->
<ACTION_TRIGGER event_id="my_color.value_changed" script="
int val = my_color;
/* do something with param value */
" requires="my_color" />
<!-- first way to make a simple popup menu to select param value -->
<PARAM_TEXT param_id="my_color" content="simple menu: {text_value}">
<INVISIBLE_PARAM_MENU_BUTTON param_id="my_color" cursor="system::hand" width="100%" height="100%" />
</PARAM_TEXT>
<!-- second way to make a popup menu with actions and checked_param_id (can be much more complex and customizeable -->
<ACTION id="act_red" type="Script" script="my_color = 0;" name="Make red" />
<ACTION id="act_green" type="Script" script="my_color = 1;" name="Make green" />
<ACTION id="act_blue" type="Script" script="my_color = 2;" name="Make blue" />
<FORMULA_PARAM id="color_is_red" formula="my_color = 0" />
<FORMULA_PARAM id="color_is_green" formula="my_color = 1" />
<FORMULA_PARAM id="color_is_blue" formula="my_color = 2" />
<POPUP_MENU id="my_menu">
<MENU_ITEM action_id="act_red" checked_param_id="color_is_red" />
<MENU_ITEM action_id="act_green" checked_param_id="color_is_green" />
<MENU_ITEM action_id="act_blue" checked_param_id="color_is_blue" />
<MENU_ITEM name="submenu">
<MENU_ITEM name="can make complex menus this way">
<MENU_ITEM action_id="act_red" checked_param_id="color_is_red" />
<MENU_ITEM action_id="act_green" checked_param_id="color_is_green" />
<MENU_ITEM action_id="act_blue" checked_param_id="color_is_blue" />
</MENU_ITEM>
</MENU_ITEM>
</POPUP_MENU>
<PARAM_TEXT param_id="my_color" content=" | complex menu: {text_value}">
<INVISIBLE_ACTION_BUTTON action_id="my_menu.Popup" cursor="system::hand" width="100%" height="100%" />
</PARAM_TEXT>
</ROW>Thanks for this.
Submit: News, Plugins, Hosts & Apps | Advertise @ KVR | Developer Account | About KVR / Contact Us | Privacy Statement
© KVR Audio, Inc. 2000-2026