Jump to content


Photo

New Tools: Iterative Quantize And Groove Tool


  • Please log in to reply
31 replies to this topic

#1 nism

nism

    Local Chief Member

  • Normal Members
  • PipPipPipPipPip
  • 210 posts

Posted 25 August 2010 - 19:58

Update (19/3/2011): I uploaded new versions that are compatible with Renoise 2.7. The old ones have been renamed to ..._26 and will not be updated anymore.

Here are two tools I wrote, largely based on the same code. Both manipulate timing in a different way. Changes can be made 'on the fly', i.e. you can immediately hear the effect while you change the settings.

Posted Image

GT adds 'groove' or 'swing' (or however you want to call it) to quantized patterns.

sliders: each slider corresponds to a line, notes on this line will be moved forward or backward depending on the value of the slider (and the range value).

cycle length: the number of lines after which the groove pattern (set by the sliders) repeats itself. If the value is 4, slider 1 will affect lines 0, 4, 8, 12... ; slider 2 will affect lines 1, 5, 9, 13... etc.

range: the maximum amount (in lines) that a note will be moved forward or backward in time.

In some cases, a note will be overwritten by a subsequent note. If you find that notes are dropped, try enabling 'delete note off events', or disabling 'don't move notes to other columns'. (These setting will interfere with note lengths, though, so they work best for percussive sounds.)

Example: say your pattern has 4 lines per beat, and you have a simple hihat pattern with notes on lines 0,2,4,... etc. To add 'swing' to this pattern, set cycle length to 4, range to 1, and move the 3rd slider up. Try different values until you like what you hear (make sure the delay column is visible to see what is happening).



Posted Image


iterative quantize won't move all notes straight to the closest quantize grid position, but according to settings [...] will move an x% of way between its current position to the closest quantize grid position. This way, a bad recording, could be straighten up, just a little bit.


IQ has 3 controls:

shift: moves all notes forward or backward in time by a fixed amount. I included it to correct for systematic timing errors (when all notes are delayed by a fixed time).

quantization strength: the x in the definition above.

quantize to * lines: a value of 1 will move each note towards the nearest line; a value of 4 will move all notes toward the nearest 1st, 4th, 8th,...etc. line.



Let me know what you think!

Attached Files


Edited by nism, 19 March 2011 - 18:34.

  • Conner_Bw, ffx, maes and 1 other like this

#2 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6721 posts
  • Gender:Male
  • Location:Borneo

Posted 25 August 2010 - 20:56

Thanks, not sure what does what exactly, but will try and find out :)

#3 nism

nism

    Local Chief Member

  • Normal Members
  • PipPipPipPipPip
  • 210 posts

Posted 26 August 2010 - 16:14

I added a description of the controls in the original post.

#4 oootini

oootini

    Chief Above Chief Member

  • Normal Members
  • PipPipPipPipPipPip
  • 311 posts
  • Gender:Male
  • Location:Dublin, Ireland

Posted 26 August 2010 - 16:57

coool!

#5 slippycurb

slippycurb

    Big Masta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPip
  • 515 posts
  • Gender:Male
  • Location:Ireland Co Galway
  • Interests:My interests change from day to day, but i always like eggs.

Posted 26 August 2010 - 17:14

thank you, such a groovy birthday present???;-)
"No one would have believed, in the last years of the nineteenth century, that this world was being watched keenly and closely by intelligences greater than man's and yet as mortal as his own;"


SuckOnThisElectronicEgg


https://www.facebook...ristiansvslions

#6 maes

maes

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 952 posts
  • Gender:Male
  • Location:.se
  • Interests:musics

Posted 26 August 2010 - 17:19

bappy hirthday, slippycurb! :>

this tool looks total €€€!

#7 taktik

taktik

    Renoise Developer

  • Admins
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 15040 posts
  • Gender:Male
  • Location:Berlin, Germany
  • Interests:füße waschen

Posted 27 August 2010 - 09:46

These tools have occasionally caused Renoise to crash for me, so use at your own risk. I have emailed bugs-renoise.com about this, and taktik wrote back that he couldn't reproduce the crashes (yet). If you experience crashes while using these scripts, or if you have any idea why these crashes happen, please let me know in this thread. The crashes seem to occur most often when I press ctrl+z after using the script. They have occured at other times too, but rarely.


Found the prob. This will be fixed in the next beta and has to do with the way the tool applies changes to the patterns in the idle notifiers. Changes in there got not correctly undone.

For now I'd highly recommend not to undo anything while the tool is open, or you may ruin your songs.

#8 nism

nism

    Local Chief Member

  • Normal Members
  • PipPipPipPipPip
  • 210 posts

Posted 28 August 2010 - 18:16

Found the prob. This will be fixed in the next beta and has to do with the way the tool applies changes to the patterns in the idle notifiers. Changes in there got not correctly undone.

For now I'd highly recommend not to undo anything while the tool is open, or you may ruin your songs.


Great news! This is first time I've done any scripting of this kind, and the whole concept of notifiers is new to me. I was wondering if maybe I'm doing something wrong.

Thanks for the comments comments, everyone :) . I think I've found a solution to the dropped notes problem, and with any luck I'll upload a new version tomorrow.

#9 nism

nism

    Local Chief Member

  • Normal Members
  • PipPipPipPipPip
  • 210 posts

Posted 29 August 2010 - 17:25

I updated Groove Tool. Along with some minor tweaks, I added the possibility to write notes to the next empty column, so the dropped notes should be less an issue now. This solution will not always work properly with note off events, so I made it optional. If this works, I'll update IQ too.

#10 silverwings

silverwings

    Advanced Member

  • Normal Members
  • PipPipPip
  • 102 posts
  • Gender:Male
  • Location:up in the dutch skies

Posted 29 August 2010 - 21:53

now thats just sexy. thanks o0

#11 gurth

gurth

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 120 posts
  • Location:Holland
  • Interests:HardTechno

Posted 05 September 2010 - 09:23

Hello overthere,

Great idea making a swing tool....

I downloaded and installed the groovetool but can't get it to work, I move the sliders and press apply, but nothing happens after a while of trying it crashed.

Am I doing something wrong???

greetings
Never be clever

#12 nism

nism

    Local Chief Member

  • Normal Members
  • PipPipPipPipPip
  • 210 posts

Posted 06 September 2010 - 17:12

Ehm... I see that I accidentally uploaded an older version last week. :unsure:

The new version is now up. Can you try and see if it solves your problem?

#13 smasha

smasha

    Member

  • Normal Members
  • PipPip
  • 16 posts

Posted 25 October 2010 - 07:22

Ehm... I see that I accidentally uploaded an older version last week. :unsure:

The new version is now up. Can you try and see if it solves your problem?

I have zilch,zero knowledge of how to use both these tools.

I was trying to make a straight 8th hat pattern swing and fiddled with the tools and got nowhere.

Any tutorials on each setting.

Cycle length????
Range????

Everything really.

P.S. OOps just read the tutorial above.

Explains things a little bit clearer.

No idea how to use it.

Edited by smasha, 25 October 2010 - 07:26.


#14 Syflom

Syflom

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1456 posts
  • Gender:Male
  • Location:Australia

Posted 27 October 2010 - 13:25

I got a bug where if i reset it isn't going back to the original but is slightly different.

A suggestion too: Show number values of those sliders.

In the beginning was the Word
 My XRNX tools: Loop Block Size, Write BPM, Sustain Instrument
Renoise my suggestions: sample pause command, continually paste within selection, advanced edit resize
OS: Windows and OS X


#15 nism

nism

    Local Chief Member

  • Normal Members
  • PipPipPipPipPip
  • 210 posts

Posted 29 October 2010 - 10:17

@Syflom: That's weird, I'll look into it. If you can reproduce it, please let me know how. I thought about adding number values too, I'll look into it when I have the time.

@smasha:
Just to be clear: you understand what the sliders do, right?

Cycle length works this way: if you set it to 1, you'll see just one slider. Move it, and all notes in the column or pattern will be affected. If you set it to 2, you'll see 2 sliders. Slider 1 will affect lines 0, 2, 4, 6..., slider 2 will affect lines 1, 3 , 5 ,... etc.

You can think of 'range' as a multiplier for the slider values. If it is set to 1, the maximum slider value will move the notes 1 line. If it is set to 2, it will move notes 2 lines.

I hope this clears things up a bit.

#16 nism

nism

    Local Chief Member

  • Normal Members
  • PipPipPipPipPip
  • 210 posts

Posted 07 November 2010 - 14:11

Updated Groove Tool. It looks prettier now. I couldn't find or reproduce Syflom's problem, so that is probably still there. Also, I decided against showing values, I couldn't find a way to not make it look messy. It's more or less finished now, so I'll submit it to the Tools page.

#17 nism

nism

    Local Chief Member

  • Normal Members
  • PipPipPipPipPip
  • 210 posts

Posted 19 March 2011 - 18:39

Renoise 2.7-compatible versions uploaded (see original post).

#18 It-Alien

It-Alien

    Probably More God or Borg Than Human Member

  • Moderator
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9593 posts
  • Gender:Male
  • Location:Avellino, Italy
  • Interests:trackers, basketball, chess, tabletennis, programming, writing, drumming, burping

Posted 20 May 2011 - 11:47

I have filed a bug report onto the tool page.

The quantization gets triggered automaticaly upon dialog opening.
my specs:
cpu:Intel Core2 Quad Q9550 (4x2.83Ghz, FSB 1333Mhz)
os:Win7 Home Premium 64bit - OSX 10.9.1 64bit
audio: M-Audio Audiophile 24/96 PCI


Unschemed, hypertechnical tracked music. Sounding different since 1993.

my latest song: Lavender Town Syndrome (11'33", Psychedelic Beast)


where to find more music by me: soundcloud , jamendo , last.fm , napodano.com , facebook

RTFM.gif

("Lavender Town Syndrome, 11'33" Psychedelic Beast)

#19 neopan

neopan

    Advanced Member

  • Normal Members
  • PipPipPip
  • 82 posts

Posted 20 May 2011 - 13:10

there's a bug in the swing tool too, it deletes notes when you change the amount of lines. great tools btw

#20 nism

nism

    Local Chief Member

  • Normal Members
  • PipPipPipPipPip
  • 210 posts

Posted 20 May 2011 - 15:16

@It-Alien: If I understand you correctly, it is intended to work that way. But I think you're right, it would be better if it didn't do that, so I'll change it.

@neopan: I know the tool sometimes drops notes, it is a limitation of the tool, and unfortunately not one that I can easily fix. It happens when two notes are written to the same line in the same column, the first one gets overwritten in that case. Could that be what's happening here, or do you think it is a separate issue? Some additional information would be useful: Does it delete all notes or just some? Are the dropped notes close to other notes? Have you tried to un-check the 'keep notes in the same column' option?

#21 neopan

neopan

    Advanced Member

  • Normal Members
  • PipPipPip
  • 82 posts

Posted 20 May 2011 - 21:53

@neopan: I know the tool sometimes drops notes, it is a limitation of the tool, and unfortunately not one that I can easily fix. It happens when two notes are written to the same line in the same column, the first one gets overwritten in that case. Could that be what's happening here, or do you think it is a separate issue? Some additional information would be useful: Does it delete all notes or just some? Are the dropped notes close to other notes? Have you tried to un-check the 'keep notes in the same column' option?


my bad, i got around it. when i entered only 4 notes it would erase them while adjusting the cycle lenght (without pressing apply) it seems ok when i enter more notes

#22 nism

nism

    Local Chief Member

  • Normal Members
  • PipPipPipPipPip
  • 210 posts

Posted 22 May 2011 - 16:33

I have filed a bug report onto the tool page.

The quantization gets triggered automaticaly upon dialog opening.


Fixed.

#23 eyesee

eyesee

    Member

  • Normal Members
  • PipPip
  • 44 posts

Posted 18 January 2013 - 00:50

I was trying these tools and find iterative quantize the most useful.

it struck me while using it that if it were possible to read in another track as the target quantize,
you may well have a very effective groove quantize tool.

I was seeing what MPC grooves looked like in Renoise, but I think the midifile makes them LPB default to 4.
though maybe I can change that in prefs. in any case that seemed to make it hard to potentially see the right
amount of precision in the midi placements. I prepared the MPC midi in Logic and exported to a midifile.
so that will be at a resolution of about 240 ticks per 16th. 3840 per bar. I will see if I can upload the midifile
of the first 16 MPC grooves. because the MPC wanders slightly and possibly because of this LPB setting, you might
sense certain bars of the 4 bar grooves to be more fluid than others. you might find they make useful templates
if you were to put any in any of your tools.

thanks for the tools.. :)/>

Attached Files


Edited by eyesee, 18 January 2013 - 00:53.


#24 hmā

hmā

    Advanced Member

  • Normal Members
  • PipPipPip
  • 91 posts
  • Gender:Male
  • Location:Tukums

Posted 06 December 2013 - 21:25

Very useful, thanks nism!

#25 ffx

ffx

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2987 posts
  • Gender:Not Telling
  • Interests:macOS fanboying

Posted 19 August 2016 - 17:09

Unsure if this is the official groove tool thread...

 

nism, I hope you don't mind that I post here a modified version of your Groove Tool. Did optimize the groove tool by following joule's and danoise's optimization tips over here: http://forum.renoise...ion-initiative/

 

Results in really huge speed up, so its much more usable now here, without slider lagging etc.

 

Also added shortcut and pattern->track context menu entry.

 

Also moves now at least the note column fx along with the note.

 

It still does not move the track fx, which still will result in chaos if there is a midi command. (Though I already prepared it)

 

Groove tool optimized / +note column fx move / +shortcuts

Attached File  com.nisanmol.GrooveTool.xrnx   6.12KB   62 downloads

 

BTW. the tool does not move the fx data along with the notes. Will result in chaos for example when using midi commands.


Edited by ffx, 20 August 2016 - 00:11.

  • Meef Chaloin likes this

MacOS 10.12.6 Retina, Renoise 3.1 64 bit   -   Tuned Shortcuts | Multi-Jump From/To Send | Quick Template | Insert Native DSP Menu (incl. deprecated)