Old 06-24-2015, 03:58 PM   #1
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,567
Default Lua: Swing items(beta)

EDIT2:
"Swing Items" is deprecated. Quantize tool is released. Check this thread.


__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate

Last edited by mpl; 11-26-2015 at 01:15 PM.
mpl is offline   Reply With Quote
Old 06-24-2015, 04:11 PM   #2
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,318
Default

Nice Effects and Nice GUI

Can be nice in percussion audio samples !
X-Raym is offline   Reply With Quote
Old 06-24-2015, 04:53 PM   #3
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,673
Default

Very nice mpl. Once you reach this point you can't go back
great to see you in Lua and with gfx windows
heda is offline   Reply With Quote
Old 06-24-2015, 07:06 PM   #4
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,269
Default

You're all geniuses here, geez! This would be so great for making beats using one-shots.
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 07-04-2015, 03:07 AM   #5
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,567
Default

Some improvements
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 07-04-2015, 03:31 AM   #6
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,318
Default

!!!!
Very well done mpl, it is very imprssive a lot of clever ideas in this, with a pretty nice GUI.

Nice work !
X-Raym is offline   Reply With Quote
Old 07-04-2015, 05:28 AM   #7
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,269
Default

Oh dear, this is getting better and better! Great job, mpl!
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 07-04-2015, 06:32 AM   #8
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,412
Default

Nice
IXix is offline   Reply With Quote
Old 07-04-2015, 08:17 AM   #9
beingmf
Human being with feelings
 
beingmf's Avatar
 
Join Date: Jul 2007
Location: Jazz City
Posts: 3,972
Default

OMG! Uber useful, mpl! Great to have you on board!
__________________
Windows 10x64 | ATI FirePro 2260, 8.911.3.4000 | Marian Seraph AD2, 4.0.9.0
Experience the Blunzeworscht!
beingmf is offline   Reply With Quote
Old 07-04-2015, 08:18 AM   #10
spk77
Human being with feelings
 
Join Date: Aug 2012
Location: Finland
Posts: 2,667
Default

That's very nice!
spk77 is offline   Reply With Quote
Old 07-04-2015, 01:01 PM   #11
cjaxis
Human being with feelings
 
cjaxis's Avatar
 
Join Date: Jun 2009
Posts: 129
Default

Dreams come true!
cjaxis is offline   Reply With Quote
Old 07-04-2015, 02:55 PM   #12
Slick
Human being with feelings
 
Join Date: Jun 2013
Location: Russia
Posts: 24
Default

Quote:
Originally Posted by cjaxis View Post
Dreams come true!
Yeah ) I wait this feature about 3 years on Reaper ) Nice work Michael )
Slick is offline   Reply With Quote
Old 07-04-2015, 03:19 PM   #13
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,269
Default

Can someone help me on how to make this work? I thought I just had to copy the code above in an empty txt file, save it and then change the extension to .lua. I'm an ignorant on this scrip stuff, sorry.

[EDIT] Got it in GitHub

[EDIT2] "Quantize_Tool_0.081b" isn't working here. It crashes. I just selected 4 items, switched to quantize items, snap behavior "everything" and direction "closest point". When I click on the swing slider it crashes:

"...\AppData\Roaming\REAPER\Scripts\Quantize_Tool_ 0.081b.lua:44: attempt to compare number with nil"
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway

Last edited by Mercado_Negro; 07-04-2015 at 03:35 PM.
Mercado_Negro is offline   Reply With Quote
Old 07-04-2015, 03:42 PM   #14
PitchSlap
Human being with feelings
 
PitchSlap's Avatar
 
Join Date: Jan 2008
Location: Vancouver, BC
Posts: 3,241
Default

Awesome! I've wanted swing in the main timeline forever
__________________
FRs: v5 Media Explorer Requests, Global Quantization, Session View
Win10 Pro 64-bit, Reaper 6(x64), AMD 3950x, Aorus X570 Master, 64GB DDR4 3600, PowerColor Red Devil 5700XT, EVO 970 2TB, 10TB HD, Define R6
PitchSlap is offline   Reply With Quote
Old 07-04-2015, 05:42 PM   #15
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,567
Default

For now I build some other features, and improve what I already have. So, current script is beta state (that says "if something works here - you're lucky"). Version on github is for guys who can help me with getting some first feedback so I'll can think about their ideas and implementation probably. I'm still totally new for scripting and Reaper, so this script is already massive too much for me. Hope I'll release first good working beta soon

Thank you, guys.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 07-06-2015, 07:38 PM   #16
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 1,952
Default

Hi Mikhail,
Thanks for this script, but for some reason, I get errors.

When I drag-to-select the code from the forum and paste it into a file via the REAPER LUA editor, I get:
...niere\AppData\Roaming\REAPER\Scripts\mpl_Swing items.LUA:250: <eof> expected near 'end'

When I click reply with quote on the forum and I copy/paste the code that way, I get a different error:
...niere\AppData\Roaming\REAPER\Scripts\mpl_Swing items.LUA:1: function arguments expected near 'Items'


Any ideas? I swear I know how to use copy/paste!
__________________
Dax Liniere
London's newest premium studio complex! (Facebook)
[i7-4790K, 12Gb RAM, Win8.1x64, NVidia GT710, UAD2-OCTO, FireFaceUFX, REAPER x64]
daxliniere is offline   Reply With Quote
Old 07-06-2015, 11:56 PM   #17
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 1,952
Default

No worries, will you update this thread when the first beta is available?
__________________
Dax Liniere
London's newest premium studio complex! (Facebook)
[i7-4790K, 12Gb RAM, Win8.1x64, NVidia GT710, UAD2-OCTO, FireFaceUFX, REAPER x64]
daxliniere is offline   Reply With Quote
Old 07-07-2015, 12:01 AM   #18
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,567
Default

Sure!
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 07-07-2015, 05:23 AM   #19
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: brighton, uk
Posts: 12,790
Default

Awesome stuff here! great work!

Subscribed to this thread!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
musicbynumbers is offline   Reply With Quote
Old 07-07-2015, 07:26 AM   #20
David Else
Human being with feelings
 
David Else's Avatar
 
Join Date: Mar 2012
Location: Near London, UK
Posts: 577
Default

Thanks for this, it looks like it will be amazing!
__________________
----------> Fedora Linux Distribution = Computing Joy & Freedom <----------
Learn Digital Audio Home | 'Nebula Explained' Course Out Now! | YouTube Channel | Twitter
David Else is offline   Reply With Quote
Old 07-08-2015, 12:44 PM   #21
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,278
Default

Quote:
Originally Posted by mpl View Post
Some improvements
Wow, now we're talking.
Great stuff!
__________________
Reaper x64, win 8.1
My music on Bandcamp
G-Sun is offline   Reply With Quote
Old 07-23-2015, 02:41 PM   #22
MCCY
Human being with feelings
 
Join Date: Apr 2009
Posts: 291
Default

FINALLY!!! Yes, I wanted that for all the time. Can't wait to try it out... GREAT!!!! THANK YOU!!!
MCCY is offline   Reply With Quote
Old 07-23-2015, 02:57 PM   #23
sinkmusic
Human being with feelings
 
sinkmusic's Avatar
 
Join Date: Feb 2006
Location: decepticon mothership in a hidden place inside a mountain
Posts: 3,422
Default

Hey, this look amazing !
sinkmusic is offline   Reply With Quote
Old 07-23-2015, 03:26 PM   #24
MCCY
Human being with feelings
 
Join Date: Apr 2009
Posts: 291
Default

I only get this:

QUANTIZE.lua:325: 'reaper.BR_GetNextGridDivision' is unknown
MCCY is offline   Reply With Quote
Old 07-23-2015, 04:01 PM   #25
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,318
Default

@MCCY
It neeeds REAPER v5 pre-release and last SWS pre-release (2.7.3 #0) too :P
X-Raym is offline   Reply With Quote
Old 07-24-2015, 11:39 AM   #26
MCCY
Human being with feelings
 
Join Date: Apr 2009
Posts: 291
Default

Hey, thanks, working now!
Any chance for a percentage setting to change quantisation intensity?! That would be really great. I don't like hardquantisation even when swinging:-) allways leave some human feel in there...

But NIIIICCCEEEE!!!!

Ah, I see, there should be a strength box... but couldn't find its function working so far...
MCCY is offline   Reply With Quote
Old 07-24-2015, 03:44 PM   #27
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,567
Default

It is a slider inside "apply" button. But may not working as should, I'll take a look.
Also I'll build "gravity" function, so not all selected objects will be quantized, but only if reference groove points will be near.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 07-25-2015, 03:22 AM   #28
MCCY
Human being with feelings
 
Join Date: Apr 2009
Posts: 291
Default

So much fun... Thank you!

www.derknott.de/boing.mp3
MCCY is offline   Reply With Quote
Old 07-26-2015, 10:39 AM   #29
MCCY
Human being with feelings
 
Join Date: Apr 2009
Posts: 291
Default

Strength settings seem to work with items. With stretch markers only first few left millimeters make a difference, so that is rather a scaling issue?!

That gravity function seems to be a great idea!!! I am curious & excited!
MCCY is offline   Reply With Quote
Old 07-26-2015, 10:47 AM   #30
MCCY
Human being with feelings
 
Join Date: Apr 2009
Posts: 291
Default

Some time ago I somewhere in the forum read about the idea to prevent transient area to be streched... Wouldn't that be a fantastic feature to add?

For my logic there'd have to be three strechmarkers for one (one extremely short before the modified one & one some (adjustable!?) milliseconds after the one which is quantized and then all three grouped together. The one in the middle is quantized to whatever groove, the grouped ones being moved along, so that trnsients are not streched!
MCCY is offline   Reply With Quote
Old 07-26-2015, 11:02 AM   #31
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,567
Default

It is possible. But before building this i want to finish basic functionality.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 07-26-2015, 11:41 AM   #32
MCCY
Human being with feelings
 
Join Date: Apr 2009
Posts: 291
Default

YES! Great news! Take the time you need! Is there a way to place a small donation for your efforts?!

Just playing around with different stretch algos and settings. Wow, this is really great. I Like the dirac stretch for drums, it seems to have less artifacts! I don't care, if people say strechmarkers are no good on most materials... It's just helping me, to finish my musical ideas & sweetens up listening (i hate nothing more than rhythmical chaos :-) - so of course practicing is a good strategy too...but results come in so slowly)...
MCCY is offline   Reply With Quote
Old 07-28-2015, 12:45 PM   #33
MCCY
Human being with feelings
 
Join Date: Apr 2009
Posts: 291
Default

I will remember, when there is Money on my Paypal. Sorry, wondering why it will not send money as it does when paying something via ebay :-( (it never refuses to pay there)
MCCY is offline   Reply With Quote
Old 07-28-2015, 08:38 PM   #34
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 1,952
Default

Hey Mikhail,
I tried to send money to you, too, but it just tells me "We're sorry. We can't send your payment right now. If this problem continues, please contact us."

Perhaps your account has some block on it? Or maybe it's the Russian connection, they assume we're funding communism, which the US hates because it threatens the power of money, but that's another story...

(I'm in Australia, BTW)


Also, I can't see the DL link in the first post. Is this ready for public consumption?
__________________
Dax Liniere
London's newest premium studio complex! (Facebook)
[i7-4790K, 12Gb RAM, Win8.1x64, NVidia GT710, UAD2-OCTO, FireFaceUFX, REAPER x64]
daxliniere is offline   Reply With Quote
Old 07-28-2015, 10:28 PM   #35
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,567
Default

Hi, I didn't use PayPal or something for donations before, so it seems to be I don't know how to use it. Forget about it, and use this tool free as regular script

There is link to github in first post, but it still beta state. Hope I release it this fall (September maybe).
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 07-28-2015, 10:37 PM   #36
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 1,952
Default

Quote:
Originally Posted by mpl View Post
Hi, I didn't use PayPal or something for donations before, so it seems to be I don't know how to use it.
No, it's not even that. Even if I log into PP and try to send money, it won't let me send to your address. Are you linked with terror organisations? :P
__________________
Dax Liniere
London's newest premium studio complex! (Facebook)
[i7-4790K, 12Gb RAM, Win8.1x64, NVidia GT710, UAD2-OCTO, FireFaceUFX, REAPER x64]
daxliniere is offline   Reply With Quote
Old 07-28-2015, 10:39 PM   #37
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 1,952
Default

To avoid confusion that this is some lesser quantise tool, you should give it a name like "Master Quantize Tool".
__________________
Dax Liniere
London's newest premium studio complex! (Facebook)
[i7-4790K, 12Gb RAM, Win8.1x64, NVidia GT710, UAD2-OCTO, FireFaceUFX, REAPER x64]
daxliniere is offline   Reply With Quote
Old 07-28-2015, 10:41 PM   #38
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 1,952
Default

Oh, this is the error I get:

...Data\Roaming\Reaper\Scripts\mpl_Master Quantise Tool.LUA:197: attempt to perform arithmetic on a nil value (global 'new_pos_temp')


(tested on SMs)
__________________
Dax Liniere
London's newest premium studio complex! (Facebook)
[i7-4790K, 12Gb RAM, Win8.1x64, NVidia GT710, UAD2-OCTO, FireFaceUFX, REAPER x64]
daxliniere is offline   Reply With Quote
Old 07-28-2015, 10:52 PM   #39
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,567
Default

Well, because of this my tool is still beta state))
What "quantize tool" you talking about, can you post link to this?
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 07-29-2015, 01:09 AM   #40
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 1,952
Default

Quote:
Originally Posted by mpl View Post
What "quantize tool" you talking about, can you post link to this?
There are the built-in quantise actions, plus several SWS and others' scripts.
__________________
Dax Liniere
London's newest premium studio complex! (Facebook)
[i7-4790K, 12Gb RAM, Win8.1x64, NVidia GT710, UAD2-OCTO, FireFaceUFX, REAPER x64]
daxliniere 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 08:25 AM.


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