Post by apiel on Jan 5, 2023 8:34:05 GMT
I am currently building a digital kick drum using wavetable and envelop modulation but I am having trouble on the electronic component parts.
github.com/apiel/kick23
My plan, is to put everything together, with small display, 3 or 4 pots, one rotary encoder and 1 push button. And then reuse the same design for multiple sound module, like a 303 module or maybe a small fm module... Could even be use to generate VCO.
My problem is that with the current board I am using (ESP32 C3 with 0,42" LCD) there is no built in DAC and the PWM sound is OK but not so nice. It could be fine for a kick drum by applying a LPF but if I want to use it for other purpose it will not work out. The second problem of my current board is that it is not available anymore in EU so I would have to pay import taxes and it will become super expensive (26€ for fees + 20% tax).
So I am trying to think if I keep using this board and use an external DAC or try to find another MCU.
I have few board but none of them have 16 bit DAC:
- SAMD21 has a 10 bit DAC (maybe too less?)
- stm32f4 has 2x 12 bit DAC (but this board seem to be a bit of headache to program)
- esp32 has 8 bit DAC (I am most familiar with this board)
- esp32-C3 no dac at all
I wonder if there would be a board with some built-in 16 bit DAC available and if possible small and not too expensive Any suggestion?
Else I would most likely stick to esp32-C3 or maybe try SAMD21, and use an external DAC.
So the next problem is to find the right DAC. I try to find an i2c 16 bits DAC but could not find any without any TRS jack connector built on it (and if possible small). I found some very nice i2s DAC (max9835a that I already have at home), but I have hard time to understand how to connect it to the esp32-C3.
I am a bit lost, in which direction to get, spending hours and hours to try to find the right board or DAC on the web, without real good result. Would be really great if you could give me some advice :-)
github.com/apiel/kick23
My plan, is to put everything together, with small display, 3 or 4 pots, one rotary encoder and 1 push button. And then reuse the same design for multiple sound module, like a 303 module or maybe a small fm module... Could even be use to generate VCO.
My problem is that with the current board I am using (ESP32 C3 with 0,42" LCD) there is no built in DAC and the PWM sound is OK but not so nice. It could be fine for a kick drum by applying a LPF but if I want to use it for other purpose it will not work out. The second problem of my current board is that it is not available anymore in EU so I would have to pay import taxes and it will become super expensive (26€ for fees + 20% tax).
So I am trying to think if I keep using this board and use an external DAC or try to find another MCU.
I have few board but none of them have 16 bit DAC:
- SAMD21 has a 10 bit DAC (maybe too less?)
- stm32f4 has 2x 12 bit DAC (but this board seem to be a bit of headache to program)
- esp32 has 8 bit DAC (I am most familiar with this board)
- esp32-C3 no dac at all
I wonder if there would be a board with some built-in 16 bit DAC available and if possible small and not too expensive Any suggestion?
Else I would most likely stick to esp32-C3 or maybe try SAMD21, and use an external DAC.
So the next problem is to find the right DAC. I try to find an i2c 16 bits DAC but could not find any without any TRS jack connector built on it (and if possible small). I found some very nice i2s DAC (max9835a that I already have at home), but I have hard time to understand how to connect it to the esp32-C3.
I am a bit lost, in which direction to get, spending hours and hours to try to find the right board or DAC on the web, without real good result. Would be really great if you could give me some advice :-)