Go Down

Topic: Is it posible to change tone() to drum note? such as snare,bass etc? (Read 1 time) previous topic - next topic

dsese1234

Hi Guys,

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

Nantonos

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).

dxw00d

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.


Nantonos


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.

DuaneB

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 -

http://www.youtube.com/watch?v=fTmLKKLv5cE

Details here -

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

Duane B

rcarduino.blogspot.com
Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

Go Up