Questions tagged [audio]

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

34 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
112 views

Keypad - Speaker - Interference

I am trying to build a system, that plays specific audios (.wav files) from a SD-Card, according to the key combination that has been pressed. I am using: 4x4 Membrane 4 Ohm Speaker MicroSD Card ...
D_0's user avatar
  • 31
2 votes
0 answers
134 views

Playing stereo sound using AudioOutI2S and Splitting channels correctly

I have an Arduino MKR Zero with an UDA1334 I2S module, alongside 2 Speakers and I am trying to play Stereo sound. So far everything seems to work well, connections are also properly done, and i can ...
Mr. Chin's user avatar
2 votes
0 answers
49 views

Issues with Polytone Library?

I'm building a device that uses two ultrasonic sensors to detect objects and provide audio feedback in the form of beeps that get faster the closer an object is. I have two speakers, one for each ...
Kaytee's user avatar
  • 21
2 votes
0 answers
3k views

Esp32 sending a wav file to API via POST

I'm trying to send a .wav file to an API with an ESP32 using a HTTP Post request with a multipart/Form-data content type. I can already send the API Key as it is a plain key and get a return from the ...
Tom Demuynck's user avatar
2 votes
0 answers
821 views

Connecting Audio Jack to Arduino

So I started working on a project of mine that is mostly software based which I have no problems with, but it includes electronics too. Where I am still learning a lot. Anyways, I have been trying to ...
Amin's user avatar
  • 21
2 votes
0 answers
939 views

Connecting RCA audio cables to Arduino

I'm working on a project which needs better audio quality than just a piezo buzzer, so I went out and bought a pair of used cheap speakers for $3. It turns out that they have RCA audio inputs rather ...
David Liao's user avatar
2 votes
0 answers
553 views

Arduino Audio Recorder - Speed Correct but Wrong Pitch

I'm working on an audio recorder project on an Adafruit Adalogger with SAMD21 ARM-based processor using the Arduino IDE. The desired sampling frequency is 10 kHz, 12-bit resolution with an analog ...
user avatar
2 votes
0 answers
152 views

Using VMA-02 / KA-02 Sound Shield to get line-in input on arduino

I bought this VMA-02 audio shield: http://www.velleman.co.uk/contents/en-uk/p623_vma02.html I want it to get the data from line-in to line-out but with reading it in my arduino scetch first (e.g. ...
D. Müller's user avatar
2 votes
0 answers
64 views

Can I turn a headset with a cord into a bluetooth headset with multiple connections?

I'd like to connect Arduino with bluetooth shield to multiple bluetooth devices (TV & baby monitor), plug a corded headset into the contraption, sprinkle LEDs on top, and do the following: If ...
Michael's user avatar
  • 141
2 votes
0 answers
396 views

How to effectively modify a library to be able to function with Mozzi Library?

I have sketch that runs almost exactly as I would want it to. Now I am trying to add sound to it using the Mozzi Library instead of just using the tone function. This way I can avoid having to put a ...
Collectiveum's user avatar
2 votes
0 answers
464 views

Trying to play audio files on arduino via Usb Host Shield

I want to build a program that will seek audio file inside a USB DOK (DisK On Key/Pen Drive) when it is inserted to the Circuits@Home USB Host shield. After a specified file will be found i want it to ...
zivb5's user avatar
  • 21
2 votes
0 answers
57 views

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 ...
Trevor Smith's user avatar
2 votes
1 answer
1k views

Is it possible to use Arduino PWM for audio within a PAM8493 amplifier?

I've seen some projects using PWM for playing audio files, and it seems like it needs an amplifier, otherwise the sound is very low. I already made a project using a DFPlayer and PAM8403, but now I ...
Valdir's user avatar
  • 121
1 vote
0 answers
427 views

Functions downgraded in the I2S library using an ESP32

I am following the instruction to setup a microphone with an esp32 with arduino cli. Here is the tutorial https://dronebotworkshop.com/esp32-i2s/#Resources https://www.youtube.com/watch?v=m-MPBjScNRk&...
ecjb's user avatar
  • 165
1 vote
0 answers
212 views

What is the most simple sketch to confirm the DAC works for audio on a speaker with it's own amplifier for an ESP32?

I have a PC speaker with it's owner power supply (no amplifier needed). It just uses a standard AUX jack. Most examples sketches use an amplifier like the MAX98357A. I have explored some libraries too,...
adamaero's user avatar
  • 198
1 vote
0 answers
129 views

HOW convert momentary button to touch sensor TTP223?

I am trying to convert this project https://maker.pro/arduino/projects/simple-fm-radio-receiver-with-arduino-uno-and-rda5807m to 3 touch sensors TTP223. But so far my new code don't work. Please can ...
massimo's user avatar
  • 11
1 vote
0 answers
48 views

Audio range with custom waveshape

I am planning to use several Arduino to produce audio range analog signals. I need to use custom waveshapes generated on the fly. As far as I understand, there are two paths: Aquiring a DAC, but can ...
huhu roro's user avatar
1 vote
0 answers
331 views

How to use an Arduino to play audio from an Adafruit Soundboard using audio file name

I'm trying to control an adafruit soundboard with my elegoo uno R3. I'm a beginner programer and I'm trying to get the soundboard to play a sound file by name when I press a button. I have confirmed ...
Eric Walier's user avatar
1 vote
0 answers
132 views

Arduino Visible Light Communication(Audio transmission)

I think this is a broad question. I'm currently implementing visible light communication with Arduino. I'm using a laser as my transmitter and LDR as my receiver. I'm able to transmit a text from one ...
Zampa_frazer's user avatar
1 vote
0 answers
33 views

Sparkfun Spectrum Shield no change in frequency

So i wanted to build a music visualizer using a MSGEQ7. As I just got started with electronics, I did some soldering beforehand and I think I am doing okish. While it might not be perfect, the contact ...
mxrdck's user avatar
  • 11
1 vote
0 answers
106 views

Trouble streaming audio from amazon s3 servers

I am experimenting with streaming audio from servers using an ESP32 and this library. I have been able to stream audio from every http server which i have tried but have had mixed success with https ...
user2105725's user avatar
1 vote
0 answers
147 views

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 ...
alessandro's user avatar
1 vote
0 answers
236 views

Record stereo audio from two Bluetooth headsets

I've been playing with Arduino for a few years, but I'm new to Bluetooth and streaming audio. I'd like to develop (or assemble or buy) a device for recording stereo audio from a pair of Bluetooth ...
Jonathan VA's user avatar
1 vote
0 answers
66 views

How do I have this audio and LED activate ONLY when a button is held using an Arduino?

I have this code that I am using to play a sound effect where I used a program called wav2c to convert a .wav file to number values that I put into a header file that I use in the code to generate the ...
jaduuuui's user avatar
1 vote
0 answers
180 views

Input from two microphones to bluetooth

I am a complete noob at arduino, so I apologize if this is a stupid question. I would like to take input from two microphones and send the output to a bluetooth headset using an Arduino processor? Is ...
Ralph's user avatar
  • 111
1 vote
2 answers
234 views

Elechouse MP3 shield play random song

Using this code to try and play a random song when someone walks by my distance sensor I get an error, the same song (track 0001) plays every time. Any advice? #include <SoftwareSerial.h> ...
Pagaley 12's user avatar
1 vote
1 answer
699 views

Using a keypad to play an audio file on Arduino Mega and Adafruit VS1053?

I am trying to use a keypad to trigger an audio file using an Arduino Mega and Adafruit VS1053 Music Maker. I have gotten the music files to play independently, and when the correct number is entered ...
Rick's user avatar
  • 21
1 vote
0 answers
510 views

Wifi radio with an Arduino

I've done a Wifi radio with a headless Raspberry Pi in the past (connecting a radio MP3 stream available on internet directly on boot, without any user input), and now I'm wondering: would it be ...
Basj's user avatar
  • 398
0 votes
0 answers
105 views

Raspberry pi pico I2S work on byte by byte transfer but not on buffer read writes

I'm using a raspberry pi pico W and testing audio loopback (microphone to speaker in a loop) using INMP441 microphone and MAX98357 amp board. Followed functions from this page https://arduino-pico....
Allahjane's user avatar
  • 101
0 votes
0 answers
817 views

MP3-TF-16P only works while connected to serial monitor

I am building a project with Arduino Nano and the component in the subject, which, as far as I understand, can be assimilated to a DFPlayerMini (not sure if it's the same thing or it's just a cheap ...
Luca's user avatar
  • 183
0 votes
1 answer
324 views

MCU Recommendations for Audio Pitch Shifting

I'm looking to use a MCU for audio sampling. I want to sample incoming audio and pitch shift it (without speeding it up/slowing it down). A bit about the build. I'm planning to make a circuit board ...
JTaft121's user avatar
-1 votes
1 answer
492 views

Audio Zero not responding on MKR Zero

I have a Arduino MKR Zero set up with a sd card in it and a speaker hooked up to the ground and DAC0. I have a .wav file on it called "test.wav" and it is 8 bit mono 88200hz recording. I am using the ...
Tucker Epp's user avatar
-1 votes
1 answer
151 views

Playing Audio from SD - Get VU, or audio waveform

I am using the library SimpleSDAudio to play a song from my SD card to an op-amp later in the circuit. I would like to take a sample from the audio pin (possibly with a Analog read) to power some ...
Linuxx's user avatar
  • 99
-1 votes
1 answer
563 views

Issues with analog microphone readings

I'm having issues with sampling audio with a microphone and NodeMCU v3. I realize this is the Arduino section so if NodeMCU running the Arduino IDE is not meant for this forum, let me know. The ...
Brandon's user avatar