Old 07-02-2017, 06:28 AM   #1
tusitala
Human being with feelings
 
tusitala's Avatar
 
Join Date: Apr 2010
Location: London (UK)
Posts: 352
Default "Paste at Original Position" is it possible?

Hi...I'm trying to find a way to perform a "paste" option i was so used to in Logic...it's called "Paste at Original Position" which means that i copy events from a track (notes, ccs, whatever...) , i select another track, hit "paste at original position" and regardless of where my play and edit cursors are, those events get pasted in the new track exactly at the same position they are in the original track...

...very handy for example when copying and pasting unison phrases between different instruments.


Does anyone have an idea on how to achieve that?

i only found a "paste preserving position in bar" but it's not what i'm looking for.


thanks a lot in advance for your help!

all the best!
-t
tusitala is offline   Reply With Quote
Old 07-02-2017, 06:51 AM   #2
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,463
Default

Quote:
i copy events from a track (notes, ccs, whatever...)
You can`t copy notes and CC`s from track. Track hold items, items hold takes, takes hold MIDI events. Maybe this trick will work:

copy:
Edit: Set time selection to selected notes
Move cursor to start of time selection
SWS/BR: Save edit cursor position, slot 01
Edit: Copy events within time selection

paste
SWS/BR: Restore edit cursor position, slot 01
Edit: Paste
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 07-02-2017, 07:01 AM   #3
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 14,632
Default

here is a custom action that does something like you want...

there certainly could be other ways

with this one you just select the item and then run the action

you will need to have SWS extentions installed and learn how to create custom actions

Quote:
Custom action name: Paste Item at Original Position to New Track

Item: Select item under mouse cursor
SWS: Set time selection to selected items (skip if time selection exists)
Item: Select all items in current time selection
SWS/FNG: Unselect items that do not start in time selection
Edit: Copy items
Track: Insert new track
SWS/AW: Paste
Time selection: Remove time selection
PS oh I see you wanted just midi notes, not whole items...
well it seems MPL has ya covered
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain

Last edited by hopi; 07-02-2017 at 07:12 AM.
hopi is offline   Reply With Quote
Old 07-02-2017, 07:09 AM   #4
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 786
Default

Not exactly, but you can drag/copy clips (MIDI or audio) from one track to another whilst preventing any sideways movement. You may need to set this up though in Mouse Modifiers...

In my case, I have the 'Media Item' mouse modifier Ctrl-Shift-leftdrag set to Copy Items Vertically and the Shift-leftdrag set to Move Items Vertically.

You can drag-copy/drag-move selected whole clips or, if you have a time selection set, the items will auto-split and you can drag the time-selected section.

Here's an animated GIF which shows me:

- SHIFT-dragging a clip (move the item vertically)
- CTRL-SHIFT-dragging a clip (copy the item vertically)
- CTRL-SHIFT-dragging a clip with timeline active (split and copy the item vertically)

https://goo.gl/s7G2m4
uncleswede is online now   Reply With Quote
Old 07-02-2017, 07:34 AM   #5
tusitala
Human being with feelings
 
tusitala's Avatar
 
Join Date: Apr 2010
Location: London (UK)
Posts: 352
Default

Thank you very much guys, and apologies if my request was not entirely clear, my fault!

I meant within the midi editor...for example:
select an Oboe phrase of a few notes from the midi editor, and paste it inside a midi item i already created...

here's what i mean:



anyway i'll try creating a custom action as you suggested, thanks!

all the best!
-t
tusitala is offline   Reply With Quote
Old 07-02-2017, 08:01 AM   #6
tusitala
Human being with feelings
 
tusitala's Avatar
 
Join Date: Apr 2010
Location: London (UK)
Posts: 352
Default

Quote:
Originally Posted by mpl View Post
You can`t copy notes and CC`s from track. Track hold items, items hold takes, takes hold MIDI events. Maybe this trick will work:

copy:
Edit: Set time selection to selected notes
Move cursor to start of time selection
SWS/BR: Save edit cursor position, slot 01
Edit: Copy events within time selection

paste
SWS/BR: Restore edit cursor position, slot 01
Edit: Paste

Hi!
I tried this but it doesn't work...when i paste it pastes at the current cursor position instead of recalling the one i asked...mmm
tusitala is offline   Reply With Quote
Old 07-02-2017, 08:18 AM   #7
AugerJ
Human being with feelings
 
Join Date: Dec 2015
Posts: 394
Default

Quote:
Originally Posted by tusitala View Post
Thank you very much guys, and apologies if my request was not entirely clear, my fault!

I meant within the midi editor...for example:
select an Oboe phrase of a few notes from the midi editor, and paste it inside a midi item i already created...

here's what i mean:



anyway i'll try creating a custom action as you suggested, thanks!

all the best!
-t
I think this way should be simple enough:
1) select the notes;
2) run this action:
Navigate: Move edit cursor to start of selected events ;
3) copy;
4) pick another item (the destination);
5) paste.

With a shortcut assigned to that action it should be even faster than finding
Paste at Original Position
in context menu.
AugerJ is offline   Reply With Quote
Old 07-02-2017, 08:24 AM   #8
AugerJ
Human being with feelings
 
Join Date: Dec 2015
Posts: 394
Default

Quote:
Originally Posted by tusitala View Post
Hi!
I tried this but it doesn't work...when i paste it pastes at the current cursor position instead of recalling the one i asked...mmm
Why does the cursor position change?

I like this setting:
Options — Preferences... — Audio — Seeking —
Seek playback when clicked:
Top ruler.
(Empty areas — unticked.)
AugerJ is offline   Reply With Quote
Old 07-02-2017, 09:20 AM   #9
AugerJ
Human being with feelings
 
Join Date: Dec 2015
Posts: 394
Default

Quote:
Originally Posted by tusitala View Post
Hi!
I tried this but it doesn't work...when i paste it pastes at the current cursor position instead of recalling the one i asked...mmm
That's probably because the arrange (or Main) window is active when you paste — and the action is in the MIDI Editor section, isn't it?

What works:

MIDI Editor section of the Action list,
custom action to copy:

Navigate: Move edit cursor to start of selected events
SWS/BB: Save edit cursor position, slot 1
Edit: Copy

Custom action to paste:

SWS/BR: Restore edit cursor position, slot 1
Edit: Paste

The Main section,
custom action to paste:

SWS/BR: Restore edit cursor position, slot 1
SWS/AW: Paste

Two sections, the same action — the same shortcut.

Maybe it's not elegant (a bit of an overkill), maybe it would be enough if I made an action (to paste) for the Main window and set the Pass through key in the MIDI Editor section.
But I started in the MIDI Editor section, so...
AugerJ is offline   Reply With Quote
Old 07-02-2017, 11:00 AM   #10
tusitala
Human being with feelings
 
tusitala's Avatar
 
Join Date: Apr 2010
Location: London (UK)
Posts: 352
Default

Quote:
Originally Posted by AugerJ View Post
That's probably because the arrange (or Main) window is active when you paste — and the action is in the MIDI Editor section, isn't it?

What works:

MIDI Editor section of the Action list,
custom action to copy:

Navigate: Move edit cursor to start of selected events
SWS/BB: Save edit cursor position, slot 1
Edit: Copy

Custom action to paste:

SWS/BR: Restore edit cursor position, slot 1
Edit: Paste

The Main section,
custom action to paste:

SWS/BR: Restore edit cursor position, slot 1
SWS/AW: Paste

Two sections, the same action — the same shortcut.

Maybe it's not elegant (a bit of an overkill), maybe it would be enough if I made an action (to paste) for the Main window and set the Pass through key in the MIDI Editor section.
But I started in the MIDI Editor section, so...

Hi!
thanks a lot for your help!
it works! actually to make it work i had to delete the "paste" custom action from the midi editor menu, and just create the second one in the main section, assign a shortcut to it, then in the midi editor section add this shortcut to the "pass through etc etc"...this way it works perfectly.
with both the paste actions it didn't work because the cursor position wasn't recalled, don't know why...

anyway, now it works! thanks!
tusitala is offline   Reply With Quote
Old 07-02-2017, 05:41 PM   #11
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 14,632
Default

I just have these working in the midi ed...

but have them on a toolbar there

so with several tracks open in the midi ed
make one active and select whatever notes
clk on the toolbar for the copy action [custom action]

then select whatever other track you want to paste to
and clk on the paste action in the toolbar [custom action]

PS: was thinking the paste action might like to have another instance of restore edit cursor pos slot 1 at the end so the cursor goes back to where we started.... also kewl then to hit space bar for play from that position
or... it could be moved further to the left before play to hear what was pasted in context...
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain
hopi is offline   Reply With Quote
Old 07-02-2017, 07:11 PM   #12
AugerJ
Human being with feelings
 
Join Date: Dec 2015
Posts: 394
Default

Quote:
Originally Posted by hopi View Post
PS: was thinking the paste action might like to have another instance of restore edit cursor pos slot 1 at the end so the cursor goes back to where we started....
Yes, in Logic this "Paste at original position" command doesn't move the cursor.
So, to kinda mimic that behavior

"copy" action (MIDI Editor section):

SWS/BB: Save edit cursor position, slot 1
Navigate: Move edit cursor to start of selected events
SWS/BB: Save edit cursor position, slot 2
Edit: Copy

and "paste" action (Main section):

SWS/BR: Restore edit cursor position, slot 2
SWS/AW: Paste
SWS/BR: Restore edit cursor position, slot 1
AugerJ 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 02:26 AM.


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