Arduino Forum
>
Using Arduino
>
Audio
>
sound of a flickering neon
Print
Go Down
Pages:
[1]
Topic: sound of a flickering neon
(Read 1 time)
previous topic
-
next topic
matugo
Guest
sound of a flickering neon
Mar 23, 2013, 02:36 pm
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
focalist
Guest
Re: sound of a flickering neon
#1
Mar 23, 2013, 02:47 pm
Frequency of 60hz, and use a random number generator to determine lengths of the tone and silence between tones.
Erdin
Guest
Re: sound of a flickering neon
#2
Mar 23, 2013, 03:59 pm
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.
matugo
Guest
Re: sound of a flickering neon
#3
Mar 23, 2013, 06:28 pm
Works great Focalist! Thank you
matugo
Guest
Re: sound of a flickering neon
#4
Mar 23, 2013, 06:40 pm
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!
Erdin
Guest
Re: sound of a flickering neon
#5
Mar 23, 2013, 07:59 pm
Last Edit
: Mar 23, 2013, 08:03 pm by Erdin
Reason
: 1
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 !
Print
Go Up
Pages:
[1]
Loading...