Loading...
Pages: [1]   Go Down
Author Topic: Audio synthesis [simple]  (Read 795 times)
0 Members and 1 Guest are viewing this topic.
Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Instruments such as the piano have notes-- an A is 440hz, for example. While it may not sound like a piano, the tone() function lets us generate these sounds.
How would I (or could I) generate more "percussion" or "atonal" noises, such as drums of the noise of stomping your foot? What frequency are these? Can I generate them?

Thanks!
Logged

I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!

Brazil
Offline Offline
God Member
*****
Karma: 1
Posts: 615
Wusik Dot Com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't know many options so far, as I'm new to Arduino. But, I did manage to get multiple PCM sounds from a single Arduino chip. Here's a great article about how to generate PCM sounds with the Arduino.

http://www.arduino.cc/playground/Code/PCMAudio

Wk
Logged


Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

But that doesn't help with the original question of "atonal" sounds.
Logged

I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!

Pages: [1]   Go Up
Print
 
Jump to: