|
Post by feijai on Dec 19, 2023 23:03:24 GMT
I have posted QUANT in my repository. QUANT is a straightforward note quantizer with 30 scale options. You could reasonably replace some of them with your own (assuming they're 12EDO, no microtonal scales sorry). QUANT presents a problem however. It is the first time I've attempted to use GRAINS to output a CV that matches a certain precise voltage. GRAINS's voltage output is not quite linear. QUANT sports a lookup table (see "position" in the code) for the right output values for each note: but I do not know if this table will need to vary from GRAINS to GRAINS. I hope not but am not certain. I could use some help: if your GRAINS seems to be getting pretty off, I could use some feedback (on my own GRAINS it hits each note within about 7 cents).
|
|
|
Post by DeepSEA on Dec 20, 2023 12:52:31 GMT
This is a great excuse to start updating my Grains firmware and start playing around with it over the holidays!
|
|
|
Post by feijai on Dec 21, 2023 0:36:29 GMT
I have posted a new version of QUANT with a revised pitch output table with better tracking. It matches my GRAINS when warmed up. However I still do not know if it matches other people's units. I have a sequencer in the works but it is on hold until I get feedback about pitch CV output from Mozzi. If it's inconsistent it may not be worth bothering. Please send me some feedback! Here's how I test: - Download QUANT, set both switches to MAN.
- DISCONNECT THE USB CABLE. That's important, else you'll get very bad readings.
- Attach OUT to an oscillator.
- I first test the octaves. Set POT 2 to FAR RIGHT and POT 3 to FAR LEFT.
- Turn POT 1 to far left. Tune the oscillator to, say, C2 (C below middle C). Don't go further down on a VCO, it won't track right.
- Turn POT 1 clockwise. Does it hit all the Cs accurately?
- I next test chromatic notes. Set POT 2 to FAR LEFT and POT 3 to FAR RIGHT.
- Turn POT 1 to far left. Tune the oscillator again to, say, C2.
- Turn POT 1 clockwise. Does it hit all the notes accurately?
- Try these tests when GRAINS is cold and when it is warmed up for an hour. Is there a difference?
|
|
|
Post by feijai on Dec 28, 2023 9:35:55 GMT
Good news. My testing suggests that the CV output of QUANT tracks properly regardless of whether the unit is warm or cold. Now the only issue is whether it tracks the same on MY unit (which the table is tuned for) and on OTHER people's units. Fingers crossed, hoping it is.
|
|
|
Post by saltatempo on Dec 1, 2024 21:38:03 GMT
Hi, I uploaded on my official GRAINS the quant.ino sketch, after modifying a #define for 2OSCD.
Works fine with octaves (root tuned to C2), here my measures on oscilloscope
65 Hz ---> C2 130 Hz ---> C3 264 Hz ---> C4 525 Hz ---> C5
967 Hz ---> mmm... lower than theoric C6
|
|
|
Post by saltatempo on Dec 1, 2024 21:49:31 GMT
Category 1 - Major scale (root tuned to C2)
65 Hz - 72 Hz - 81 Hz - 86 Hz - 96 Hz - 109 Hz - 123 Hz - 130 Hz - 147 Hz - 165 Hz - 176 Hz - 197 Hz - 222 Hz - 249 Hz - 264 Hz - 296 Hz ... 804 Hz - 912 Hz mmm... - 967 Hz idem...
some theoric values
65.41 - 73.42 - 82.41 - 87.31 - 98.00 - 110.0 - 123.5 - 130.8
it seems fine to my eyes. With my ears? It seems very good.
Now I can put RBSS cv out into grains and tune the second 2oscd with first one controlled by seq16
|
|
|
Post by feijai on Dec 1, 2024 23:04:54 GMT
Hi, I uploaded on my official GRAINS the quant.ino sketch, after modifying a #define for 2OSCD.
Works fine with octaves (root tuned to C2), here my measures on oscilloscope
65 Hz ---> C2 130 Hz ---> C3 264 Hz ---> C4 525 Hz ---> C5
967 Hz ---> mmm... lower than theoric C6
Grains only has about a 4 octave range. The 2OSCD can be driven from C2 to about A#5.
EDIT: That's not amazing. Let 130Hz be the baseline. Then C4 is 4 Hz high and C5 is 5Hz high. Granted, Grains has a very low resolution of about 7 to 8 points per semitone, but that's not great.
|
|
|
Post by funbun on Dec 2, 2024 2:37:26 GMT
No microtonal scales?!?
|
|
|
Post by feijai on Dec 3, 2024 2:29:03 GMT
GRAINS PWM has a resolution of about 7 or 8 per semitone. So 31EDO would be a bit rough.
Though examining QUANT's scales, I found an error in the Pentatonic scale. Just re-committed.
EDIT: Just modified QUANT to include Major 6 and Minor 6 scales (no more Augmented or Major-Minor 7)
|
|