No internet connection
  1. Home
  2. How to

Audiosuite D-Verb, render using Reverse button?

By Nathan Judd @Nathan_Judd
    2022-02-04 05:35:16.413Z

    Hey peeps!
    So, I want to make a button on my streamdeck to simply use the D-Verb audiosuite, but to render using the "Reverse" button, instead of the usual "Render" one... there are scripts for Audiosuite render with presets, but not for alternative render buttons like this.... how?

    • 4 replies
    1. samuel henriques @samuel_henriques
        2022-02-04 14:46:18.389Z

        Hello Nathan,

        try this:

        
        const userPlugInCategory = "Reverb"
        const userPlugInName = "D-Verb"
        const inputMode = "EntireSelection"
        const outputMode = "CreateContinuousFile"
        let preset = ""
        
        const openedAudioSuiteWin = sf.ui.proTools.getAudioSuiteWindow(userPlugInName)
        
        if (openedAudioSuiteWin.exists) {
        
            openedAudioSuiteWin.buttons.whoseTitle.is("Analyze").first.elementClick();
        
        } else {
        
            let newAudioSuiteWin = sf.ui.proTools.audioSuiteOpenPlugin({
                category: userPlugInCategory,
                name: userPlugInName,
            }).window
        
            newAudioSuiteWin.audioSuiteSetOptions({
                processingInputMode: inputMode,
                processingOutputMode: outputMode
            })
        
        
            if (preset) {
                if (newAudioSuiteWin.presetButton.value.invalidate().value != preset.slice(-1)[0]) {
                    newAudioSuiteWin.presetButton.popupMenuSelect({ menuPath: [preset] })
                };
            };
            newAudioSuiteWin.buttons.whoseTitle.is("Analyze").first.elementClick();
        }
        
        1. NNathan Judd @Nathan_Judd
            2022-02-04 15:35:13.735Z

            Hey Samuel,
            That seems to have done the trick, will add a close window command after.

            Thank you so much and have a great day!

            1. DDamien Lewis @Damien_Lewis
                2022-07-16 23:20:30.186Z

                how is this working for you? this is exactly what I've been looking for but I'd actually rather do it with a key command. I'm such a soundflow noob I dont even know where to begin to add this script. any help would be appreciated!
                Damien

                1. samuel henriques @samuel_henriques
                    2022-07-17 08:27:17.833Z

                    Hello Damien,

                    To add a keyboard trigger to your script or macro:

                    Click "New Trigger"

                    Then Choose "Keyboard Trigger"
                    Choose the App you the trigger to work ( not choosing will work with any app)

                    Click record and type the trigger you want.

                    hope this helps