Category Archives: MIDI with stm32f103c

Breakthrough on the MIDI synth

Ok, not quite. the wall i hit was i do not, or did not, at all understand how audio samples work, but now, i have learned what/how they are, how they can be passed to a super fast PWM drive or a DAC to produce audio (i have a nice audio-grade DAC so i may make the synth esp8266 or 32 based so you can add drum beats and other stuff via an app or web interface).

Now i know, and am currently learning how sample-tables work, as that is apparently important, if you want to output something more than just pure square wave. But thats just gravy and inconsequential, as it stands i know all i need to know to finish this thing, and shall, once i finish working on a newer, more important project with an immediate deadline, im making a WS2812B strip audio-reactive driver to drive a huge LED array.

STM32 based MIDI synth

I realized the STM32F103C i have has a pretty high clock speed, so currently im trying to turn it into a basic FM oscillator synth. In other words, it will read midi input from another device, like piano, midi controller, etc, then convert it into sound.

I am using this library https://github.com/FortySevenEffects/arduino_midi_library , its as its described, basically plug’n’play, though there is a small number of tweaks and understanding to utilize this as i have found, not just for the stm32, but any board you use this with, less so though for the UNO R3

Continue reading STM32 based MIDI synth