No internet connection
  1. Home
  2. How to

RX Gain

By Ryan Cole @Ryan_Cole
    2023-05-31 18:48:37.100Z

    Hey all,
    Trying to make and even just use any of the macros to adjust gain in RX Advanced. Did something get changed in v10? None of them seem to work.
    Thanks!

    • 12 replies
    1. Hi Ryan,

      Are you using our new official iZotope integration that just came out last week or something else? If you need help with a specific script, please click the red "Need help" button and choose "Get help with this script or macro" and follow the steps - without more details it's difficult to help in a meaningful way

      1. RRyan Cole @Ryan_Cole
          2023-05-31 19:43:44.240Z

          Thanks, Christian. Is that a separate package to install in the store? I’ll definitely use that and see. Thanks for the help!

          1. Yes, make sure you've downloaded & installed the newest 5.4.1 installer from my.soundflow.org and then the iZotope package will be available in the Store under Official Integrations

            1. RRyan Cole @Ryan_Cole
                2023-05-31 20:16:18.448Z

                Fantastic. Thanks!!!

                1. RRyan Cole @Ryan_Cole
                    2023-05-31 21:22:52.956Z

                    Thanks, Christian. This is super helpful. The 'Gain' macro does a great job and renders. I just need to figure out a way to make versions of that macro that changes the gain by pre-set amounts. I'm sure that there will be a way to do it.

                    1. cc @Kitch – perhaps worth adding to the package :)

                      1. RRyan Cole @Ryan_Cole
                          2023-05-31 21:37:40.553Z

                          Maybe there's a way to render gain with one of the Preset values? I'm going to try to figure out a way to do that with the module chain as well. Thanks again for the help.

                        • In reply toRyan_Cole:
                          Kitch Membery @Kitch2023-05-31 22:07:11.552Z

                          @chrscheuer, This would be a great addition to the package for sure.

                          @Ryan_Cole, I assume you are talking about how to increment/decrement the "Gain Slider" in iZotope RX's "Gain" module?

                          1. RRyan Cole @Ryan_Cole
                              2023-05-31 22:09:17.900Z

                              That's exactly right, Kitch. But even if it was able to pull the value from the presets that would be great. I'm trying to do a similar thing with the Module Chain. I want to open it, choose a preset of my choice, and then render it. Does that make sense?

                              1. Kitch Membery @Kitch2023-05-31 22:47:20.055Z

                                Thanks @Ryan_Cole,

                                Absolutely! We have something in the works for this kind of workflow, but it's not ready just yet.

                                Until then, here is a script that will allow you to set and increment the gain slider to a specified value.

                                function setGainLevel({ mode, value }) {
                                    const izotope = sf.ui.izotope;
                                    izotope.appActivateMainWindow();
                                    const gainModuleWindow = izotope.windows.whoseTitle.is("Gain").first;
                                    const gainSlider = gainModuleWindow.sliders.whoseDescription.is("Gain [dB]").first;
                                
                                    // Get the current Slider value
                                    const currentValue = Number(gainSlider.getString("AXValueDescription"));
                                
                                    if (mode === "Set Value") {
                                        // Set the Current Slider Value
                                        gainSlider.value.value = String(value);
                                
                                    } else if (mode === "Adjust Value") {
                                        let deltaValue = value;
                                
                                        gainSlider.value.value = String(currentValue + deltaValue);
                                    }
                                }
                                
                                // Use this to set the value of the Gain slider
                                setGainLevel({
                                    mode: "Set Value",
                                    value: -44.22,
                                });
                                
                                // Use this to adjust the value of the Gain slider -10dB
                                setGainLevel({
                                    mode: "Adjust Value",
                                    value: -10,
                                });
                                
                                // Use this to adjust the value of the Gain slider +10db
                                setGainLevel({
                                    mode: "Adjust Value",
                                    value: +10,
                                });
                                

                                I hope that helps. :-)

                                1. RRyan Cole @Ryan_Cole
                                    2023-06-01 01:21:46.425Z

                                    Thanks, Kitch! That worked great. Much appreciated!

                                    1. Kitch Membery @Kitch2023-06-01 05:23:44.974Z

                                      Wonderful!!! Love it!