Just discovering #looptober and wanted to share this old Forth experiment (from already 9-10 years ago 😱) with my https://thi.ng/synstack VM and its DSP/Synth vocab, all running on STM32 dev boards. This Forth-based stack VM and also its earlier non-Forth, DSP graph-based version in the same repo are all portable C11 code, independent from any audio drivers/libs.
The first example an extended version of the second. The entire Forth source for the 2nd example is shown in the attached image. It includes the note/scale selection/definition, code to create a synth with 2x oscillators and 2x LFOs, ADSR, foldback distortion and the probabilistic sequencer.
https://soundcloud.com/forthcharlie/synstack-forth-2track-probabilistic
https://soundcloud.com/forthcharlie/synstack-forth-bass-seq-variations
More info about the project here:
https://hackaday.io/project/9374-stm32f4f7-synstack/log/31951-proper-project-name-and-100-forth-example
Playlist of 40 other demos (more varied & interesting than the above two examples. Will share & talk about some more of them in due course... ;)
https://soundcloud.com/forthcharlie/sets/stm32f4
#Forth #Audio #Synth #DSP #STM32 #Synstack