Help please creat a macro to auto trim the end of audio perfectly

Hi Cubase community,

Can someone help to create a macro that does the following:
Cut to end of audio and trim off the exactly from the start of silence at the end to make it a perfect loop?

I tried to alter the macro: cut to first hitpoint by Daniel Ayo and how he demonstrated it on YouTube, but no succes yet. I tried using Auto detect Silence but it always leaves a piece of audio, no matter wat threshold setting I select.
Thanks in advance and I appreciate your help.

Cubase Macro steps: Cut to First Hitpoint Macro :

  • Transport - Locate Selection Start
  • Transport - Locate Next Hitpoint
  • Edit - Split at Cursor - Edit - Select None
  • Transport - Locate Previous Event
  • Edit - Select Events under Cursor
  • Edit - Delete
  • Transport - Locate Selection Start

Cheers!

Hi,

Instead of these two:

…you could use Navigate > Left. The right Audio Event from the Split has to be selected (this is the Cubase rule after the split); your goal is to select the left one.

But in general, I believe, this is the known “idle” issue. Cubase doesn’t wait until the command is done. It just fires the commands one after another. Therefore, sometimes the timing might play a role. My self, I’m using the File > Save command as an “idle” in between some steps. Cubase always have to wait for Save.

1 Like

Hi Martin, Thanks for your response and suggestions. Unfortunately it did not work for me.
I will continue to use one of these options separately depending on the audio:
Detect Silence function,
Crop
Create slices from hit points

My personal workaround for now is to make perfect audio (drum) loops (chops) in NI Maschine 3 and then import it in Cubase.

If you or someone else has other suggestions or the steps to a working macro, please share this with us.

By the way: the Club Cubase index with all questions ever asked to Steinberg’s Legend Greg Ondo helps me a lot in finding answers and solutions to my questions in Cubase: Huge_Q&A Video INDEX | CubaseINDEX.com

Thanks anyway.
Cheers!