I realised a while ago that there’s no “kick/bassdrum” synth in Sonic Pi, and I was wondering what would be the best approach to simulate this kind of percussive sound with existing synths (of course, using samples would be simpler, but I’d like to understand sound at a deeper level).
So I searched for a few examples and theories on the web and came up with this, mostly inspired by this post:
use_synth :sine live_loop :kick do click = play :c3, release: 0.0125, amp: 5 pop = play :c2, decay: 0.05, decay_level: 0.5, release: 0.25, amp: 2 body = play :c2, sustain_level: 0.8, release: 0.8, amp: 2 sleep 1 end
It doesn’t sound too bad, but I’d love to hear about different methods or tips to enhance this one. For example, is there an easy way to control the pitch for the different “layers”? Are there other synths (or FX) that would work better than a sine? And would someone have some kick or other percussion recipes to share? Thanks!