electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Arduino
Bass Drum
Post new topic   Reply to topic
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Mon Nov 25, 2019 1:45 pm    Post subject: Bass Drum
Subject description: and now for something completely different...
Reply with quote  Mark this post and the followings unread

I am working on a drum synthesizer, but I have to do it my way Rolling Eyes
The first part (the software needs some more tinkering, the hardware is incomplete) is working, and I am so enthusiastic that I had to publish this part...
Looking at the schematics, of course there is an Arduino (clone) Nano and three more chips (the opamps not counting, they are just there for getting the right voltages out.
First there is the AD9833, a Direct Digital Synthesizer from Analog Devices.
This can put out sine, triangle and square waves (not simultaneous) which is clocked by the 16 MHz from the Arduino.
So I can change the waveform, and I can set the frequency and the phase.
The phase (and that is "new" for me), is used to give an extra click at the start of the drum sound. This is set with a potmeter, so I can choose more or less "click".
So this is the sound generating part.
The second chip is an AD5545 from Analog Devices, this is a dual 16 Multiplying DAC, so the signal at the output is multiplied by the value of the DAC register and devided by 65535.
This is used to set the amplitude of the drum signal, I also make a ramp with it.
The third chip is an ATtiny13, which is used to generate digital noise, for another type of drum or hi-hat, to be determent.


bassdrum.JPG
 Description:
 Filesize:  125.23 KB
 Viewed:  620 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

bassdrum.JPG



BassDrum.pdf
 Description:

Download
 Filename:  BassDrum.pdf
 Filesize:  51.15 KB
 Downloaded:  498 Time(s)


BassDrum.wav
 Description:

Download
 Filename:  BassDrum.wav
 Filesize:  51.96 MB
 Downloaded:  706 Time(s)


_________________
my synth
Back to top
View user's profile Send private message Visit poster's website
ixtern



Joined: Jun 25, 2018
Posts: 145
Location: Poland

PostPosted: Mon Nov 25, 2019 11:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

Interesting. Although bass drum sounds little anemic. Longer decay and some transients (don't know how) would be helpful.
Back to top
View user's profile Send private message
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Tue Nov 26, 2019 5:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes, dull and flat, if you listen to the first hits, I agree, but these sounds come directly from the DAC, are sine-waves and no filtering whatsoever.
But later on I change to triangle waveform and back to sine wave, add a click and modulate the signal.

I just listen to it on an iPad, but that sounds terrible, you will need some decent speakers.

_________________
my synth
Back to top
View user's profile Send private message Visit poster's website
MapacheRaper



Joined: Feb 15, 2018
Posts: 166
Location: Spain

PostPosted: Fri Dec 13, 2019 11:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Once you get of of the box to achieve the results by different ways is where the magic happens. I like the idea. I wonder how much costs that AD chips, tho!
Back to top
View user's profile Send private message
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Fri Dec 13, 2019 12:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

The AD5545 retail value is depending on the type between 10 and 12$ the AD9833 will cost you about 2$ soldered on a breakout board.
But I get them for free.

_________________
my synth
Back to top
View user's profile Send private message Visit poster's website
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Sat May 16, 2020 12:59 am    Post subject: Reply with quote  Mark this post and the followings unread

In the end I dropped the noise part all together. And this is the final product. The bass drum is on the right next to the sequencer and it’s labeled iDRUM


3D28DF3A-6ECE-49F0-8D77-549CC1B9DCC4.jpeg
 Description:
 Filesize:  520.41 KB
 Viewed:  321 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

3D28DF3A-6ECE-49F0-8D77-549CC1B9DCC4.jpeg



_________________
my synth
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Arduino
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use