Pages: [1]   Go Down
Author Topic: sound of a flickering neon  (Read 678 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I would like to create the sound of a flickering neon using the buzzer Piezo.
Does anyone know if that is even possible ?
If yes, any idea on how to do so?

Any help appreciated,
Thank you

m
Logged

Boston Suburbs
Offline Offline
God Member
*****
Karma: 16
Posts: 955
I am above your silly so-called "Laws", Mister Ohm.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Frequency of 60hz, and use a random number generator to determine lengths of the tone and silence between tones.
Logged

When the testing is complete there will be... cake.

Offline Offline
Edison Member
*
Karma: 58
Posts: 2078
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Tell us more.
Do you want to turn on a led display, let it blink a few times and make a neon-switching-on sound ?
Do you have an example of the sound ?
The best sounds for the Arduino are with a Sound/Wave/MP3-shield and the sounds could be on a SD card. With only the Arduino it might not be possible.
Read this, http://playground.arduino.cc/Main/ArduinoSynth
And have a look at the Mozzi library.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Works great Focalist! Thank you
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Erdin, thanks for the reply.
Yes, I would like the Led to blink when the neon sound is on.
The sound would be something like this
http://www.hark.com/clips/lqbtjdvvyk-neon-tube-flickers

I will look into the Mozzi library for sure. I didn't know you could use real sounds with Arduino, I am not very advanced at using it but I will look into it.

I was able to create a random sound based on Focalist advice, but if I can use a more complex sound that would be better.


Thanks again!
Logged

Offline Offline
Edison Member
*
Karma: 58
Posts: 2078
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You might take a look at toneAC(), http://playground.arduino.cc/Code/ToneAC
It has some kind of volume control, allowing to make more sounds.
It can do a little more than the standard tone(), but it is not as sophisticated as Mozzi.

I can't download the neon sound, so I can't analyze the frequency !
« Last Edit: March 23, 2013, 02:03:27 pm by Erdin » Logged

Pages: [1]   Go Up
Jump to: