electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
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 
Live streaming at radio.electro-music.com

  host / artist show at your time
  BeardFarm (Karl Fury and Tom Bruce) Another BeardFarm Train Wreck. Live improvisation from Ithaca, NY and Lawrenceville, NJ.
Please visit the chat
 Forum index » DIY Hardware and Software » Arduino
Bass Drum
Post new topic   Reply to topic
Page 1 of 1 [5 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: 1084
Location: Netherlands
Audio files: 29

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:  101 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:  83 Time(s)


BassDrum.wav
 Description:

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


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



Joined: Jun 25, 2018
Posts: 143
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: 1084
Location: Netherlands
Audio files: 29

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: 164
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: 1084
Location: Netherlands
Audio files: 29

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
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [5 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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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