No internet connection
  1. Home
  2. Macro and Script Help

smarter way to convert equal power to linear crossfade?

By Daniel Perez @daniel_perez
    2022-05-07 06:50:39.710Z

    Title

    smarter way to convert equal power to linear crossfade?

    What do you expect to happen when you run the script/macro?

    convert selected equal power crossfade to linear crossfade

    Are you seeing an error?

    What happens when you run this script?

    1. open fade window 2. select preset 1 (linear in this case) 3. (press keys) enter

    is there a smarter (faster) way to do this?

    How were you running this script?

    I used a keyboard shortcut within the target app

    How important is this issue to you?

    4

    Details

    {
        "inputExpected": "convert selected equal power crossfade to linear crossfade",
        "inputIsError": false,
        "inputWhatHappens": "1. open fade window\n2. select preset 1 (linear in this case)\n3. (press keys) enter\n\nis there a smarter (faster) way to do this?",
        "inputHowRun": {
            "key": "-Mpfwh4RkPLb2LPwjePT",
            "title": "I used a keyboard shortcut within the target app"
        },
        "inputImportance": 4,
        "inputTitle": "smarter way to convert equal power to linear crossfade?"
    }

    Source

    //Macro converted to script
    
    
    //Calling command "Open Fade Window" from package "undefined" (installed from user/pkg/version "cpwJy2z5iYNSZw8Jyz9PVcYMFPN2/ckfs57du10000da10tylis4rj/ckh6ewosv000ntb10lv820xj5")
    sf.soundflow.runCommand({
        commandId: 'user:cl2vhy22y0002od104egm3nf0:ckfs5892a0004da10tpnu3lt0',
        props: {}
    });
    
    //Calling command "Fade Preset 1" from package "undefined" (installed from user/pkg/version "cpwJy2z5iYNSZw8Jyz9PVcYMFPN2/ckfs57du10000da10tylis4rj/ckh6ewosv000ntb10lv820xj5")
    sf.soundflow.runCommand({
        commandId: 'user:cl2vhy22y0002od104egm3nf0:ckfs58dus0005da10syg7jsst#ckftldbgt00011r10oqj9abf0',
        props: {}
    });
    
    sf.keyboard.press({
        keys: "return",
    });
    
    
    

    Links

    User UID: qxvuxIROjqhCgyum17n87NP7TKo2

    Feedback Key: sffeedback:qxvuxIROjqhCgyum17n87NP7TKo2:-N1SHCmktMpE__XdNKdK

    Feedback ZIP

    Solved in post #2, click to view
    • 3 replies
    1. O

      Open Any Fade Window run Preset and close Can this help you? Or not what you're looking for?

      Reply1 LikeSolution
      1. Daniel Perez @daniel_perez
          2022-05-14 04:12:45.072Z

          converting the fades with soundflow leads to batch fades being other than last used, even though i saved them as pref 1 as well. they will always be 40ms equal and 40ms linear, no matter what i save as prefs. this only happens after i run this script, as well as mine before.

          can i fix that?

        • In reply todaniel_perez:
          Daniel Perez @daniel_perez
            2022-05-08 18:50:50.278Z

            perfect! thank you. much smarter indeed.

            1. Progress
            2. @daniel_perez closed this topic 2022-05-08 18:51:12.876Z.
            3. @daniel_perez reopened this topic 2022-05-08 18:51:17.869Z.