help needed to make a simple quantizer
hello all, I am trying to make a very simple quantizer and could do with a little help. The idea is that you have a continuous 8 bar loop which you can record data into and then continually over dub for as long as you like. So you click record, play a few notes in, way out of time, and when the 8 bar loop goes full circle all of the data you recorded in has been quantized making you sound great! Any idea what objects I should be looking at? Many thanks...
incidentally I have looked at [pipe @quantize 4n @delaytime 0 ticks] however that will not quantize a value backwards if an event is triggered just after the quantize point. I would like my system to quantize both back and forwards in time.
There are probably lots of different approaches to this problem and building sequencers in general, but on way to deal with it is to build some logic that examines where you are in the ticks, < 240 it goes to the current beat, > 240 it goes to the next beat. Here is a very simple one bar implementation:
Thanks very much for this Ben, Really helpful. Just to complicate things further I now intend to make the quantize resolution variable. For example you play in the data and then when you turn a single MIDI control the note information "flows" from one quantize amount to another i.e you start off with 32ths, then incrementally the information moves to 16ths and so on. Any idea how I can make this work?
I've not really tried this before, but what you might want to do is use a locked phasor~ that you unlock when you are moving to your destination interval, then relocking to the transport once you arrive. Off the top of my head, the following is a way to do something like this. Its not perfect (there are very occasionally some glitches), and you could probably do the same thing any number of ways, but it might give you some ideas for a direction to go in:
Good luck!
-Ben
Another way to do it is with curve~, and alternating between a locked phasor~ and a non-locked phasor~. There is probably a "smoother" way to do this:
Thanks for your time on this Ben, really appreciated. The two patches are great but they address something slightly different to what I'm after. I'll have another go at explaining what I'm trying to achieve. I am trying to build a short looping sequence, say 8 bars long in simple 4/4 time (though ultimately these values will be changeable). At first the note data will be played in and recorded with no quantization being applied at all. At this point I would like the user to have access to a dial or slider, when it is moved quantization starts to happen. Lets say the dial runs from 0 - 100, at "20" the note data will have been quantized to the nearest 32th's, as the dial moves to "40" the notes will shift gradually to the nearest 1/16th's then at "60" to the nearest 1/8ths, "80" to 1/4ths and finally "100" will be 1/2ths. As in the first patch you made for me, note data will shift to the closest quantize point from where it was originally played. I hope this doesn't sound to convoluted! Any further help or comment would be very gratefully received...
Hello Barry,
post has been a long time ago but: did you find a solution for your problem as I am in the process of trying pretty much the same?
BR
Jo