15 posts
Page 1 of 1
Is there a way to move individual midi notes by a certain number of miliseconds (ms)?

I know there is a track offset, but I'm trying to work out how to move individual midi notes.
User avatar
by timconway1 on Mon Mar 26, 2018 10:03 am
Maybe not exactly what you want but you can Nudge forward by Alt+ArrowRight or back with Alt+ArrowLeft.

I'm not sure exactly what increment constitutes a "nudge"

Studio One Pro 5.5.2.86528, Mac Mini M1, 16Gb RAM
Focusrite Scarlett 18i20
User avatar
by stevehart1 on Wed Mar 28, 2018 12:19 pm
Thanks for the tip - Alt-Arrow Right (or left) seems to move the note by 1 Midi tick - or some other value, I'm not sure. But I don't think its ms? Possible to set somewhere what this value is?
User avatar
by niles on Thu Apr 05, 2018 2:39 am
stevehart1 wroteThanks for the tip - Alt-Arrow Right (or left) seems to move the note by 1 Midi tick - or some other value, I'm not sure. But I don't think its ms? Possible to set somewhere what this value is?
When you disable Snap it always nudges by 1 ms. When you enable Snap it nudges by the Snap Timebase and the related value.

1 ms nudge
Image

OS: Windows 11 Pro | HW: Gigabyte Z690-UD-DDR4 • INTEL i7 12700K • 64GB • 3x EVO 860 • NVIDIA GT1030 (@WQHD) • RME AIO
User avatar
by stevehart1 on Mon May 07, 2018 3:21 am
I'm trying to move a group of selected midi notes by 300ms - so without nudging 300 times :-) what would be the most efficient way to do this in Studio One?
User avatar
by Lawrence on Mon May 07, 2018 6:40 am
I'll create and attach a script here later that will allow that, typing in any number to nudge selected notes by x random milliseconds.

At some point the larger community needs to get on board with scripting. It's really not that hard and it's perfect for small things like this.
User avatar
by stevehart1 on Mon May 07, 2018 8:01 am
Hei Lawrence, thanks that sounds great.
So I'm looking to select some midi notes in the piano roll, then move them "x" ms one way or the other. I wrote 300ms above, but it can also be other values at other times, so it would be perfect to be able to type in the value.
I know that in Cubase their Logical Editor can select a group of notes then move the notes different amounts depending on velocity. That's my ultimate aim (its actually for a particular instrument, Cinematic Studio Strings, which applies different legatos to midi notes depending on velocity, actually 3 types depending on 3 different ranges of velocity.

But, not to get too complicated, since I use one type mainly, so just ability to move a group of selected notes by a certain number of ms would be great.

Thanks.
User avatar
by Lawrence on Mon May 07, 2018 2:00 pm
Here you go. It doesn't fire until you hit the "Close" button to close it. Can't yet get it working without closing the dialog. Put the package in your application \scripts folder and restart Studio One.

https://www.dropbox.com/s/ygyugc9ty27ss ... ckage?dl=0

The name of the action is Musical Functions > Nudge Events by MS...

You may want to turn snap off manually before firing it if anything looks wrong as the snap toggle action may not always work correctly in it.

nudge.png
nudge.png (9.76 KiB) Viewed 10697 times
User avatar
by stevehart1 on Wed May 16, 2018 1:47 pm
Hei Lawrence,
So sorry to miss this until now.
Thanks so much for the script, it worked like a charm. I just mark the required notes, type in "300" or whatever I need, and tick Back (as that's mostly how I need it) and - bang - it just works.

Thanks so much for doing that. Really appreciated.
User avatar
by Lawrence on Thu May 17, 2018 6:23 am
No problem and you are welcome. It makes a mess of the undo history (it actually should just make a literal time shift in a better case, not 300 nudges) but it works.
User avatar
by stevehart1 on Fri May 18, 2018 1:00 am
Ah, yes, I noticed that it didn't Undo - or rather, as you say, it seems to undo 1ms at a time ... but I can live with that. ;)
User avatar
by aaronbrito on Thu Nov 22, 2018 12:05 am
Hi @Lawrence ,

Can this script be extended in the following way:
1. Select notes of a certain velocity range
2. Move notes by x ms (different ms value for different velocity ranges)

My primary use here would be for libraries like CSS, which has the following parameters/ needs legato notes to be moved back in ms to on the beat.
Velocity 0-64 - shift back by 333 ms
Velocity 65-100 - shift back by 250 ms
Velocity 101-127 - shift back by 100 ms

Extend all notes by the same amount they were shifted back, to keep the overlaps/ legato.
User avatar
by 5Lives on Tue Oct 20, 2020 8:04 pm
Sadly, this seems to be unaddressed in 5.1?

iMac i9 8-core 3.6 gHz, 64GB RAM
Studio One 5.2
Apollo x6 Thunderbolt 3
User avatar
by xoandxo on Sat Apr 03, 2021 8:22 pm
can not work in studio one 5.2
User avatar
by jazzundso on Tue Jun 28, 2022 6:27 am
The Studio One Navigation Essentials extension has the "Nudge Events" command:

https://studioonetoolbox.com/studioonescripts

The CSS functionality above can be easily accoplished with a macro:

- Select Notes (velocity 0-64)
- Nudge Events (333 ms)
- Select Notes (velocity 65-100)
- Nudge Events (250 ms)
etc.

Lukas Ruschitzka
Studio One Specialist
Advanced Studio One Tutorials || Free Studio One Scripts || Studio One Tutorial Database || Studio One Toolbox [ s1toolbox.com ]

Core i7 3.24 GHz, Windows 10, 24 GB RAM, RME HDSP 9632, PreSonus FaderPort, PreSonus Monitorstation, PreSonus Eris 5

Clavia Nord Stage 3 - Moog Sub 37 - YAMAHA MoXF6 - M-Audio Axiom Pro 61 - Kawai ES-920 - Studio One 5 - Notion 6 - Orchestral Tools Junkie XL Horns, ProjectSAM Symphobia, Cinematic Studio Series, Strezov Sampling Afflatus, VSL Synchron Special Edition, KOMPLETE 9 Ultimate

15 posts
Page 1 of 1

Who is online

Users browsing this forum: No registered users and 7 guests