Old 06-25-2022, 12:08 AM   #1
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default MPL Sampling tool: dump vst intrument into sampler

MPL Sampling tool is a Lua script for REAPER.

It is designed to dump played MIDI notes from some instrument to a RS5k sampler.

How to use:
1) select track with instrument
2) click "Start sampling"

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

Install:
  • run ActionList > ReaPack: Browse packages...
  • navigate and install (rightclick) Sampling tool and Various_functions packages, then click 'Apply'
  • run ActionList > ReaPack: Synchronize packages

Telegram channel for MPL scripts: http://t.me/mplscripts_chat

Attached Images
File Type: jpg Untitled.jpg (47.6 KB, 1148 views)

Last edited by mpl; 08-06-2022 at 03:53 PM.
mpl is offline   Reply With Quote
Old 06-25-2022, 12:17 PM   #2
DaniloVillanova
Human being with feelings
 
Join Date: Jan 2019
Posts: 245
Default

Absolutely legendary. Thank you for your amazing contributions!
DaniloVillanova is offline   Reply With Quote
Old 06-25-2022, 01:38 PM   #3
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 855
Default

Hi MPL,

I get the following error on step 2, I tried changing the tail length in preferences to zero, but still the same



Thanks
Attached Images
File Type: jpg Screenshot 2022-06-25 213520.jpg (14.2 KB, 1228 views)
todd_r is offline   Reply With Quote
Old 06-25-2022, 02:35 PM   #4
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by todd_r View Post
Hi MPL,

I get the following error on step 2, I tried changing the tail length in preferences to zero, but still the same



Thanks
This is because some time ago [REAPER] section in reaper.ini was lower case. I fixed that yestaerday for latest Various_functions package. Update it and all should be fine.
mpl is offline   Reply With Quote
Old 06-25-2022, 02:48 PM   #5
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 855
Default

All was up to date, so reinstalled and still got the same.

My various functions version is 3.21, updated 24th June.
todd_r is offline   Reply With Quote
Old 06-26-2022, 09:51 AM   #6
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Nevermind, it doesn`t dependes on tail settings now, I`ll take sample boundaries from item startoffset/length. Update and it should be fine.

Also added a fill boundaries feature, that means you can sample 60-72 notes instead full range. Boundary notes will be it semitone-shifted mode shared across full range.
mpl is offline   Reply With Quote
Old 06-26-2022, 01:22 PM   #7
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 855
Default

Thanks MPL, that errors gone, but now get this at step 4...

Attached Images
File Type: jpg Screenshot 2022-06-26 212029.jpg (10.5 KB, 1152 views)
todd_r is offline   Reply With Quote
Old 06-26-2022, 03:23 PM   #8
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Ah the (cropped) items should be selected before sampling, and the settings should not be changed between steps. Probably I need to rename it for better handling at the rs5k side.

I`ll think how to implement sampling in one click (collect all these operations) rather doing step-by-step, to prevent all this issues.
mpl is offline   Reply With Quote
Old 06-27-2022, 12:26 PM   #9
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

I simplified everything and put all the operations into single button for v1.04.
mpl is offline   Reply With Quote
Old 07-08-2022, 07:06 AM   #10
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 855
Default

Quote:
Originally Posted by mpl View Post
I simplified everything and put all the operations into single button for v1.04.
That sorted it, thanks!
todd_r is offline   Reply With Quote
Old 08-06-2022, 01:34 PM   #11
fotisandstuff
Human being with feelings
 
Join Date: Aug 2020
Location: Greece
Posts: 44
Default

This is awesome! Could you please add a setting to pick the velocity of the MIDI notes that are being rendered?
fotisandstuff is offline   Reply With Quote
Old 08-06-2022, 11:01 PM   #12
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by fotisandstuff View Post
This is awesome! Could you please add a setting to pick the velocity of the MIDI notes that are being rendered?
Is that even possible for RS5k to load single source with defined edges for multiple files (velocities)? I can generate MIDI with something like
Code:
note 1 vel 0
note 1 vel 1
note 1 vel 2
...
note 1 vel 127
note 2 vel 0
note 2 vel 1
and then do an "apply FX", but even for 12 notes it is 1524 items supposed to be used as source, which is a hell if we decide to add new insance for each note each velocity.
Full plugin sampling will be like 16129 samples (127notes*127velocities) as source.
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 05:27 PM.


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