Pages: [1]   Go Down
Author Topic: 1 bit noise  (Read 842 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 4
Posts: 22
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

We've been messing around with arduino to generate some noise,
and here are the results:

http://www.telenoika.net/images/stories/drapaires/arduino_ruidacos.wav

and the source code:

http://www.telenoika.net/images/stories/drapaires/_1bitnoise.pde



+info: http://www.telenoika.net/drapaires
« Last Edit: July 28, 2010, 04:07:47 pm by eltrem » Logged

Mount Vernon, Ohio
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I like it!  I have been looking at arduino synths and it is nice to see a good one with source code.  There is a problem in your code when reading the serial that I had to change: the ASCII values for common keyboard characters start at 32 (Chart Here: http://www.arduino.cc/en/Reference/ASCIIchart) so I just subtracted 32 from the serial input and then it worked perfectly.  I am looking forward to more effects and updates.  
Logged

Netherlands
Offline Offline
Full Member
***
Karma: 0
Posts: 132
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very cool, brings back memories to my Atari 2600 smiley-grin.
Logged

Netherlands
Offline Offline
Full Member
***
Karma: 0
Posts: 132
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have the schematics, I am wondering how to hook this stuff up smiley.
Logged

0
Offline Offline
Newbie
*
Karma: 4
Posts: 22
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey! Thanx for the comments!

I just attached a mono jack connector (one leg to ground, and the other to the digital output) and connected the jack to my soundcard.
Maybe it's not a good practice because arduino outputs 5v and commonly audio is driven at a very lower voltage, but it worked for me...
If you want to do it alright and ensure you will not broke your soundcard or your amplifyer you will have to add a resistor at the arduino digital output!
Logged

0
Offline Offline
Newbie
*
Karma: 4
Posts: 22
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey jhaip, thanks for the comment,

the serial formatting worked ok for me as i am sending the bytes from PureData.

Sure there's gonna be a big update soon!
Logged

Pages: [1]   Go Up
Jump to: