Old 02-19-2013, 06:19 AM   #1
KenC
Human being with feelings
 
KenC's Avatar
 
Join Date: Dec 2012
Location: Denmark
Posts: 376
Default Action to duplicate note octave higher?

I'm trying to come up with an action that copies the selected note and then pastes the copy one octave higher/lower but I can't find anything that works.

I've tried creating an action that copies the selected note, then paste preserving position and then move note one octave, but for some reason some times it doesn't work, some notes it works, others it doesn't and just moves the current note placing the cursor somewhere random.

Here's the action:

Move edit cursor to start of selection.
This moves the edit cursor to the start of the selected note, this way it should always paste at the same place as the note we copy so I don't have to make sure I move the cursor to the start of the note.
Edit: Copy
Copy the selected note.
Edit: Paste preserving position in measure.
Paste the same place as we copied.
Edit: Move notes up one octave.
Some times this works, other times it just does nothing and moves the original note, some times it works but places the new note at a random place after and the edit cursor is also placed somewhere random
Anyone know how to make this work?, it's gonna come in handy when working on voicing.
__________________
i7 Sandy Bridge K2600 16Gb RAM 3x240GB Intel SSD | Win7 Pro 64bit | Reaper x64 | Focal Solo 6 BE, Yamaha NS-10 | Focusrite Saffire Pro 24
KenC is offline   Reply With Quote
Old 02-19-2013, 06:45 AM   #2
FnA
Human being with feelings
 
FnA's Avatar
 
Join Date: Jun 2012
Posts: 2,173
Default

In general I would say copy, move the original notes, then paste. Know what I mean?
FnA is offline   Reply With Quote
Old 02-19-2013, 06:49 AM   #3
KenC
Human being with feelings
 
KenC's Avatar
 
Join Date: Dec 2012
Location: Denmark
Posts: 376
Default

Hmm, the other way around you mean.. gonna try that.

Just weird if I do the steps manually it works fine.

That's how I usually go about doing a custom action, figure out the steps I would do manually then plug them into a custom action.

Maybe it's a speed thing? As in the action does the steps to fast and some get skipped at random.
__________________
i7 Sandy Bridge K2600 16Gb RAM 3x240GB Intel SSD | Win7 Pro 64bit | Reaper x64 | Focal Solo 6 BE, Yamaha NS-10 | Focusrite Saffire Pro 24
KenC is offline   Reply With Quote
Old 02-19-2013, 06:59 AM   #4
FnA
Human being with feelings
 
FnA's Avatar
 
Join Date: Jun 2012
Posts: 2,173
Default

Yeah I sometimes try to put actions together like that and it doesn't work. I don't know about the speed thing. Some of my macros do simple things and take a longer time than the ones that do complicated stuff. There's also things like correct overlapping notes that need to be thought about. Not an expert really...
FnA is offline   Reply With Quote
Old 02-19-2013, 07:33 AM   #5
KenC
Human being with feelings
 
KenC's Avatar
 
Join Date: Dec 2012
Location: Denmark
Posts: 376
Default

Yep, it worked moving the original then pasting the copy in place.

Here's the actions in case anyone else could use it:

Duplicate note one octave higher

Navigate: Move edit cursor to start of selection.
Edit: Copy.
Edit: Move notes up one octave.
Edit: Paste preserving position in measure.
Navigate: Move edit cursor to start of selection.
Navigate: Select next note
Duplicate note one octave lower

Navigate: Move edit cursor to start of selection.
Edit: Copy.
Edit: Move notes down one octave.
Edit: Paste preserving position in measure.
Navigate: Move edit cursor to start of selection.
Navigate: Select previous note

The "Navigate: Move edit cursor to start of selection" is needed to make sure the edit cursor is put at the start otherwise the pasted note ends up after the original. I put it at the end again, so after the pasted note it's ready to play to preview the change.

EDIT: Added select next/previous note, this is so the new note is now selected so you can keep hitting the action.
__________________
i7 Sandy Bridge K2600 16Gb RAM 3x240GB Intel SSD | Win7 Pro 64bit | Reaper x64 | Focal Solo 6 BE, Yamaha NS-10 | Focusrite Saffire Pro 24

Last edited by KenC; 02-19-2013 at 09:40 AM. Reason: Updated action
KenC is offline   Reply With Quote
Old 09-02-2024, 08:53 AM   #6
misterN22
Human being with feelings
 
Join Date: May 2023
Posts: 3
Default

I have a script that is exactly what you need. Separate command to copy selected notes octave down and up


https://stash.reaper.fm/49220/Duplic...ave%20DOWN.lua

https://stash.reaper.fm/49221/Duplic...ctave%20UP.lua
misterN22 is offline   Reply With Quote
Old 09-02-2024, 09:21 AM   #7
Tobbe
Human being with feelings
 
Tobbe's Avatar
 
Join Date: Sep 2009
Location: Northern Lights
Posts: 809
Default

11 years later
__________________
OS: Manjaro KDE Plasma, Reaper For Linux (64Bit) native linux-vst plugins, LSP-Plugins, TpL-Plugins, Harrison's AVA & VST Plugins. Behringer U-PHORIA UMC22.
Tobbe is offline   Reply With Quote
Old 09-04-2024, 12:58 PM   #8
Amely_Suncroll
Human being with feelings
 
Amely_Suncroll's Avatar
 
Join Date: Mar 2021
Posts: 69
Default

Sorry I'm late, but... Perhaps just right now someone is looking for it, too.

__________________
Professional music composer | RoboFace | Academic Scripts | amelysuncroll@gmail.com
Amely_Suncroll is offline   Reply With Quote
Old 09-05-2024, 03:42 AM   #9
Bassman002
Human being with feelings
 
Join Date: Aug 2022
Location: Göppingen, Deutschland
Posts: 371
Default

HI

Often when a script doesn't work you have to input some Wait commands, there are a few with 0.1, 0.5 and 1 second I think...

Bassman.
Bassman002 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:58 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.