Bitwise Scale Quantizer Beta Firmware - Untested
QT.B input root mask
Input semitones and a 12-bit note mask where LSB = root, returns nearest semitone in scale (corresponding bit set to 1 in scale mask).
VN input
Input volts, receive semitones. Essentially quantizes the input to the N table, so it’s a bit more complex than just / X N 1.
Also includes QT.S and QT.SC from above post.
Edit: (removed bad build, updated below with BITS OPs)
Next up: OPs for getting/setting 4 bits of a number at once.
Someone remind me though, why are BGET and BSET separate OPs? Would we be okay with an equivalent BIT OP for getting/setting based on number of args? Then the 4-bit version of the OP could be BITS.