This video shows how to make Trap hi hats using the density function to create multiple different subdivisions. This is done through creating a function which passes the number of subdivisions in a beat as an argument.
Instagram - www.instagram.com/mrbombmusic/
twitter - https://www.twitter.com/mrbombmusic/
Download Sonic Pi: https://sonic-pi.net/
Sonic Pi Online Community: https://in-thread.sonic-pi.net/
Support Sonic Pi on Patreon: https://www.patreon.com/samaaron
(Note: I do not receive any financial compensation for promoting Sonic Pi. It is just a platform I am passionate about both as a musician and educator.)