Pages: [1]   Go Down
Author Topic: Is it posible to change tone() to drum note? such as snare,bass etc?  (Read 1011 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 19
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Guys,

i having a questions about tone library. Is it posible to change tone() to drum note? such as snare,bass etc?   smiley smiley smiley smiley smiley smiley
Logged

Nice, France
Offline Offline
Full Member
***
Karma: 11
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No. To do that, you need to be looking at playback of audio samples (for example, stored on an SD card) and a digital to analog converter (DAC).
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
To do that, you need to be looking at playback of audio samples

Not necessarily. Analogue drum machines existed long before sampling was practical.
Logged

Yorkshire England
Offline Offline
Sr. Member
****
Karma: 2
Posts: 267
Arduino good init
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here is a Kick drum to get to started.

https://tindie.com/hexinverter/neinohnein-a-diy-909-kick-drum-w-rare-transistors/
Logged

Nice, France
Offline Offline
Full Member
***
Karma: 11
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
To do that, you need to be looking at playback of audio samples

Not necessarily. Analogue drum machines existed long before sampling was practical.

Certainly. But they didn't use the Arduino tone() library. Nor are the analog subtractive synthesis techniques used particularly applicable to making a drum machine on an (8-bit) Arduino.

So my recommendation stands.
Logged

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Kick, snare, bass and many others possible through PWM, here is an example where they are being directly synthesised rather than played back from samples -



Details here -

http://rcarduino.blogspot.com/2012/08/the-must-build-arduino-project-illutron.html

Duane B

rcarduino.blogspot.com
Logged


Pages: [1]   Go Up
Jump to: