Old 03-11-2020, 11:13 AM   #1
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 280
Default MK Slicer - lua script for quick slicing, quantizing and more



MK Slicer - this is a lua script for quick slicing, quantizing by grid, re-quantizing, triggering or sampling audio. This script is based on the work of several people - its heart is Drum Trigger by eugen2777, export to RS5k function appeared thanks to MPL (who wrote the script for this function) and Anton (MyDaw) who connected these two scripts together and added a bit of magic. Later, I (with an invaluable help of the almighty Archie) optimized all this, set it up, simplified the interface and added a few handy features which quicken the process of audio editing.

Features:

  • Advanced detector. Thanks to filters and good visualization, you can precisely cut even material in which transients are not initially visualized.
  • Quick Slicing or placing Markers (by Transients or by Grid).
  • One click Quantize by Grid. Without gaps, clicks and artificial duplication of items.
  • Ability to work with multitracks. Slices and quantizes your multitrack drums phase-accurate, quickly and without pain. Items in the multitrack will be automatically grouped.
  • Re-Quantizing. When quantizing with a grid larger than the step of the transients, you can re-quantize your loops to get unique material.
  • One click sampling and exporting into RS5k.
  • Good old Trigger. Easy conversion of rhythmic parts to midi patterns with accurate velocity reproduction.
  • Advanced interface. Intuitive controls. Resetting values to defaults by Ctrl+Click. Change operations on-the-fly without the need of Undo.
  • Adaptive initial settings (thanks, Anton!). Upon initialization, the script sets the View Gain, Threshold, and Retrig settings depending on the material and tempo of the project.


Requirements:

Actual versions REAPER and SWS. Not tested with older versions. Not tested on Macs.

Video 1 (Main):https://youtu.be/fdhSaO0a76Q

Video 2 (Update): https://youtu.be/Zogp6T6IAWQ

New in version 1.3:

! MK Slicer (Non-Destructive) renamed to MK Slicer. Old MK Slicer has been removed.
+ Improved Slicer accuracy
+ Improved MIDI Trigger accuracy
+ New slider Quantizing Strength
+ New slider Crossfades Length
+ New Slice Quantizing algorithm. Quantizing items to swing grid now able!
+ Addition Ctrl+Wheel for vertical zoom. May be handle for mac users.
+ Zoom by Arrow Keys available. May be handle for notebook users.
+ New internal crossfades algorithm. No more SWS setups.
+ View Gain renamed to Filtered Gain, to avoid misunderstanding.
+ Some minor changes/improvements
+ User Area (set defaults inside the script):
Docked/Windowed Start
Esc to Exit (on/off)
MIDI_Base_Oct - Define Start octave for Export to MIDI Sampler
Default Crossfade Time in ms. (0 = Crossfades Off)
Default Quantize Strength in %. (0 = Quantize Off)
Default MIDI Mode (Sampler or Trigger)
Override Reaper option "Toggle auto-crossfade on split" (on/off)
Override Reaper option "Toggle enable/disable default fadein/fadeout" (on/off)

1.3.3 and 1.3.4:

+ Several additional Defaults in the User Area
+ The script can remember some sliders positions from last session
+ The script can remember dock state from last session
+ Better font scaling
+ Minor script optimizations

1.3.5:

+ Fixed bug of conflict of "Toggle trim behind items when editing" option with MIDI Sampler.
+ The script can remember window position from last session
+ MIDI Sampler stops creating notes after reaching the highest (G9, 127)
+ Right click Inserts/Removes the markers immediately and without additional menus

Instructions for use:

1. Select an item or several items on the same track. The script will not run if items are placed on different tracks.
2. Run the script.
3. Do your work.
4. To cancel an actions, use Reset or just Ctrl + Z. Reset sliders to default: Ctrl + Click. Fine tune: Shift + Drag. Exit the script: Esc, Space - Play.

On Waveform Area:
Mouswheel or Left/Right keys - Horizontal Zoom,
Ctrl(Shift)+Mouswheel or Up/Down keys - Vertical Zoom,
Middle Drag - Move View (Scroll),
Left Click - Set Edit Cursor,
Shift+Left Drag - Move Marker,
Ctrl+Left Drag - Change Velocity,
Shift+Ctrl+Left Drag - Move Marker and Change Velocity,
Right Click on Marker - Delete Marker,
Right Click on Empty Space - Insert Marker.


Alternative option:

1. Do not select the items before running the script. Run the script.
2. Select the required item(s) and click the "Get Item" button.
3. etc

Working with multitrack:

0. Before starting the work, I recommend you to create a guide track - usually a mixdown kick, snare and toms tracks together in one track. This track will be used as a “lead” for the detector to operate more accurately After the work is completed, you can delete it.
1. Select one (guide) item. The script will not run if items are placed on different tracks.
2. Run the script.
3. Select the rest items in the multitrack - you can do it with the help of Marque Selection or even Ctrl+A - it will make no difference. Your workspace will be set equal to the length of an item selected at the moment you start the script.
4. Do your work. When a slicing or placing markers occurs on a multitrack, items will be automatically added to Groups.


Important.

For the machanism Reset to operate correctly and for the operations on-the-fly to follow each other smoothly, it is OBLIGATORY for the items to start from the beginning of the bar. It's the condition which ensures comfortable work without surprises like a sudden move of the items after the following quantization. Additionaly, I don't recommend to change selection manually or do anything with the items while the script is working. Also, do not forget to save your project regularly. Just in case.

Sometimes a script applies glue to items. For example, when several items are selected and when a MIDI is created in a sampler mode.

What does Reset button do?
"Reset" reverts the items to their original state. It is actually a cancellation of all manipulations you have done with the help of Slice, SliceQ, Markers and MarkersQ. Similarly Reset will work every time you push the buttons. For example, if you press Markers after Slice, Reset will do its work in between: the item will be restored to its initial state and then markers will be added.

Perfomance tips.

The script is quite well optimized and will work quickly even on slow systems, but there are things that are important to know.
If the item Rate is changed, this will noticeably slow down the script. On large projects, you can pre-make glue for items with a changed Rate to increase the speed of script work.
The speed of the script also depends on the amount of processed material. Long parts and a large number of tracks in a multitrack can significantly slow down an old computer. If you work with large trackings, I recommend to process them in parts - blocks of 30-60sec.


Recommendations for settings and usage:

Most of the default settings are set to be suitable for a large amount of material so that you could successfully detect transients immediately out of the box.
For percussions and plucked string instruments, the Low Cut boost to 2500Hz+ often works well.
For multitrack live drums (Kick and Snare guide track), Low Cut 200Hz and Hi Cut 4500Hz settings are well suited.
For the lowest tones, such as SubBass, SubKick or 808 bass, I recommend to lower the value of Low Cut to 20-60Hz.
The colours of the original waveform and filtered are different, this allows you to see what part of the signal you want to send to the detector.
Please note: the settings of the filters and levels do not affect the sound in any way, this is just what comes to the detector!

Sensitivity, Retrig and Reduce are not the most important settings but they may be handy in your work when the Threshold and Filters controls are not enough.
If you need more sensitivity, you can reduce the value of Sensitivity parameter. Sometimes reduction by one dB can help to detect additional transients. And on the opposite - when the parameter is increased, it helps to reduce sensitivity.
Retrig is similar to the previous parameter, it is also resolution but working "horizontally". If you have many transients you don't want next to the main ones, you can increase the value of this parameter to fix this.
Reduce - is a simple tool to reduce the amount of transients.

I recommend to use markers to quantize melodic parts and slices to percussion and multitracks.


Now the script is available in ReaPack. Old versions in the attachment are deleted. Actual version - 1.4.5


I did my best and put my soul into this script, first of all because I needed to simplify my own working process, but if you liked the script and made good use of it in your work, you can thank me with a cup of coffee (or beer).

DONATION (PayPal)
DONATION (Yandex)

Last edited by cool; 05-13-2020 at 10:24 PM.
cool is offline   Reply With Quote
Old 03-11-2020, 11:59 AM   #2
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 2,524
Default

Thanks for sharing, sounds and looks great.

Improvement ideas:
- mousewheel modification of values, without required clicking
- shift-mousewheel for fine adjustments (for example)
- MIDI: RS5k could look before assigning midi notes, how many RS5k are already available in that track, then starting from that number, and not starting each time with pitch = 0. Could be also interesting for overlapping samples but usually this is not wanted I guess.
- Option to open in docked state.

Last edited by TonE; 03-12-2020 at 01:58 AM.
TonE is offline   Reply With Quote
Old 03-11-2020, 02:34 PM   #3
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 640
Default

I've been using the MyDAW slicer for a while, and things looks like a brilliant upgrade. Cant wait to try it out!
todd_r is offline   Reply With Quote
Old 03-11-2020, 03:27 PM   #4
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,519
Default

Very very impressive for a first script well done !!


Do you consider sharing via reapack ? It will be easier to share update with this system
Let us know if you need assistance to set it up.


Thx for sharing !

EDIT: the main core advantage is the frequency analyses filter before splitting. This helps makes cleaner results a lot !
BUt I feel I have a lots of thing to discover with this script. And compare with regular dynamic split as well.

Last edited by X-Raym; 03-11-2020 at 03:38 PM.
X-Raym is offline   Reply With Quote
Old 03-12-2020, 01:07 AM   #5
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 280
Default

Thank you, guys!

Quote:
Originally Posted by TonE View Post
Improvement ideas:
- mousewheel modification of values, without required clicking
- shift-mousewheel for fine adjustments (for example)
- MIDI: RS5k could look before assigning midi notes, how many RS5k are already available in that track, then starting from that number, and not starting each time with pitch = 0. Could be also interesting for overlapping samples but usually this is not wanted I guess.
Sounds interesting, thanks!

Quote:
Originally Posted by X-Raym View Post
Do you consider sharing via reapack ? It will be easier to share update with this system
Let us know if you need assistance to set it up.
Thank you!


Good idea!
I have long had a profile on Github and I have already tried to upload some scripts: https://github.com/cool9-MK/ReaScripts
But right now I don’t know how to get xml file (or xml link?) for ReaPack.
Maybe there is some kind of manual for beginners?
cool is offline   Reply With Quote
Old 03-12-2020, 01:11 AM   #6
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 3,145
Default

Quote:
Originally Posted by cool View Post
I have long had a profile on Github and I have already tried to upload some scripts: https://github.com/cool9-MK/ReaScripts
But right now I don’t know how to get xml file (or xml link?) for ReaPack.
Maybe there is some kind of manual for beginners?
https://reapack.com/upload
cfillion is offline   Reply With Quote
Old 03-12-2020, 01:15 AM   #7
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 4,982
Default

Hey Cool, that script is so Cool Thanks a Bunch !
I will wait for it to be released via ReaPack, hope you can do that succesfully.
__________________
Reaper - OSX (always latest version)
OSX Catalina (always latest version)
My Reaper Tips&Tricks: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 03-12-2020, 01:49 AM   #8
sinkmusic
Human being with feelings
 
sinkmusic's Avatar
 
Join Date: Feb 2006
Location: decepticon mothership in a hidden place inside a mountain
Posts: 3,537
Default

Very nice, thank you !
sinkmusic is offline   Reply With Quote
Old 03-12-2020, 04:05 AM   #9
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 280
Default

You're welcome, guys

Quote:
Originally Posted by cfillion View Post
Ah, that’s pretty simple! Thanks, done
cool is offline   Reply With Quote
Old 03-12-2020, 04:13 AM   #10
drummerboy
Human being with feelings
 
Join Date: Mar 2017
Location: Switzerland
Posts: 102
Default

Yes! Thank you!
Just when I thought it was time to hire an assistant for editing

So far it works wonderful - I'll report back when I did some jobs with it!

Best,
Frank

Edit:
- Shift-Mousewheel doesn't seem to work for scrolling horizontally on my Mac
- Quantize in % would be very cool. I very rarely go for 100% to grid

Last edited by drummerboy; 03-12-2020 at 04:19 AM.
drummerboy is offline   Reply With Quote
Old 03-12-2020, 04:34 AM   #11
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 280
Default

Quote:
Originally Posted by drummerboy View Post
Yes! Thank you!
Just when I thought it was time to hire an assistant for editing

So far it works wonderful - I'll report back when I did some jobs with it!

Best,
Frank

Edit:
- Shift-Mousewheel doesn't seem to work for scrolling horizontally on my Mac
- Quantize in % would be very cool. I very rarely go for 100% to grid
Thank You!
Yes, I think quantization is the first thing to improve. One of the problems right now is the inability to correctly quantize if the grid is swinged. Unfortunately, at the moment there are no built-in actions in the Reaper that can quantize items on a grid if it is swinged. I need to create something from scratch, but it's not easy, I'm not the best programmer.
But I like this direction, this is really the thing that is worth improving.

Unfortunately, I completely forgot about Mac. The bad news here is that I don’t have access to the Mac to test the script.

UPDATE: It seems that the script for quantization on a swing grid and its strength in % is already ready. At least the first tests went well and the draft version can already do something.

Last edited by cool; 03-12-2020 at 05:37 AM.
cool is offline   Reply With Quote
Old 03-12-2020, 04:44 AM   #12
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Location: Wooleye, Louisiana
Posts: 2,312
Default

cool! FR - bulk-set per-slice looping/crossfading
__________________
° using REAPER as host/arranger/sequencer to write instrumental beat music.
° striving for a loop-based, controller-centric midi recording/editing workflow.
° justice and equality for editable secondary midi items!
mccrabney is offline   Reply With Quote
Old 03-12-2020, 05:46 AM   #13
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,519
Default

I advice you to use reapack-index to create your own .xml reapack file on your own repo


https://github.com/cfillion/reapack-index/wiki


The cfillion upload tool can help you woth formatting your package metadata but as you have only one script it should be relatively simple compared to all you have already done ^^

cfillion tool is also nice if you prefer to commit on ReaTeam public repository.
X-Raym is offline   Reply With Quote
Old 03-12-2020, 06:37 AM   #14
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 280
Default

Quote:
Originally Posted by X-Raym View Post
I advice you to use reapack-index to create your own .xml reapack file on your own repo


https://github.com/cfillion/reapack-index/wiki


The cfillion upload tool can help you woth formatting your package metadata but as you have only one script it should be relatively simple compared to all you have already done ^^

cfillion tool is also nice if you prefer to commit on ReaTeam public repository.

Thank you!
cool is offline   Reply With Quote
Old 03-12-2020, 07:14 AM   #15
Infrabass
Human being with feelings
 
Join Date: Apr 2014
Posts: 141
Default

Awesome script!
Any plan to add a gate option like the original dynamic splitter to be able to remove silence too?
Infrabass is offline   Reply With Quote
Old 03-12-2020, 08:05 AM   #16
Indiscipline
Human being with feelings
 
Indiscipline's Avatar
 
Join Date: Apr 2016
Posts: 59
Default

Looks very nice, but only hard-quantizing is a dealbreaker for me. From my point of view, splitting is not the hardest problem usually, but quantizing preserving some part of the natural groove is.

I made a FR thread that got zero attention here, unfortunately, which boils down to measuring deltas from a given hit to the selected grid and moving it to the amount dependant on this delta, giving user the control over the dependence curves.

Control mock-up:

A: The further the hit is from the grid line, the heavier it's quantized, resulting in a more uniform and steady time feel.
B: We keep the rushed hits (-49 to 0 %) more or less alone, heavily quantizing the lagged ones (0 to 50 %). Pretty random choice.
C: Uniformly quantize rushed hits 50% closer to the grid, and soft quantize lagged hits, keeping the most outstanding hits (presumably, drummer's lagging snare hits) in place, but moving the closer one nearer the grid. Should produce a strong laid-back feel for that sweet soul ballad.
Attached Images
File Type: png q-curves.png (6.4 KB, 2084 views)
Indiscipline is offline   Reply With Quote
Old 03-12-2020, 08:50 AM   #17
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 280
Default

Quote:
Originally Posted by Indiscipline View Post
Looks very nice, but only hard-quantizing is a dealbreaker for me. From my point of view, splitting is not the hardest problem usually, but quantizing preserving some part of the natural groove is.

I made a FR thread that got zero attention here, unfortunately, which boils down to measuring deltas from a given hit to the selected grid and moving it to the amount dependant on this delta, giving user the control over the dependence curves.

Control mock-up:

A: The further the hit is from the grid line, the heavier it's quantized, resulting in a more uniform and steady time feel.
B: We keep the rushed hits (-49 to 0 %) more or less alone, heavily quantizing the lagged ones (0 to 50 %). Pretty random choice.
C: Uniformly quantize rushed hits 50% closer to the grid, and soft quantize lagged hits, keeping the most outstanding hits (presumably, drummer's lagging snare hits) in place, but moving the closer one nearer the grid. Should produce a strong laid-back feel for that sweet soul ballad.
Thanks for the interesting thoughts. At the moment, it seems to me too complex and difficult to achieve. Although it sounds pretty interesting.

There is good news. I have created and am testing a new quantization engine right now. With a strength slider from 0 to 100% and the ability to quantize items on a swing grid.
cool is offline   Reply With Quote
Old 03-12-2020, 08:56 AM   #18
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 640
Default

Love it! There is one thing I'd like that would make things easier, click on a segment to hear the slice!

Thanks for your work, feels like we have a proper slicer now
todd_r is offline   Reply With Quote
Old 03-12-2020, 09:40 AM   #19
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,519
Default

Quote:
Looks very nice, but only hard-quantizing is a dealbreaker for me.
It shouldn't be. The core of this script is the audio analyses part for splitting.


You can split with this script and use other tools to do your quantization. MPL has some advanced stuff in this regards, with percentage based quantization etc.


@cool
Not that the Slice action is influenced by the two options;


Option: toggle auto crossfade at split
and option: auto toggle enable/disable default fadein/fadeout


IMHO this should be togglagle from the script to be more predictable (especially for people who haven't set this options in their main toolbar).


The best per default is to have all off with this script I suppose, and maybe with an adjustable fade length.



Here is if I don't deactivate my auto fadei,/fadeout option.



Note for some reason if auto crossfade is activated, it seems to just make reaper hang forever... I wonder if this is a script issue or a REAPER one. (note : I use the Non destructive version).
X-Raym is offline   Reply With Quote
Old 03-12-2020, 02:29 PM   #20
J Reverb
Human being with feelings
 
Join Date: Jul 2009
Posts: 765
Default

Thanks cool !
Can we have an option to just create a chromatic output for midi part without RS5K ? I would like to use another sampler but keep the midi part chromatic. Maybe another option in midi button?

For me this one of the things missing from Dynamic split.
Thanks for all your hard work on this it opens up a lot of doors.
Great stuff !!
J Reverb is offline   Reply With Quote
Old 03-12-2020, 04:01 PM   #21
kovarny
Human being with feelings
 
Join Date: Mar 2018
Posts: 39
Default

Can you turn off the fade in and fade outs during quantization?
kovarny is offline   Reply With Quote
Old 03-12-2020, 04:11 PM   #22
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 2,081
Default

Very nice! Thank you very much!


I am mostly interested in the splitting part as I find the native dynamic splitting to be lacking.


It is really cool that we can see the results of the pre-detection filtering! A couple of ideas/requests for you to consider:

- in addition to the low and high pass, could we have one parametric bell filter too? It could be useful in order to boost the transient range

- furthermore, could we have a basic automatic gain compensation or probably a manual one (easier to implement) for the filtered signal? So, we can match and better compare the original and the filtered visuals in order to check if our equalization improves or worsens the transient detection.
amagalma is offline   Reply With Quote
Old 03-12-2020, 06:33 PM   #23
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 280
Default

Thank you, guys!

Now the script is available in ReaPack.

Quote:
Originally Posted by Infrabass View Post
Awesome script!
Any plan to add a gate option like the original dynamic splitter to be able to remove silence too?
Not planned. But, it is a good idea!

Quote:
Originally Posted by X-Raym View Post


Here is if I don't deactivate my auto fadei,/fadeout option.



Note for some reason if auto crossfade is activated, it seems to just make reaper hang forever... I wonder if this is a script issue or a REAPER one. (note : I use the Non destructive version).

Hm. I can't reproduce this. Even if autocrossfades are disabled, I get the same (correct) result.
Can you describe step by step how to get this?

Quote:
Originally Posted by amagalma View Post
- furthermore, could we have a basic automatic gain compensation or probably a manual one (easier to implement) for the filtered signal? So, we can match and better compare the original and the filtered visuals in order to check if our equalization improves or worsens the transient detection.

It is implemented right now. The input signal is compensated in such a way that items with a level of -20 to 0dB are displayed approximately in full scale vertically. Also, for manual adjustment there is a View Gain.


Quote:
Originally Posted by kovarny View Post
Can you turn off the fade in and fade outs during quantization?

Good question. But why? To make any change to the script, I need the importance of practical application.


Quote:
Originally Posted by J Reverb View Post
Thanks cool !
Can we have an option to just create a chromatic output for midi part without RS5K ? I would like to use another sampler but keep the midi part chromatic. Maybe another option in midi button?
You're welcome

Not planned. But, you can get rid of the RS5K right now by clicking Alt + LMB on the FX button on the TCP.

Last edited by cool; 03-12-2020 at 11:53 PM.
cool is offline   Reply With Quote
Old 03-12-2020, 07:17 PM   #24
Vagelis
Human being with feelings
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 695
Default

This is great, thank you very much!
Vagelis is offline   Reply With Quote
Old 03-13-2020, 12:32 AM   #25
kovarny
Human being with feelings
 
Join Date: Mar 2018
Posts: 39
Default

Quote:
Originally Posted by cool View Post
Thank you, guys!

Good question. But why? To make any change to the script, I need the importance of practical application.
'Cause I don't need this. This is an imposed problem.
Fade in kills transients. Starts to sound "milno"
Ultimately, this is a Reaper DAW that is famous for its lack of restrictions.
kovarny is offline   Reply With Quote
Old 03-13-2020, 01:17 AM   #26
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 2,081
Default

Quote:
Originally Posted by cool View Post
It is implemented right now. The input signal is compensated in such a way that items with a level of -20 to 0dB are displayed approximately in full scale vertically. Also, for manual adjustment there is a View Gain.
What is implemented applies to both the original and filtered waveforms. I am talking about an additional gain that applies only to the filtered waveform so that we can match it better to the original.
amagalma is offline   Reply With Quote
Old 03-13-2020, 01:25 AM   #27
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 280
Default

Quote:
Originally Posted by kovarny View Post
'Cause I don't need this. This is an imposed problem.
Fade in kills transients. Starts to sound "milno"
Ultimately, this is a Reaper DAW that is famous for its lack of restrictions.
Мыльно, думаю, это soapy

В следующей версии будет возможность устанавливать длину кроссфейдов, хоть до 0. Но, просто для информации: в этом скрипте кроссфейды ставятся ПЕРЕД транзиентами, не затрагивая их.

Eng
In the next version it will be possible to set any length of crossfades, at least up to 0. But, just for information: in this script, crossfades are set BEFORE transients, without affecting them.

Quote:
Originally Posted by amagalma View Post

What is implemented applies to both the original and filtered waveforms. I am talking about an additional gain that applies only to the filtered waveform so that we can match it better to the original.
I understood. All that has been done now is the maximum of my capabilities. In my tests, if the input level is in the range of -20 - 0 dB, there are no problems with the visualization. If you need more overall gain, you can use Shift + Wheel to increase the waveform vertical size. To change the difference between the blue and red waves, there is a View Gain slider.

Last edited by cool; 03-13-2020 at 01:37 AM.
cool is offline   Reply With Quote
Old 03-13-2020, 01:47 AM   #28
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 2,081
Default

Quote:
Originally Posted by cool View Post
I understood. All that has been done now is the maximum of my capabilities. In my tests, if the input level is in the range of -20 - 0 dB, there are no problems with the visualization. If you need more overall gain, you can use Shift + Wheel to increase the waveform vertical size. To change the difference between the blue and red waves, there is a View Gain slider.

Oh man, I am sorry! :/ You are right! What I was asking is already there! I don't know what I was doing yesterday night while being sleepy and got so confused! Sorry again and thank you!
amagalma is offline   Reply With Quote
Old 03-13-2020, 01:57 AM   #29
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 280
Default

Quote:
Originally Posted by amagalma View Post
Oh man, I am sorry! :/ You are right! What I was asking is already there! I don't know what I was doing yesterday night while being sleepy and got so confused! Sorry again and thank you!

No problem
cool is offline   Reply With Quote
Old 03-13-2020, 03:40 AM   #30
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,519
Default

Quote:
Originally Posted by cool View Post
Thank you, guys!

Hm. I can't reproduce this. Even if autocrossfades are disabled, I get the same (correct) result.
Can you describe step by step how to get this?

Oh it is easy,
Juts toggle on/off the mentionned Option :P


https://i.imgur.com/W7uCarA.gifv


Of course you need to have a default fadein-fadeout length different than 0 in this case.


(not for some reason and for the first time REAPER didn't hang forever when clickin on Split while auto fade activated (the second option I activate in the screenshot). so pretty sure it still have to be deactivated by the script before split.
X-Raym is offline   Reply With Quote
Old 03-14-2020, 12:08 AM   #31
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 4,982
Default

I tried the script on a complete disco track which has slight drifting in it's tempo.
With the intention to quantize the kickdrums to 1/4 grid.
I therefore used the 2 filter frequency knobs to just detect transients in the 50 hz-150 hz area.(the kicks).
But this was not really succesful ; the detection was still all over the place.
i am aware that it's problaby very difficult to dectect just and only kickdrums in a complete track.
On the other hand, maybe i am doing something wrong or i am missing something.
__________________
Reaper - OSX (always latest version)
OSX Catalina (always latest version)
My Reaper Tips&Tricks: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 03-14-2020, 01:34 AM   #32
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 2,524
Default

Hmm,normally it should work. Maybe wrong settings? Time again for Youtube?
The other trick would be duplicating your original, EQ'ing it so you hear only what you want to hear, render, then applying MK Slicer.
TonE is offline   Reply With Quote
Old 03-14-2020, 02:10 AM   #33
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 4,982
Default

The other trick would be duplicating your original, EQ'ing it so you hear only what you want to hear, render, then applying MK Slicer.

This is a great tip, thx !
So what i did:

- Inserted ReaEQ as an Item FX on the Disco Track.
- Set low shelf to around 50 hz.
- Opened MK Slicer and set Low Cut to 50 hz and High Cut to 100 hz.

Outcome: Only markers on the Kickdrums in the Disco Track: spot on !
This is really amazing.
__________________
Reaper - OSX (always latest version)
OSX Catalina (always latest version)
My Reaper Tips&Tricks: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 03-14-2020, 02:25 AM   #34
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 2,524
Default

My idea was actually using item fx, exactly as you did, but as I did not test it myself, I just wrote as 'duplication technique'.
TonE is offline   Reply With Quote
Old 03-14-2020, 02:30 AM   #35
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 4,982
Default

Thumbs up 4U !

I was unsure if the script would take Item FX on an Audio Item into account, meaning:
analyzing transients after the Item FX, but luckily enough, it seems it does.
__________________
Reaper - OSX (always latest version)
OSX Catalina (always latest version)
My Reaper Tips&Tricks: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 03-14-2020, 02:31 AM   #36
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,298
Default

Looking very good
__________________
Reaper x64, win 8.1
My music on Bandcamp
G-Sun is offline   Reply With Quote
Old 03-14-2020, 02:45 AM   #37
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 2,524
Default

Quote:
Originally Posted by vanhaze View Post
I was unsure if the script would take Item FX on an Audio Item into account, meaning:
analyzing transients after the Item FX, but luckily enough, it seems it does.
Saving us the rendering step, great.

The real question is how to get the velocity emphasized midi output? Here all notes have same velocity or does this feature not exist here?

I am asking because of this:
"Good old Trigger. Easy conversion of rhythmic parts to midi patterns with accurate velocity reproduction."

Last edited by TonE; 03-14-2020 at 02:51 AM.
TonE is offline   Reply With Quote
Old 03-14-2020, 06:42 AM   #38
cool
Human being with feelings
 
Join Date: Dec 2017
Location: Sunny Siberian Islands
Posts: 280
Default

Quote:
Originally Posted by vanhaze View Post
The other trick would be duplicating your original, EQ'ing it so you hear only what you want to hear, render, then applying MK Slicer.

This is a great tip, thx !
So what i did:

- Inserted ReaEQ as an Item FX on the Disco Track.
- Set low shelf to around 50 hz.
- Opened MK Slicer and set Low Cut to 50 hz and High Cut to 100 hz.

Outcome: Only markers on the Kickdrums in the Disco Track: spot on !
This is really amazing.
An interesting discovery! It’s worth adopting

Quote:
Originally Posted by TonE View Post
Saving us the rendering step, great.

The real question is how to get the velocity emphasized midi output? Here all notes have same velocity or does this feature not exist here?

I am asking because of this:
"Good old Trigger. Easy conversion of rhythmic parts to midi patterns with accurate velocity reproduction."

"Good old" - because it repeats the functionality of the original script Velocity is always assigned automatically, depending on the "strength" of each transient.This function is always active.
cool is offline   Reply With Quote
Old 03-14-2020, 07:08 AM   #39
Zeno
Human being with feelings
 
Zeno's Avatar
 
Join Date: Sep 2018
Location: Germany
Posts: 316
Default

Wow! Thanks Cool, for this great script!

Little remark:
It would be an enrichment if MK slicer remembers the docking status and its dock position.
Zeno is offline   Reply With Quote
Old 03-14-2020, 08:01 AM   #40
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 2,524
Default

Quote:
Originally Posted by cool View Post
"Good old" - because it repeats the functionality of the original script Velocity is always assigned automatically, depending on the "strength" of each transient.This function is always active.
Here it is not working then, I do not see any velocity differences.
TonE 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:13 PM.


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