No internet connection
  1. Home
  2. Support

Warp mode toggle not working in ableton

By Ole Krogstad @Ole_Krogstad
    2025-11-25 09:59:49.295Z

    Title

    Warp mode toggle not working in ableton

    Content type

    script

    Content name

    Set Warp Mode On/Off

    Content package

    Default Package

    Version info

    OS: macOS 15.6.0
    SoundFlow: 6.0.1
    Pro Tools: null

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

    The scrips shoud set warp mode on/off or toggle but comes back with "no clip selected" in both session and arrange view

    Are you seeing an error?

    no clip selected

    What happens when you run the script?

    I just get the error

    How were you running this script?

    I clicked the Run Script or Run Macro button in SoundFlow

    How important is this issue to you?

    5

    Details

    {
        "textExpected": "The scrips shoud set warp mode on/off or toggle but comes back with \"no clip selected\" in both session and arrange view",
        "textError": "no clip selected",
        "textWhatHappens": "I just get the error",
        "inputHowRun": "I clicked the Run Script or Run Macro button in SoundFlow",
        "inputImportance": 5,
        "textTitle": "Warp mode toggle not working in ableton"
    }

    Source

    
    // Bail out if Ableton is not running
    if (!sf.ui.abletonLive.isRunning) throw `Ableton Live is not running`;
    
    let { setWarpModeOnOff } = event.props;
    
    try {
      // Warp Modes are only available for audio clips
      if (sf.app.abletonLive.song.view.detailClip.invalidate().isAudioClip.boolValue) {
        let setWarpModeOnOffLookUp = {
          "Enable": true,
          "Disable": false,
          // Store whether warp is on or off
          "Toggle": !sf.app.abletonLive.song.view.detailClip.warping.invalidate().boolValue,
        }
    
        // Set warp to oppostive value
        sf.app.abletonLive.song.view.detailClip.warping.setValue({ value: setWarpModeOnOffLookUp[setWarpModeOnOff] });
      } else {
        log('This Is Not An Audio Clip')
      }
    } catch (err) {
      log(`No Clip Selected`)
    }
    

    Links

    User UID: xiCdoZz0XrUl64xQ7nnDkLW2kaC3

    Feedback Key: sffeedback:xiCdoZz0XrUl64xQ7nnDkLW2kaC3:-OeuS7AhsP1U7Dfxy25z

    Feedback ZIP: eMEZ5drxBn5LbpU+Y/XZohpVg1PDz/SKYxpjp/D9ZJcuXO0gHTbn5V8g8g68GSc6oGMAxy50Y/gMjqjEqnX7mPA3ITNn6ei7GOx3O8ekAfkRl8MEs/cO1BZDgnbzziTjqf2r7AJXodKu+tP5hjKE1Sn0l+z3gz6+aaMVx1hhRYojv49Fuizikln59FYWFcFheLaAwbLxmOl8xLhItO2xTbGJHHMGp+aVd5TjOt/HLNT89u1KMDo4kACmrLRUSOFQanz0NntdWIIIyPBffrivCgQ+zBfJUfDRrq/Y9EnMQ/pBp5FcRtft9ijmslgZpGlk15p3xWngjYZlmo0UxOiFTA==

    • 1 replies
    1. S
      SoundFlow Bot @soundflowbot
        2025-12-03 20:51:44.057Z

        This issue is now tracked internally by SoundFlow as SF-3204