the synth engine i'm writing in C++ has an ADSR envelope generator now. here is a Moog-like bass setting. excuse my crappy playing. see next post in thread for a pad.

here i am testing my C++ synth engine with a pad-type sound, to check how slow ADSR envelopes are working. no polyphony yet.

so, the background for this is that i'm writing this code for a hardware virtual analog synth that doesn't exist yet. my friend is working on the physical control interface for it. this code might end up running on some kind of ARM processor, since those are a lot easier to port code to than dedicated DSPs.

internally, the plan is for the synthesiser to have three main chips:

1. a low-performance MCU to get input from the piano action, buttons and knobs.

2. a high-performance ARM SoC or DSP that generates digital waveforms.

3. DAC to output analog waveforms of what the sound chip rendered.

the sound chip will run in a tight loop and will only have two tasks: generating samples in real-time for the DAC, plus receiving MIDI events from the MCU, via interrupts and DMA if possible. it should spend a minimum number of CPU cycles handling MIDI messages.

Follow

@lore What's an SoC? I know what the abbreviature means, I just don't understand the concept.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.