You will find attached the simplest synth based on wavshape (see adventure kid for free single cycle wavshapes) which is able to save and restore its configuration.
It only aims at explaining how to retrieve a preset into a soundfiler… and to make some noise. (for sure it could be better coded)
Hope this helps
SimpleSynthPreset.csd (3.5 KB)