Questions tagged [sound]

sound is a vibration that propagates as a typically audible mechanical wave of pressure and displacement, through a transmission medium such as air or water.

Filter by
Sorted by
Tagged with
1
vote
1answer
347 views

Arduino HC-SR04 water experiment

I am working on an experiment with the HC-SR04 sound sensor, and i am using it to record the speed of sound. I successfully measured the speed of sound in air, but when measuring it in water, I ...
0
votes
2answers
480 views

Triggering Sound - Arduino + Contact Mic

I previously created a sound installation using contact mics and computer (ableton+max msp) where sound would be triggered when people touched/tapped on the object/surface. Now I want to do something ...
0
votes
0answers
40 views

Not hearing PlayBack from code that records and plays back MIDI

I have altered some code that i found online that records and playback midi data from a midi controller. from my testing i am pretty sure that notes are being recorded from my midi controller, i have ...
0
votes
1answer
303 views

Execute function until called again?

I am building a simple security system with my Arduino Uno. I have an alarm() function: void alarm() { tone(8, 3300, 200); delay(200); tone(8, 3000, 200); delay(200); } When I call it in the ...
0
votes
1answer
3k views

Why is the piezo buzzer not making any sound?

My ciruit: My code: // Pin 13 has a LED connected on most Arduino boards. // give it a name: int led = 13; const int buttonPin = 2; // the setup routine runs once when you press reset: void setup() ...
0
votes
1answer
199 views

Why do we need to amplify the signal of an electret? [closed]

I do understand from my reading that I should amplify the signal from an electret to be able to read it with an Arduino. I'd love to know the science behind that, why should we amplify the signal to ...
3
votes
3answers
1k views

Sound Recognition

I'm looking to recognize a particular sound using arduino uno. I need to recognize a clap sequence to trigger a relay. Having given it some thought i need it to be continuous listening mode with out ...
3
votes
3answers
730 views

Mini Voice Recorder for Arduino

I am trying to find a small voice recorder that I can use with my Arduino Micro, and I found this. It is exactly what I am looking for, but it is now a retired product. I googled ISD1932, but many ...
0
votes
2answers
7k views

Arduino sound equalizer

I'm trying to build a led equalizer using arduino and I want to light up with the frequencies. And I need a little help on how I should do it cause Im a beginner. Should I use pulsein() or analogin ...
2
votes
0answers
569 views

Arduino FFT library - Open Music Labs installation help

I downloaded the zip file of the FFT library from the below link http://wiki.openmusiclabs.com/wiki/ArduinoFFT and it now as I implement the example codes, it gives out a message which says "Error ...
0
votes
1answer
176 views

Applause reactivity

I'm making a pretty basic light circuit and I'd like to have it react to applause or laughter, but NOT during regular speech, amplified over speakers. I'm wondering if anyone has already made a ...
4
votes
2answers
13k views

How to connect Arduino to headphone jack?

I would like to connect a headphone jack to my Arduino and make it as an output. I mean I would simply send some simple beeps. I know that there is a breadboard friendly headphone jack, but I don't ...
0
votes
1answer
290 views

Random output on decoding time from LTC audio using arduino UNO

I am a newbie in Arduino and I am trying to decode time from ltc audio. For this I got Arduino UNO. I got a sample code from here.. Here my code: #define icpPin 8 // ICP input pin on arduino ...
3
votes
1answer
923 views

Setting the frequency of a timer interrupt

The concept: Play a sine wave saved as a character array in PROGMEM through an 8-bit DAC connected to the PORTC pins on the Arduino Mega. This works: // File just defines an array and a size #include ...
0
votes
2answers
804 views

Can't play melody and FastLED lights at same time

I'm trying to make an OO state machine based program to play music and lights at the same time. It uses the FastLED library and a 13 pixel neopixel strip. I've confirmed that with the currently wired ...
2
votes
2answers
214 views

What do I need to make fluffy toys move and talk?

My kids got many fluffy toys, and I would like to make them move and talk. Something like a small platform with wheels and a speaker and some sensors that I would be able to mount any of the toys on. ...
1
vote
0answers
1k views

SimpleSDaudio giving a lot of static from speaker

I'm using SimpleSDaudio (http://www.hackerspace-ffm.de/wiki/index.php?title=SimpleSDAudio) to play wav files. The connections are as follows: MISO pin 12 SCK pin 13 SS pin 4 MOSI pin 11 Speaker ...
2
votes
3answers
1k views

Proper way to run functions in loop

I am having a problem getting my functions to run properly from the loop. I am building a model railroad crossing gate and need to run the 4 processes once the sensor signals the train entering the ...
0
votes
2answers
156 views

Need to make an action just once when condition is reached

I'm making a device for the visually disabled that makes a sound when the water in a bowl reach certain levels. I've already made the sensors for three levels of water and if statements to make the ...
1
vote
1answer
582 views

How to Serial read two consecutive chars sent by computer to Arduino?

My program reads the input and plays the appropriate note for 500 milliseconds. If I type in 'a', tone(8, 440, 500) will be called. I now want to add different note lengths so that in the future, I ...
0
votes
3answers
2k views

Getting the average of sound in last minute

I am reading sound input every 60 seconds and I would like to calculate the average of sound during that period using non-blocking code; what should I do to change the way that I calculate it in ...
0
votes
1answer
590 views

Help with a rather specific implementation of FFT Library?

So, I guess what I'm trying to do here is properly understand the FFT library posted here by Open Music Labs, done in C++. I believe I understand the Fourier transform, but the FFT has some nuance ...
3
votes
2answers
4k views

Help Understanding FFT Analysis and analogRead()?

Here's the deal, I'm attempting to learn how to use an FFT (Fast Fourier Transformation) Library for sound analysis (link is here). My issue is that this comes with included C++ code to show users how ...
0
votes
1answer
1k views

Playing music with an Arduino

Good evening! I am quite new with Arduino but not in programming. Still, I have already done some programs with few leds. I was just wandering how to create a circuit and a program that would play ...
1
vote
2answers
6k views

How do I use Sound Sensor LM393 + Speaker in Arduino

I have this voice sensor: I need to know how bytes pass through soundsensor into arduino and get this bytes and put out in a speaker. I read on the net a Lib PCM thats converts chars in voices, but ...
1
vote
0answers
325 views

How to generate Analog Signal (Voice) to the microphone

I have question about microphone and generating sound signal. I have microphone in my intercom at home. It is simple analog microphone, not digital. What I want is to connect arduino analog ...
2
votes
2answers
395 views

Arduino MP3 Player

I want to make a MP3 player with arduino. My problem is what board should I use? There is the SparkFun MP3 Player Shield, SparkFun Audio-Sound Breakout - WTV020SD. Then I want to attach a 2.8 TFT ...
3
votes
1answer
319 views

Push-Pull tone code

I wanted to use a piezo sounder to sound an alarm in an application. Testing indicated that tone() was not very loud. I could use some external circuitry to swing the pins ±5V but as I have plenty of ...
0
votes
1answer
536 views

Are there ultrasonic transducers which are able to produce a “chirp” sound wave?

I'm working in a ultrasonic radar project and the supervising teacher wants us to produce a chirp sound wave (a frequency-varying sinusoid). I'm familiarised with the usual ultrasonic module, but as ...
0
votes
2answers
1k views

How to capture good sound with Arduino?

Is it possible to capture good sound with Aduino? I need to record street / birds / nature sounds. As I found, maximal sample rate, achievable with built-in ADC is 9kHz, which is to low. So, I ...
0
votes
1answer
804 views

Would Arduino Nano be good for Bluetooth + Sound

So I've been browsing around for a whole looking for a good microcontroller that's super small. So far the smallest one I found was an Arduino Nano. But before I go buying it, there are some questions ...
0
votes
1answer
537 views

Sending sound signal of computer's sound card to arduino

how can i send the signal of sound card to arduino? I want to send sound signal of computer's sound card to Arduino just connect a wire from card to Arduino.. and then i will process it by programming ...
0
votes
1answer
108 views

Speaker not producing the right sound after a led strip was introduced

Grove speaker: http://www.seeedstudio.com/depot/Grove-Speaker-p-1445.html ws2812-led strip Hi, I have been working to produce tones on a speaker and it works with the following code int melody[] ...
0
votes
1answer
1k views

How to use a grove speaker without using delayMicroseconds?

is there another way to replace delayMicroseconds(BassTab[note_index]) as I cannot have delays in my loop due to the need of having multi-tasking in my sketch. Grove speaker: http://www.seeedstudio....
1
vote
1answer
335 views

SimpleAudioPlayer + sleep function

I have tested the SimpleAudioPlayer example. https://www.arduino.cc/en/Tutorial/SimpleAudioPlayer This works fine, but when I add a sleep(1000) at the end of the loop() function, the music sounds ...
2
votes
1answer
228 views

Connect an mp3 player to an Arduino?

I have been looking for a good way to play sounds using an Arduino. I started to consider just buying a cheap mp3 player and replacing the player's buttons with optical switches, which connect to an ...
14
votes
6answers
63k views

Is there a way to play sounds from an Arduino without using a sound shield?

I would like to play a wav file (spoken words) from my Arduino. I do not want to add a sound shield. Is there a way to play a sound through an output pin? The quality does not have to be great.
1
vote
3answers
892 views

Can do I make an Arduino program that can decipher telephone touch tones?

I have an old land line phone that I want to connect to my Arduino. Then I would like to write a program that can decipher the touch-tone button presses (which are a combination of two tones) so that ...

1
2