Percussion sounds with Mozzi

592 views
Skip to first unread message

Sascha Ringel

unread,
May 7, 2021, 3:24:37 AM5/7/21
to Mozzi-users
Hello,
I'm currently working on an Arduino Nano based pedal which is powered by Mozzi to create percussion sounds. The purpose is to help practicing guitar, so it will have a metronome-like mode and a stomp mode to trigger sounds with foot tapping. All the schematics and source code will be published. It is based on subtractive synthesis with 3 wavetable oscillators, 3 noise-sources and the needed envelopes running at audio-rate. Currently I'm working on a series of articles how to use Mozzi to synthesize different percussion instruments (like kickdrum, snare, hihat and other) - a first article for kickdrum synthesis is now online. I would be happy if you have any feedback or hints to improve it - and thank you for this really nice library! Best regards, Sascha

staffa...@oscillator.se

unread,
May 7, 2021, 7:11:58 AM5/7/21
to Mozzi-users
That sounds good! :)

I did something similar, with a very synthetic result: https://youtu.be/xTlGxCow4GA

I'd love to look at your code.

Cheers,

Staffan
SWEDEN

Sascha Ringel

unread,
May 7, 2021, 8:48:10 AM5/7/21
to Mozzi-users
Hej Staffan,
of course I know your project(s) - this was also an inspiration for me. The code for the kickdrum is already in the blog (and on GitHub), the rest will be added in the following weeks. I'm aware about the limitations with standard Arduino, but for my purpose this should be sufficient. The Nano is reliable, small and cheap. Most difficult is the hihat (not to talk about cymbals) for me, especially creating colored noise (for noise I dont use samples but a very fast 8-bit random number generator function)..

BRs, Sascha

staffa...@oscillator.se

unread,
May 7, 2021, 3:54:19 PM5/7/21
to Mozzi-users
That is great, found your github account.

Good luck with your excellent blog, I will follow your eplorations!

Staffan

Sascha Ringel

unread,
May 8, 2021, 7:19:28 AM5/8/21
to Mozzi-users
Thank you Staffan - in the article for the kickdrum are the sourcecodes included as well as a link to GitHub at the end of the page. (https://arduinokickstompdrum.wordpress.com/2021/05/06/01-kick-drum/)
Have a nice weekend! Sascha

staffa...@oscillator.se

unread,
May 9, 2021, 3:15:18 AM5/9/21
to Mozzi-users
Thanks a lot for sharing!

That 1st sound, the kick, is waaaaaaaay superior to my results. I based my attempts on this article: https://www.musicradar.com/how-to/how-to-recreate-classic-analogue-drum-sounds-in-your-daw-and-with-hardware

Then I switched from Arduino to the Daisy Seed platform: https://youtu.be/n4_eJM9G5Ms. The hardware is $28 with way more power! :) And a really nice audio DSP library that is quite similar to Mozzi.

Staffan
Message has been deleted

Sascha Ringel

unread,
May 19, 2021, 7:44:38 AM5/19/21
to Mozzi-users
Hello,
I just wanted to let you know that I have added some more articles (on noise algorithms and simple software filters (also with the math for the filter coefficients)). As always - feedback is very welcome!
BRs, Sascha

staffa...@oscillator.se

unread,
May 19, 2021, 5:48:13 PM5/19/21
to Mozzi-users
Great stuff Sascha! I expecially enjoyed the tuned noise algoritm.

Thanks a lot for sharing!

Staffan

Lito Dicdican

unread,
May 21, 2021, 12:16:19 AM5/21/21
to mozzi...@googlegroups.com
Hi,

Can it be ported to STM32F103 blue pill?

Thanks! 👍

--
You received this message because you are subscribed to the Google Groups "Mozzi-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mozzi-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/mozzi-users/f97481da-9942-4904-88fc-91b18d837d3an%40googlegroups.com.

Sascha Ringel

unread,
May 21, 2021, 2:18:56 AM5/21/21
to Mozzi-users
Hi,
I'm not an expert on STM32, but I think it should be no problem - performance is much higher than arduino. The only thing I don't know is about Hifi-mode on blue pill - since I'm using it on my project. So in the final audio-routine there might be some adjustments required.
Ciao, Sascha

Sascha Ringel

unread,
Jun 1, 2021, 8:37:08 AM6/1/21
to Mozzi-users
Hello,
just to inform you that I added some more articles on basics of digital filtering, piezo-trigger circuit and a basic "just-stomp" variant with schematics and sourcecode (https://arduinokickstompdrum.wordpress.com/)
Best regards, Sascha

Lito Dicdican

unread,
Jun 1, 2021, 9:02:02 AM6/1/21
to mozzi...@googlegroups.com
Thanks!

Cheers 👍

Staffan Melin (Oscillator)

unread,
Jun 1, 2021, 7:45:00 PM6/1/21
to mozzi...@googlegroups.com
Your articles are great -- very informative and well-written!

Thanks a lot for sharing!
You received this message because you are subscribed to a topic in the Google Groups "Mozzi-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mozzi-users/9UJJrFk_KtY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mozzi-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/mozzi-users/ca03de3e-05c3-4a0d-bd19-f284ab86db60n%40googlegroups.com.


--
Staffan Melin
Oscillator - ord bild form
Kryssdäcket 1
SE-413 27 GÖTEBORG
SVERIGE/SWEDEN
www.oscillator.se
staffa...@oscillator.se
+46 (0)70-4876 250
Reply all
Reply to author
Forward
0 new messages