Author |
Message |
Grumble

Joined: Nov 23, 2015 Posts: 1310 Location: Netherlands
Audio files: 30
|
Posted: Mon Nov 25, 2019 1:45 pm Post subject:
Bass Drum Subject description: and now for something completely different... |
 |
|
I am working on a drum synthesizer, but I have to do it my way
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.
Description: |
|
Filesize: |
125.23 KB |
Viewed: |
666 Time(s) |
This image has been reduced to fit the page. Click on it to enlarge. |

|
Description: |
|
 Download (listen) |
Filename: |
BassDrum.pdf |
Filesize: |
51.15 KB |
Downloaded: |
531 Time(s) |
Description: |
|
 Download (listen) |
Filename: |
BassDrum.wav |
Filesize: |
51.96 MB |
Downloaded: |
763 Time(s) |
_________________ my synth |
|
Back to top
|
|
 |
ixtern
Joined: Jun 25, 2018 Posts: 145 Location: Poland
|
Posted: Mon Nov 25, 2019 11:56 pm Post subject:
|
 |
|
Interesting. Although bass drum sounds little anemic. Longer decay and some transients (don't know how) would be helpful. |
|
Back to top
|
|
 |
Grumble

Joined: Nov 23, 2015 Posts: 1310 Location: Netherlands
Audio files: 30
|
Posted: Tue Nov 26, 2019 5:12 am Post subject:
|
 |
|
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
|
|
 |
MapacheRaper

Joined: Feb 15, 2018 Posts: 166 Location: Spain
|
Posted: Fri Dec 13, 2019 11:51 am Post subject:
|
 |
|
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
|
|
 |
Grumble

Joined: Nov 23, 2015 Posts: 1310 Location: Netherlands
Audio files: 30
|
Posted: Fri Dec 13, 2019 12:02 pm Post subject:
|
 |
|
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
|
|
 |
Grumble

Joined: Nov 23, 2015 Posts: 1310 Location: Netherlands
Audio files: 30
|
|
Back to top
|
|
 |
|