Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 02-07-2017, 11:34 AM   #1
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default ReaSamplomatic - please, better tuning control

FR: midi learnable 1 cent, 10 cent pitch adjustment buttons

RS5k is my drum sampler of choice. just finished an electronic album that will reach a LOT of people using rs5k as my drum sampler.

tuning is of very serious consideration for drum sampling. kick drums tuned improperly sound terrible.

RS5k tuning has mouse control and manual entry control. modifier-key movement of the tuning knob has a minor effect on resolution of pitch adjustment compared to normal mouse adjustment.

this is not enough. i am constantly doing manual adjustment, typing in some cents adjustment of the tune of the sample. especially for kick drums. rs5k is just about the best 1shot sampler ever but the fact that i have to manually type in these adjustments KILLS me. i would really benefit from the ability to change the pitch when focused (functionality exists!!!) via midi.
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 02-07-2017, 12:19 PM   #2
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

simplify FR: buttons for +-1 cent, +-10 cent adjustments.

rsk5 is a fucking awesome oneshot sampler. please make my life more awesome.
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 02-07-2017, 12:27 PM   #3
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

It also can load multi samples: http://forum.cockos.com/showthread.php?t=187440

Yes, it would be great to have such a simple, but very powerful feature.
vitalker is offline   Reply With Quote
Old 03-11-2017, 08:09 PM   #4
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Lokasenna_Adjust ReaSamplomatic 5000 Pitch Offset.lua should be arriving on ReaPack shortly. It provides actions for +/- 0.01, 0.05, 0.1, and 0.5 semitones, directing them to the active RS5K window.

The Action List lets you use MIDI Learn to bind stuff, so hopefully that helps. Enjoy.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 03-13-2017, 07:28 AM   #5
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

very exciting! i'll keep an eye out for this. your text doesn't specify +-1 full semitone, is that available as well?

would these be easily editable by bottomfeeders like me to apply to other RS5k params that are currently too fine to be used reasonably with absolute CC values? i need +-1ms, 5ms, 10ms etc for attack, decay, sustain, release, etc
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 03-13-2017, 08:29 AM   #6
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

I can add 1 s.t. actions, sure.

As for editing... yes and no. Changing different parameters is just a matter of changing one number in the script.

BUT

the format that parameters are displayed in (1ms, +1.5 semitones, etc) isn't how they're actually handled - everything is just a really long decimal value from 0 to 1. I had to write another script that just spits out all of RS5K's values and compare what it gave me for Pitch Offset at 0 vs +0.01 to find the right multiplier, so when I have the time I can definitely try to do that with all of the other parameters as well.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 03-13-2017, 08:50 AM   #7
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

awesome, thank you very much for (all of your work) this.

i have been hoping that the devs would add user-adjustable high params for ADSR params because right now they are "set" at specific highs that are useless for short samples or long samples that are longer than the high limit.

note that if you mouse the knob for attack on a short oneshot sample, it has a (desired behavior) upper limit of the sample length. however, if you assign it to a CC, it maxes out at 2000 ms instead of obeying sample length limitations.

hence, a dedicated +- smaller value adjustment will be very useful, more useful than low-resolution cc could ever be.
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 03-13-2017, 09:15 AM   #8
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Updated with the 1 s.t. actions.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 03-13-2017, 01:49 PM   #9
Vincent Sermonne
Petit manitou
 
Vincent Sermonne's Avatar
 
Join Date: Feb 2009
Location: Gémenos France
Posts: 7,347
Default

Lokasenna, thank's but how to get down ?
__________________
Vincent
http://www.tchackpoum.fr
Vincent Sermonne is offline   Reply With Quote
Old 03-13-2017, 02:01 PM   #10
Vincent Sermonne
Petit manitou
 
Vincent Sermonne's Avatar
 
Join Date: Feb 2009
Location: Gémenos France
Posts: 7,347
Default

with the LBX stripper script you can do something fine for work with RS5K
__________________
Vincent
http://www.tchackpoum.fr
Vincent Sermonne is offline   Reply With Quote
Old 03-13-2017, 02:22 PM   #11
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Oh, I forgot to provide a link for non-ReaPack people.

Here's the main script: https://github.com/ReaTeam/ReaScript...h%20Offset.lua

And here are all of the actions. Put them in the subfolder "/Lokasenna_Adjust ReaSamplomatic 5000 Pitch Offset/" next to wherever you saved the script above:

https://github.com/ReaTeam/ReaScript...0semitones.lua
https://github.com/ReaTeam/ReaScript...0semitones.lua
https://github.com/ReaTeam/ReaScript...0semitones.lua
https://github.com/ReaTeam/ReaScript...0semitones.lua
https://github.com/ReaTeam/ReaScript...20semitone.lua
https://github.com/ReaTeam/ReaScript...0semitones.lua
https://github.com/ReaTeam/ReaScript...0semitones.lua
https://github.com/ReaTeam/ReaScript...0semitones.lua
https://github.com/ReaTeam/ReaScript...0semitones.lua
https://github.com/ReaTeam/ReaScript...20semitone.lua
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 03-13-2017, 05:25 PM   #12
Arthur McArthur
Human being with feelings
 
Arthur McArthur's Avatar
 
Join Date: Sep 2016
Location: Toronto
Posts: 744
Default

Lokasenna you're a legend!
Arthur McArthur is offline   Reply With Quote
Old 03-13-2017, 05:33 PM   #13
Arthur McArthur
Human being with feelings
 
Arthur McArthur's Avatar
 
Join Date: Sep 2016
Location: Toronto
Posts: 744
Default

Just donated to you again, thanks for your work man
Arthur McArthur is offline   Reply With Quote
Old 03-25-2017, 10:00 AM   #14
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Small update, added an action for "reset to 0.0 semitones".

For those not on ReaPack: https://github.com/ReaTeam/ReaScript...0semitones.lua
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 04-05-2017, 06:04 AM   #15
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

this is great, thank you so much!!!

hoping to see actions for envelope as well.
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 04-05-2017, 06:45 AM   #16
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

Quote:
Originally Posted by Lokasenna View Post
It provides actions for +/- 0.01, 0.05, 0.1, and 0.5 semitones, directing them to the active RS5K window.
so, "active" window only apparently means window that has been clicked on by the mouse.

i'm using my controller here, to select and open FX dialog for each of 16 different drum sample tracks w/ RS5k instances.

i use a midi note to trigger/open the RS5k instance in question and then attempt to use your scripts to change the tuning - no success, until i manually click on the FX window.

is there any way around this? it's unfortunately a defeater for the function purpose, which was to avoid having to use the mouse at all.

i would be content for a functional similarity to REAPER's learn mode where the learn only functions when the track is selected.
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 04-05-2017, 07:18 AM   #17
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

additional note regarding "Active" track:

if you use actions to open FX dialogs for different tracks, you'll run into this:

1- mouse to track A with RS5k. open FX dialog
2- use Lok scripts to retune RS5k
3- use an action to open track B's FX dialog (containing RS5k)
4- trigger Lok scripts to attempt to retune track B
5- issue: track A is still considered "active" and receives Lok script commands
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 04-05-2017, 07:36 AM   #18
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Sorry, yeah, at the moment the script asks Reaper for the "focused" FX window. There's a separate command for the "last touched" window, so I can make a test version for you to see if that behaves better.

My other scripts seem to have reached relatively-bug-free states, so I'm hoping to be able to put some time into a more generalized version of this idea.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 04-05-2017, 07:43 AM   #19
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

thanks! i'll be watching.
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 04-12-2017, 04:32 PM   #20
Ice
Human being with feelings
 
Join Date: Aug 2014
Posts: 887
Default

I'm on board for a +/_ cents knob. I'm not sure if the Reapack scripts will do what I want, which is to:

Assign a MIDI controller to the cents pitch controller. For sound design I use this a LOT in Iris, to detune (and real-time alter) one "layer" from another for great flanging manipulation.

But I currently can't do that in Reasamplomatic. The semitones knob is far too coarse for what I need. I type in numbers, but I need a controller to dial it in fast, and change it over time.
Ice is offline   Reply With Quote
Old 04-12-2017, 09:04 PM   #21
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Updated to 1.3:
  • Added support for relative MIDI CCs. Bind a knob to any of the Up actions and set it to one of the Relative modes. You can bind it to the Down actions if you want but it'll work backwards. All I have to test with is an old Korg microKontrol which doesn't let you send relative messages, so while it seems to work properly on my hacked-together setup it may be complete crap for everyone else.

  • Now uses a more accurate internal multiplier; I noticed that it was adding a cent of error every 13 semitones or so.

Enjoy, assuming it works.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 04-13-2017, 06:01 PM   #22
Ice
Human being with feelings
 
Join Date: Aug 2014
Posts: 887
Default

Quote:
Originally Posted by Lokasenna View Post
Updated to 1.3:
  • Added support for relative MIDI CCs. Bind a knob to any of the Up actions and set it to one of the Relative modes. You can bind it to the Down actions if you want but it'll work backwards. All I have to test with is an old Korg microKontrol which doesn't let you send relative messages, so while it seems to work properly on my hacked-together setup it may be complete crap for everyone else.

  • Now uses a more accurate internal multiplier; I noticed that it was adding a cent of error every 13 semitones or so.

Enjoy, assuming it works.
Very interesting! This is pretty cool! Its kinda funky (not your fault of course) in that the controller keeps moving the value in the same direction no matter which direction the controller is moving in. So it takes 2 controllers - 1 for up and 1 for down. I don't know how to change this anywhere and test for controller value direction, but it beats typing the cents #!

Guess I shold donate again! Cheers!
Ice is offline   Reply With Quote
Old 04-13-2017, 07:46 PM   #23
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Hmm... that's definitely not what it's meant to be doing.

If the controller is sending relative messages and the MIDI binding is set to Relative, the script should be told either "+1" or "-1" depending on which way you turned the knob and then adjust RS5K accordingly.

(Dumb question: IS your controller sending a relative message for that knob? Some, like mine, aren't able to.)

My test setup here consisted of an absolute encoder that I kept putting back to 64 and then turning either way, so like I said it may have issues on proper hardware.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 04-14-2017, 05:40 PM   #24
Ice
Human being with feelings
 
Join Date: Aug 2014
Posts: 887
Default

Quote:
Originally Posted by Lokasenna View Post
Hmm... that's definitely not what it's meant to be doing.

If the controller is sending relative messages and the MIDI binding is set to Relative, the script should be told either "+1" or "-1" depending on which way you turned the knob and then adjust RS5K accordingly.

(Dumb question: IS your controller sending a relative message for that knob? Some, like mine, aren't able to.)

My test setup here consisted of an absolute encoder that I kept putting back to 64 and then turning either way, so like I said it may have issues on proper hardware.
Good question! Maybe its an absolute controller. I have a different, but similar setup at work. Both controllers only have knobs, that DO seem to not be continuous (meaning they have stops at both ends/directions). Honestly I'm not sure at the moment how to dig thru either one of their setups to see what types of messages are being sent.

But both home and work behave the same. A knob assigned to either script, keeps going in the scripts listed "direction", no matter which direction that particular knob is turned. So I have to have one knob for up and another for down, at least the way they're set up now.
Ice is offline   Reply With Quote
Old 04-14-2017, 07:51 PM   #25
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

If it's an absolute encoder (which it most likely is, given the start/end points), then yeah, the script is technically working "correctly".

Relative Mode #2 maps the CC values like so:

63 -> -1
64 -> 0
65 -> 1

An encoder sending relative messages would just send either 63 or 65 each time you turn it.

With absolute values, the controller sends 83 or 34 or whatever, which Reaper converts using the middle point above:

83 -> 19
34 -> -30?

To keep things from getting too crazy I have the script trim the values down to just -1/+1, which is why it will continue incrementing in the same direction until you get the knob back to 64.

Unfortunately, as far as I was able to tell on Google the other day, nobody's come up with a simple workaround. You can do stuff with external apps to hijack the incoming MIDI and somehow rewrite it, I think.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate

Last edited by Lokasenna; 09-30-2019 at 02:42 PM.
Lokasenna is offline   Reply With Quote
Old 06-20-2017, 07:25 AM   #26
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

Quote:
Originally Posted by Lokasenna View Post
Sorry, yeah, at the moment the script asks Reaper for the "focused" FX window. There's a separate command for the "last touched" window, so I can make a test version for you to see if that behaves better.
hey man, did you ever get the time to take a look at this part?

thanks!
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 07-22-2018, 08:16 PM   #27
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Big update.

- Rewrote it, mostly from scratch. Code is better organized so it's much easier to modify in the future.

- The script now provides actions to adjust all RS5K instances on the selected tracks.

- The script's actions are now reliant on ReaPack's installation process, so it won't work if you don't ReaPack. Well, unless someone wants to send you the individual action files that are created.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 07-24-2018, 07:02 PM   #28
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Another update.

- Added actions for "last touched FX if it's RS5K". Reaper will only let me do it for track FX, unfortunately, but there you go.

mccrabney: Only took a year.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 10-29-2018, 06:35 PM   #29
natonative
Human being with feelings
 
Join Date: Apr 2017
Posts: 89
Default

Quote:
Originally Posted by Lokasenna View Post
Another update.

- Added actions for "last touched FX if it's RS5K". Reaper will only let me do it for track FX, unfortunately, but there you go.

mccrabney: Only took a year.
Hello, currently when I run any of these pitch scripts with a floating reasamplomatic, I get a error message saying 'reaper can't load these files'. Any idea why?
natonative is offline   Reply With Quote
Old 11-01-2018, 05:59 PM   #30
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

What's the exact error message?
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 05-24-2019, 04:59 AM   #31
dna598
Human being with feelings
 
Join Date: Jul 2007
Posts: 710
Default

Sorry for the necrobump.

I guess this is a request for Lokasenna

"Adjust pitch offset for RS5k's on selected track".
"adjust sustain for RS5k's....."
"adjust decay...."
"adjust release......"

etc etc....


I just would like control pitch and adsr on all RS5k's on a selected track. (playing beat slices) like Ableton.
Thanks!
dna598 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 11:52 PM.


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