# SO small Quantizer, 2channel, 5cm

**URL:** <https://lookmumnocomputer.discourse.group/t/so-small-quantizer-2channel-5cm/6161>\
**Category:** Uncategorized\
**Created:** [May 4, 2023, 8:33pm UTC](https://lookmumnocomputer.discourse.group/t/so-small-quantizer-2channel-5cm/6161 "2023-05-04T20:33:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastian](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/sebastian/32/39_2.png) [@sebastian](https://lookmumnocomputer.discourse.group/u/sebastian)\
**Post date:** [May 4, 2023, 8:33pm UTC](https://lookmumnocomputer.discourse.group/t/so-small-quantizer-2channel-5cm/6161/1 "2023-05-04T20:33:57Z")

</div>

Hey! I finally managed to get the firmware for my quantizer working! It is basically the [kassutronics quantizer](https://store.kassutronics.net/eurorack-diy-c-1/quantizer-p-1) (also here already in [Kosmo format](https://lookmumnocomputer.discourse.group/t/kassutronics-quantizer-in-kosmo-format/5275) by @BenRufenacht ) But I wanted something smaller with a simpler interface. What took me so long was that the adc in the kassutronics design runs in free mode, meaning that it samples at a certain freqeuncy and then fires interrupts whenever there is new data. And this cycles through 4 ADC inputs. In my case I needed two additional analog inputs for my potentiometers, so I had to understand how this works first. I had to slow down the conversion frequency a bit, but I think it still works.  
The bias knob adds some voltage to the input, which ‘transposes’ the input, but still in key. It can add or subtract up to 12 semitones, 12 o clock position is 0. You same applies for the bias CV inputs. I think you can have nice variations of a main melody if you add a second (slower clocked) sequencer there.

 ![quantizer_photo](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/8/e/8ecf8e018f13775e5405cbfdb929e65e7a231993.jpeg)

It still lacks some more scales and I am currently a bit at a loss at how to make them.  
This is the code, first column are the bits for the semitones and the second column is the corresponding LED pattern. Chromatic is clear, all bits are set, but for the other I can not really remember. Could someone point me to a good resource to help me with my music theory? 🙂 I mean, in theory I know it’s easy, a major scale is “whole, whole, half, whole, whole, whole, half”, but I am having trouble to connect that to the individual bits, because between some bits there is a half tone step and between others not? or maybe not? Whenever I tried it, I made some stupid mistake so far -.- … I would like to add a major pentatonic, harmonic minor, whole tone and diminished for now, if you think I am missing a very important nice sounding scale, please tell me 🙂

```auto
// if I understand kassutronic quantizer correctly, 
// only the upper 12 bits are used to define if a semitone is in the scale
// the led pattern is written directly to the PORT of outputs
definedScale possibleScales[5] = {
  {0b1111111111110000, B11111100}, // chromatic
  {0b1010110101010000, B00000100}, // major
  {0b1010010110110000, B00001000}, // minor
  {0b1000000000000000, B10000100}, // only octaves
  {0b1010010110110000, B10001000}, // minor pentatonic

};

```

Here is the github with kicad and firmware files, I hope I have not forgotten anything in there.

> **[GitHub - sebastianbeyer/SO\_quantizer: Strange Orbits Kosmo format quantizer](https://github.com/sebastianbeyer/SO_quantizer)**
>
> Strange Orbits Kosmo format quantizer. Contribute to sebastianbeyer/SO\_quantizer development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![didordure](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/didordure/32/25981_2.png) [@didordure](https://lookmumnocomputer.discourse.group/u/didordure)\
**Post date:** [May 5, 2023, 6:51am UTC](https://lookmumnocomputer.discourse.group/t/so-small-quantizer-2channel-5cm/6161/2 "2023-05-05T06:51:03Z")

</div>

do you know this one?  
search for quantizer inside the page.

[http://www.acxsynth.com/archives/archives.html](http://www.acxsynth.com/archives/archives.html)

---

<div class="post-metadata">

**Author:** ![stmllr](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/stmllr/32/5055_2.png) [@stmllr](https://lookmumnocomputer.discourse.group/u/stmllr)\
**Post date:** [May 5, 2023, 9:59pm UTC](https://lookmumnocomputer.discourse.group/t/so-small-quantizer-2channel-5cm/6161/3 "2023-05-05T21:59:41Z")

</div>

> [@sebastian](#):
>
> ```auto
> definedScale possibleScales[5] = {
> {0b1111111111110000, B11111100}, // chromatic
> {0b1010110101010000, B00000100}, // major
> };
> 
> ```

Translating the 12 first bits (from left to right) into notes:

```auto
# Chromatic (twelve-tone scale)
0b 1 1 1 1 1 1 1 1 1 1 1 1 0000
   C C# D D# E F F# G G# A A# B

```

```auto
# C Major:
0b 1 0 1 0 1 1 0 1 0 1 0 1 0000
   C D E F G A B

```

Find below a list of scales including their Integer notation. These can be easily translated into the above bit-scheme. Just set the bits on the nth positions:

```auto
# Chromatic (0,1,2,3,4,5,6,7,8,9,10,11)
0b 1 1 1 1 1 1 1 1 1 1 1 1 0000
   ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
   0 1 2 3 4 5 6 7 8 9 10 11

# Major scale (0,2,4,5,7,9,11)
0b 1 0 1 0 1 1 0 1 0 1 0 1 0000
   ^ ^ ^ ^ ^ ^ ^
   0 1 2 3 4 5 6 7 8 9 10 11

```

> **[List of musical scales and modes](https://en.wikipedia.org/wiki/List_of_musical_scales_and_modes)**
>
> The following is a list of musical scales and modes. Degrees are relative to the major scale.
> W-W-H-W-W-H-W (descending)
> (12,10,8,7,5,3,2) (descending)

---

<div class="post-metadata">

**Author:** ![stmllr](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/stmllr/32/5055_2.png) [@stmllr](https://lookmumnocomputer.discourse.group/u/stmllr)\
**Post date:** [February 16, 2025, 4:28pm UTC](https://lookmumnocomputer.discourse.group/t/so-small-quantizer-2channel-5cm/6161/4 "2025-02-16T16:28:54Z")

</div>

I recently came back to the quantizer module and added a few more scales to it:

```auto
definedScale possibleScales[13] = {
  {0b1111111111110000, B11111100}, // chromatic
  {0b1010110101010000, B00000100}, // major
  {0b1010010110110000, B00001000}, // minor
  {0b1000000000000000, B10000000}, // only octaves
  {0b1010100101000000, B10000100}, // major pentatonic
  {0b1001010100100000, B10001000}, // minor pentatonic
  {0b1011001110010000, B10011000}, // harmonic minor (spooky)
  {0b1011100101000000, B11100100}, // blues major
  {0b1001011100100000, B11101000}, // blues minor
  {0b1010010110110000, B11101100}, // blues hexatonic
  {0b1011000100010000, B11110000}, // algerian (only first octave)
  {0b1010010101000000, B01111100}, // yo (japan)
  {0b1000100100010000, B10100100}, // stranger things ;-)
};

```

---

<div class="post-metadata">

**Author:** ![Dud](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/dud/32/610_2.png) [@Dud](https://lookmumnocomputer.discourse.group/u/Dud)\
**Post date:** [February 17, 2025, 9:17am UTC](https://lookmumnocomputer.discourse.group/t/so-small-quantizer-2channel-5cm/6161/5 "2025-02-17T09:17:08Z")

</div>

Hi, just a question  
Blues M & m are hexatonic scales (6 notes), what is the third blues hexatonic scale please ?

---

<div class="post-metadata">

**Author:** ![stmllr](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/stmllr/32/5055_2.png) [@stmllr](https://lookmumnocomputer.discourse.group/u/stmllr)\
**Post date:** [February 17, 2025, 12:22pm UTC](https://lookmumnocomputer.discourse.group/t/so-small-quantizer-2channel-5cm/6161/6 "2025-02-17T12:22:17Z")

</div>

> [@Dud](#):
>
> what is the third blues hexatonic scale please ?

good catch. all of them are hexatonic, the first two (“major”/ “minor”) taken from Dan Greenblatt, the other (“hexatonic”) is taken from Jamey Aebersold, but it contains a bug! It should read: `0b1001011100100000` instead - which is the same as the major one from Dan Greenblatt. _sigh_  
See [wikipedia article about blues scales](https://en.wikipedia.org/wiki/Blues_scale#Hexatonic)

---

<div class="post-metadata">

**Author:** ![Dud](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/dud/32/610_2.png) [@Dud](https://lookmumnocomputer.discourse.group/u/Dud)\
**Post date:** [February 18, 2025, 8:25am UTC](https://lookmumnocomputer.discourse.group/t/so-small-quantizer-2channel-5cm/6161/7 "2025-02-18T08:25:39Z")

</div>

Yes I thought there were only 2 hexatonic blues scales (M&m) 😉

---

<div class="post-metadata">

**Author:** ![Farabide](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@Farabide](https://lookmumnocomputer.discourse.group/u/Farabide)\
**Post date:** [February 18, 2025, 4:29pm UTC](https://lookmumnocomputer.discourse.group/t/so-small-quantizer-2channel-5cm/6161/8 "2025-02-18T16:29:01Z")

</div>

One major, one minor x 12 for each key ( and don’t get me started on modal variants ). There are also several “local” variations depending on where in the world you are playing. Chinese and Indian scales have driven me to drink when arranging!  
Rant over.  
As you were.  
My best to all. 🤗
