Questions tagged [audio]

Using an Arduino to play noise, sounds, or music. Also for questions about audio input.

169 questions
5
votes
6 answers

DFPlayer Noise: Researched, Tried, and Bep Bep Bep Bep Bep

Spent an entire day researching and attempting to fix the DFPlayer noise problem. The amp works as expected, so it is not the problem. I have made a video to help you better understand the sound produced:…
Joshua Roehrig
  • 59
  • 1
  • 1
  • 2
4
votes
2 answers

Good quality sound using a microcontroller

I am a hobbyist. Doing some experiments with sound quality. I'll pin point my problem and requirements. Problem statement :I want to play audio files ( recorded in human voice, not music files, just some plain human speech files) I have tried : a…
muphy
  • 59
  • 2
  • 6
4
votes
1 answer

Is it possible to start audio playback when headphones gets plugged in?

I want to have 6 audio jacks IN waiting for connection to start some WAV/OGG playback as soon as a headphone plugs in. In fact, I'd like to have simultaneous playback in 6 lines. I've seen in the market some stuff that you can add buttons to…
adr1an
  • 43
  • 4
2
votes
0 answers

Want to play short voice recordings, with fast switching between them

I want to output a chosen sound (e.g a singer singing a D, or E, or F note) which I have recorded. I can change the filetype to whatever is neccessary, e.g mp3 or whatever. The recording could be 10ms, or longer if that helps. I want to be able to…
Trevor Smith
  • 21
  • 1
  • 3
2
votes
1 answer

Arduino to Home Speakers

I know little about electronics in general. I wanted to connect Arduino, and play a tone using tone() through my home speakers. I've used a 1/8'' audio jack and connect ground to ground and left/right to pin 2. Run it and it was too loud. Then I…
whitenoisedb
  • 177
  • 2
  • 2
  • 7
1
vote
1 answer

Modify duty cycle of tone on AVR

I'm writing a MIDI - to square wave converter designed to interface between a MIDI instrument and a musical Tesla coil. Essentially, this should act like a monophonic MIDI synthesiser, but the requirements are slightly different to most projects: I…
1
vote
1 answer

changing bitrate of audio recording and taking samples from audio in arduino

I am looking to make a baby cry detection module that is a part of a bigger project i.e. IOT based baby monitoring system. Using AI, i have a dataset (of baby crying and not crying) to train model using binary classification through logistic…
1
vote
0 answers

Stereo audio Arduino MKR Zero

I am doing a project in which I need to have a stereo audio output in Arduino MKR Zero. The quality of the audio is not important: 8 bit, 44 kHz would be enough. Is it possible to use two combined PWM outputs to do that, maybe with the library…
alessandro
  • 11
  • 1
1
vote
1 answer

Best Arduino board to play sound

I'm looking to purchase an Arduino for a little robot I'm going to make. The reason I've chosen Arduino is because it's much easier to use with servos and LEDs than a Raspberry Pi, but a nice little touch would be to have it play some sounds (voice…
Often Right
  • 113
  • 6
1
vote
2 answers

Arduino + ultrasonic rangefinder behaving unexpectedly

I'm using an HC-SR04 ultrasonic rangefinder to control the frequency at which an Arduino pin turns on and off, with the output going via a 1/4" jack plug into my computer's audio interface. (i.e. it's a simple audio oscillator that responds to…
JakaQuan
  • 13
  • 3
1
vote
2 answers

SN76489 - Ready pin not working?

I'm testing the SN76489AN chip with Arduino and I'm able to play the 3 tones I want etc BUT I don't understand why the READY pin is not working? The datasheet says the pin goes high when the chip is ready and low when it's busy with processing a…
P.W.
  • 317
  • 6
  • 15
1
vote
1 answer

Calculate OCR2A from audio frequency

I'm working on a Arduino-based synthesizer using this tutorial, specifically using a wavetable and 1-bit DAC. I understand that the value for OCR2A register sets the frequency, but how do I calculate the value? I've seen this list of notes which is…
JeffThompson
  • 181
  • 2
  • 11
1
vote
3 answers

Electret microphone amplification

I've got an electret microphone and I understand that I need quite some amplification to get it to be read by an Arduino (0-5V input). So I seeked the web, but answers are as different as people on the street. Some use Op-Amps, some only a…
mike
  • 347
  • 6
  • 20
1
vote
2 answers

Microphone Data on Arduino to Wav File on RaspPi

Working on an Arduino + Raspberry Pi project and hoping that this question fits into this category. I'm recording audio using a MEMS microphone on the Arduino and transmitting it over to the Pi to store in a playable file (WAV). What I currently…
0
votes
3 answers

Arduino Board with Microphone

I have this microphone (http://www.digikey.com/product-detail/en/CMA-4544PF-W/102-1721-ND/1869981) and an Arduino Uno board. I'm trying to read audio values off of my microphone (to test the noise of something (in dB)). I'm very new at this kind of…
Jonah
1
2