You are likely to find only 8 bit arrays, at least that is all I saw at Digikey and Mouser, the two most commonly used component distributors in North America. There was even a sales page from one vendor which mentioned 12 bit devices, but when looking at the product pages they only produce 8 bit devices currently.
When you get to 16 bits it is very difficult to match resistors well enough that the step size for each bit is the same. That is why most manufacturers of D/A converter devices stopped using that technique around 30 years ago, it was just too difficult and expensive to get the accuracy needed for 16 bit and higher bit depth device
Thanks for the clarification, i thouhgt of using a jumper to enable 12 or 16 bits.
More common would be to keep the same sample rate, and modify the lookup table for each frequency. That would also allow you to add values together from different lookup tables to generate multiple frequencies simultaneously.
That's what i'm trying to figure out.
https://en.wikipedia.org/wiki/MIDI_tuning_standard
"The frequency range starts at MIDI note 0, C = 8.1758 Hz, and extends above MIDI note 127, G = 12543.854 Hz."
round(12543.854) = 12544 x 360 = a switching frequency of 4515840 Hz.
Witch is something 74hc series ic can do.
The best is probably 74HC574.
Only the B port on the PIC32MX270F256D is 16 bit, but also has both I²C and i need those.
Port C is 8 bit and is free.
Than 48000000 ( clock of PIC ) ÷ 4515840 = 10,629251701 (prescalle value of pic timer1)
Nasty floating point numbers.
I did some reading:
Wavetables and samplers
What you propose is having a steady stream of like 48kHz and some how blend in you look up table.
Not sure how to do this and will probably end up with floating point numbers.
That something i wonder about, how did they do/did it in my Waldorf Micro Q?
I'm thinking of using a "programable counter" for a second oscilator on the pic, where you normal connect a 32.768 hz to.
Porbablly easier to use than a onboard timer with prescale and stuff.
I found a cool stereo Audio codec, A cirrus Logic CS4272.
But has differential input, not sure what to do with that.
Many registers to setup.
Another one is AKM, but requires something more than a pic32mx270F256D.
like having 4 x spi.
Using 74hc is a cheap experiment, not requiring much software handeling to setup a real DAC or Audio codec.
The only bad part is mouser forces you to be 50€ for free shipping and i only need 3 parts.
: )
Maybe not precise as you mention, but gives it charrecter.
I really would like to try the "brute force" approach.