Had to fly for work & somehow airports are a weirdly good place to write computer programs. Wrote this in a few hours yesterday on my laptop using blackfin emulator - just tested on the computer and think it should just work on the device…
https://github.com/rick-monster/aleph/tree/dev/modules/fmsynth
Each op can be modulated by two other ops e.g op4Mod1Source picks the 1st modulator for op4, op4Mod1Gain sets modulation depth. The output of each op can be mixed into aleph main outs.
Missing features:
- LFO not plumbed in yet.
- note velocity not plumbed in (maybe it should be removed instead to encourage more creative thinking from aleph users about how to interpret gesture velocities)
EDIT:
gave the outdoors a miss today (heavy rain) - picked up this module instead. Sure enough, couple o’ bugs with the params & some missing plumbing but the DSP is basically sound! Got further in 30 mins on aleph towards understanding FM synthesis than many hours spent screwing with an ebay FB-01 bargain struggling to figure out some jinky (I mean buggy) free editor, rifling through presets & generally getting overwhelmed…
Definitely hoping to pick up some tips on percussion/SFX synthesis from the userbase and planning a quick release, since this thing is immediately useful/fun…
The obvious more interesting experiment is to combine the kind of FM/pitchshift processing in grains with a moderately capable 4-voice synth engine - hopefully allowing me to access flexible FM guitar tones for melodic playing, also might be interesting to smash vocals to bits or combine with any other pitched sounds. Something I’ve been dreaming of since starting this aleph coding quest…