Old 07-08-2019, 01:40 PM   #1
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,465
Default MPL PitchEditor: melodyne-like editing take pitch envelope

Since there is no ReaTune alternative for offline pitch tuning in REAPER, I`ve built something with ReaScript. Not sure I take into account everything correctly so for now use and try it on your own risk.



How to use:
1) select audio take
2) click "Analyze take", it will trigger EEL script, depending on take length can freeze REAPER for couple of seconds. Thats normal. Once take is analyzed, it will load data immediately later (so data is cached inside RPP).
3) drag blocks, it will edit take pitch envelope.

I used https://stash.reaper.fm/v/30507/pitch-follower for pitch detection references with some modifications and adaptation.

Not really usable for now, but what do you think?


Todo:
blocks modulation
blocks drift
blocks amp
blocks formant (Reapitch formant envelope)
incoming pitch data editing
display play cursor
convert to MIDI + pitchwheel
ghost selected MIDI item data

Requirements:
REAPER 5.97+
SWS Extension 2.9.7+
ReaPack 1.2+
Download: ReaPack.com (MPL`s repository is embedded into default ReaPack configuration)

Install:
  • run ActionList > ReaPack: Browse packages...
  • navigate and install PitchEditor and Various_functions packages
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate

Last edited by mpl; Yesterday at 05:10 AM.
mpl is offline   Reply With Quote
Old 07-08-2019, 02:22 PM   #2
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 5,874
Default

Really advanced script, well done ! Thanks for sharing
X-Raym is offline   Reply With Quote
Old 07-08-2019, 03:23 PM   #3
reapero
Human being with feelings
 
Join Date: Aug 2011
Posts: 184
Default

Wow! This los great!
reapero is online now   Reply With Quote
Old 07-08-2019, 04:48 PM   #4
Dafarkias
Human being with feelings
 
Dafarkias's Avatar
 
Join Date: Feb 2019
Location: England
Posts: 106
Default

Absolutely love the idea of having melodyne-like capabilities that could be micro-editing via envelopes.

Really hope this blossoms!
Dafarkias is offline   Reply With Quote
Old 07-09-2019, 04:09 AM   #5
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 14,634
Default

interesting idea... still a long way from melodyne of course
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain
hopi is online now   Reply With Quote
Old 07-09-2019, 05:17 AM   #6
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 549
Default

WOW! Amazing!
todd_r is offline   Reply With Quote
Old 07-09-2019, 05:31 AM   #7
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 549
Default

I got the following error when first trying to move blocks...

...rious\mpl_PitchEditor_functions/mpl_PitchEditor_data.lua:241: bad argument #1 to 'DeleteEnvelopePointRange' (TrackEnvelope expected)

worked after re-launching
todd_r is offline   Reply With Quote
Old 07-09-2019, 06:58 AM   #8
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 133
Default

Amazing!
cool is online now   Reply With Quote
Old 07-09-2019, 09:37 PM   #9
_TIP_
Human being with feelings
 
_TIP_'s Avatar
 
Join Date: Apr 2014
Location: NY
Posts: 105
Default

This is brilliant MPL, thank you so much for your hard work, i can't wait to start using it!!!
_TIP_ is offline   Reply With Quote
Old 07-09-2019, 10:00 PM   #10
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 7,280
Default

Amazing !!!!

As you are at such a level of expertise with scripting, you might consider something with a different functionality of melodyne's: generating a tempo map from an audio (say drum) track.

Recently there was a thread in the forum providing a script that allows for using one of two free tools for this. I did not have the time to check it out, but I definitively will ASAP.

But having this ability at your fingertips right within Reaper by a script of yours would be awesome !

-Michael (if it works I will write a Reascript "about" for it )
mschnell is offline   Reply With Quote
Old 07-10-2019, 07:19 AM   #11
MEMFIS_AKA
Human being with feelings
 
MEMFIS_AKA's Avatar
 
Join Date: Jul 2017
Posts: 31
Default

radical
MEMFIS_AKA is offline   Reply With Quote
Old 07-10-2019, 07:55 AM   #12
Jason Brian Merrill
Human being with feelings
 
Jason Brian Merrill's Avatar
 
Join Date: Jun 2006
Location: Northeastern PA, USA
Posts: 20,801
Default

are you fucking kidding me? this is amazing
__________________
Beliefs do not require respect. People do.
Jason Brian Merrill is offline   Reply With Quote
Old 07-10-2019, 08:06 AM   #13
MEMFIS_AKA
Human being with feelings
 
MEMFIS_AKA's Avatar
 
Join Date: Jul 2017
Posts: 31
Default

Quote:
Originally Posted by mpl View Post
Can you share example?
Михаил, я добавил сэмпл в "проект"..почему-то изменился плейрейт. Я не понимаю почему.
Как только я его сбросил, скрипт заработал.
С изменённым плейрейтом короче не работает. Может это поможет как то доработать скрипт.
MEMFIS_AKA is offline   Reply With Quote
Old 07-10-2019, 11:27 AM   #14
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,465
Default

Quote:
Originally Posted by MEMFIS_AKA View Post
Михаил, я добавил сэмпл в "проект"..почему-то изменился плейрейт. Я не понимаю почему.
Как только я его сбросил, скрипт заработал.
С изменённым плейрейтом короче не работает. Может это поможет как то доработать скрипт.
Ah, yeah, for now it doesn't support take with non-1x playrate, stretch markers and non zero offset in some cases (the analyser eel script message that).
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 07-10-2019, 01:00 PM   #15
Stevie
Human being with feelings
 
Stevie's Avatar
 
Join Date: Feb 2015
Location: Urkrain/Russia
Posts: 189
Default

awesome, totlly shoked

can i not request but offer maybe?

1. Playback cursore
2. Simple way to RESET note position (double click or so)
3. Key tonality snaping / or just highlight the note in current key
4. The way to glide notes

and again, im not asking for it, just saying,
i understand that u are working for free.
i'm so happy to see your scripts, it is amazing
and thanks for sharing, god bless you.
Stevie is offline   Reply With Quote
Old 07-10-2019, 01:01 PM   #16
Stevie
Human being with feelings
 
Stevie's Avatar
 
Join Date: Feb 2015
Location: Urkrain/Russia
Posts: 189
Default

ps. one of that things that should be in R. by default
Stevie is offline   Reply With Quote
Old 07-10-2019, 01:26 PM   #17
bwsd
Human being with feelings
 
Join Date: May 2011
Location: KZ ALA
Posts: 38
Default

Миша, ну супер. Дождались. Я был уверен что это будешь ты.
Замечание: на малых регионах не срабатывает детект.
Как поделить один длинный "кирпич" на два?

MPL, well, super. I was sure it would be you.
Note: in small regions the detector does not work.
How to divide one long "brick" into two small ones?
bwsd is offline   Reply With Quote
Old 07-10-2019, 07:44 PM   #18
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,465
Default

Quote:
Originally Posted by bwsd View Post
MPL, well, super. I was sure it would be you.
Note: in small regions the detector does not work.
How to divide one long "brick" into two small ones?
Note separation: coming soon.
Can you share to me audio example at m.pilyavskiy @ gmail dot com?
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 07-10-2019, 08:03 PM   #19
lachinhan
Human being with feelings
 
lachinhan's Avatar
 
Join Date: Nov 2014
Location: Can Tho - Viet Nam
Posts: 122
Default

Quote:
Originally Posted by mpl View Post
Note separation: coming soon.
Awesome! I can't wait any longer

Thank you! Thank you so much!
__________________
NK Recording Studio
Email: lachinhan@gmail.com or admin@thuamninhkieu.com
Website:nkpro.top
lachinhan is offline   Reply With Quote
Old 07-15-2019, 04:22 AM   #20
Indiscipline
Human being with feelings
 
Indiscipline's Avatar
 
Join Date: Apr 2016
Posts: 54
Default

Getting lots of this on analyzing:
Code:
str_insert: will not grow string since it is already 65540 bytes
Indiscipline is offline   Reply With Quote
Old Yesterday, 02:03 AM   #21
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,465
Default

Quote:
Originally Posted by Indiscipline View Post
Getting lots of this on analyzing:
Code:
str_insert: will not grow string since it is already 65540 bytes
Seems like a EEL limitation, for now I added 64000 string length limit.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl 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 09:35 AM.


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