Page 1 of 1

[Macro] Fast way to duplicate parts of your song

Posted: Mon Jul 22, 2019 6:21 pm
by HowlingUlf
Make a selection and hit a Key Command and this macro will create a space as long as the selection and insert a copy of the length of the selection.
All tracks will get copied even if you only have one part on one track selected.
I tried with four cycle markers that were a verse and a chorus but I needed to have one more of that combo but thought "why am I doing this over and over??? This is Cubase, right?"
Macros !!!
The best way to make macros is if you remember the key commands and just use the "Type in key" input field to the right and then hit the [<-select ] button plus, of course, the [add command] button.
It's easier than search and poke around for the commands in the list.

These are the ingredients:

Transport - Locators to Selection
Edit - Select none
Transport - Go to left Locator
Edit - Split Loop
Edit - Select in Loop
Edit - Copy
Edit - Insert Silence
Edit - Paste

Then add a Key Command of your choice and your Aunts husband is Bob.
Plus you also have a longer song!!!

Re: [Macro] Fast way to duplicate parts of your song

Posted: Mon Jul 22, 2019 9:53 pm
by Home Studio 87
will test... thank you

Re: [Macro] Fast way to duplicate parts of your song

Posted: Tue Jul 23, 2019 6:27 am
by strummer
I need to try this, thanks Ulf:)

Re: [Macro] Fast way to duplicate parts of your song

Posted: Tue Jul 23, 2019 8:03 am
by cubic13
Just tested it and it seems that there is an issue, with a project containing both audio and MIDI tracks. My test involves :

- a drum part (1.1.1.0 -> 9.1.1.0)
- an instrument part (1.1.1.0 -> 10.1.1.0) that has been rendered in place (audio track added, as a result).

Each time, before launching the macro, I check that both locators are at 1.1.1.0. Without any part selection, the duplicated area goes from 1.1.1.0 to 9.1.1.0, which means that the macro works using the shorter part : why not ?
The problem is that, if I select either the instrument part or its rendered one, the duplicated part keeps being the 1.1.1.0 to 9.1.1.0 one. So, I have tried moving the drum part at 2.1.1.0 -> 10.1.1.0, the result is the same : even if the instrument part or its rendered audio event is selected, it's the 2.1.1.0 - 10.1.1.0 that is duplicated (as if it was the drum part that was still being selected at first).

Maybe I am doing something wrong, at a point. Will investigate further and keep you informed... ;)

Re: [Macro] Fast way to duplicate parts of your song

Posted: Tue Jul 23, 2019 10:18 am
by cubic13
Well, I looked at this a little further and actually, it seems to work as long as you have a MIDI part/audio event selected. So, sorry for the previous post, as I'm no longer able to reproduce the problem. FWIW, there is also this alternate way to do more or less the same thing :

Code: Select all

Transport - Locators to Selection
Edit - Global Copy
Edit - Insert Silence
Transport - Go to left locator
Edit - Paste
Let me know if it works on your end... :|

Overall, a very useful macro, as it works with either MIDI parts or audio event. Thanks ! :)

Re: [Macro] Fast way to duplicate parts of your song

Posted: Tue Jul 23, 2019 12:36 pm
by RichardTownsend
Another way to do this - though i’m not at my computer to check this out - would be

Transport - locators to selection
Edit - global copy
Transport - go to right locator
Edit - paste time

I’m assuming there is a ‘paste time’ action available. This is what I do when I do it manually.

Re: [Macro] Fast way to duplicate parts of your song

Posted: Tue Jul 23, 2019 2:55 pm
by RichardTownsend
Just checked out what I suggested - it seems to work.

Re: [Macro] Fast way to duplicate parts of your song

Posted: Tue Jul 23, 2019 3:54 pm
by cubic13
RichardTownsend wrote:
Tue Jul 23, 2019 2:55 pm
Just checked out what I suggested - it seems to work.
Indeed... But there is a slight difference between your solution and mine. As images are better than long explanations...
C10_DuplSong_Before.png
(129.1 KiB) Not downloaded yet
C10_DuplSong_Cubic13.png
(138.2 KiB) Not downloaded yet
C10_DuplSong_RTownsend.png
(139.55 KiB) Not downloaded yet
Your version split the drum part, mine doesn't. Not a big deal, as it's quite easy to glue both parts together again.

So, both versions work in their own way, actually... 8-)

Re: [Macro] Fast way to duplicate parts of your song

Posted: Tue Jul 23, 2019 5:25 pm
by RichardTownsend
Thanks for that!

Re: [Macro] Fast way to duplicate parts of your song

Posted: Tue Jul 23, 2019 11:32 pm
by Accel0001
cubic13 wrote:
Tue Jul 23, 2019 3:54 pm
RichardTownsend wrote:
Tue Jul 23, 2019 2:55 pm
Just checked out what I suggested - it seems to work.
Indeed... But there is a slight difference between your solution and mine. As images are better than long explanations...

C10_DuplSong_Before.png
C10_DuplSong_Cubic13.png
C10_DuplSong_RTownsend.png

Your version split the drum part, mine doesn't. Not a big deal, as it's quite easy to glue both parts together again.

So, both versions work in their own way, actually... 8-)
A little tweak

Transport - locators to selection
Edit - global copy
Transport - go to left locator
Edit - paste time

Re: [Macro] Fast way to duplicate parts of your song

Posted: Wed Jul 24, 2019 1:27 pm
by RichardTownsend
Nice!

Re: [Macro] Fast way to duplicate parts of your song

Posted: Wed Jul 24, 2019 8:52 pm
by Tacman7
I thought that was what the arranger track was for...?

Re: [Macro] Fast way to duplicate parts of your song

Posted: Wed Jul 24, 2019 9:31 pm
by RichardTownsend
Tacman7 wrote:
Wed Jul 24, 2019 8:52 pm
I thought that was what the arranger track was for...?
Yes, if you simply want the section to play twice, but no if you want to change the section you’ve just copied.