Hello,
Welcome to the community!
I will not be sharing the code I wrote other than what is in the posted topics.
I wrote these from scratch each time I was asked about it by adding a few lines of code to the existing sound examples.
See this topic also:
Try doing it on your own… it is much more rewarding.
Please read the guidelines:
- Processing FAQ - Frequently asked questions
- p5.js Community Statement
- Guidelines - Asking Questions
- Guidelines - Answering Questions
:)