Questions tagged [audio]
Using an Arduino to play noise, sounds, or music. Also for questions about audio input.
171 questions
3
votes
1
answer
257
views
Error trying to play audio through an ESP8266 using the 'ESP8266Audio' library
I am attempting to use an esp8266 to play an .mp3 audio file through a connected speaker using the 'ESP8266Audio' library.
I have tested that the hardware setup is correct (e.g. I have been able to ...
0
votes
1
answer
2k
views
No output from PCM5102 I2S DAC
I'm trying to connect a HiLetgo PCM5102 I2S DAC to a Teensy 4.0, but I'm not getting any audio out. I have it wired as:
SCK - GND
BCK - BCLK1 (21)
DIN - OUT1A (7)
LCK - LRCLK1 (20)
GND - GND
VIN - +3....
0
votes
1
answer
59
views
Frequency problems with DIY arduino and resonator
I made a simple music program using an arduino Uno and the tone() function. It works fine.
I decided to build my own circuit using a barebones AVR and upload that program.
I did not know exactly what ...
0
votes
0
answers
321
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....
1
vote
0
answers
866
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&...
4
votes
1
answer
80
views
Issues using mini microphone module off AliExpress
I have been trying to get a mini microphone module with an inbuilt microphone module I got from AliExpress to my Arduino to confirm if it is working. It was a four pin microphone with pins labeled V, ...
1
vote
0
answers
322
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,...
2
votes
2
answers
313
views
Tone() generates a high pitched sound when button is released
I have a simple circuit that makes use of the tone() function to produce some sounds.
I also have a button, hooked with an interrupt function, that whenever is pressed, a variable changes.
Sometimes, ...
-1
votes
1
answer
392
views
tone() corrupts the PWM on a different pin
I have to use PWM to control some lights. I do this successfully with:
analogWrite(11, 127);
for a 50% PWM pulse on pin 11.
Now, i also have to have tone() support on my code. When I do:
tone(10, ...
-3
votes
1
answer
131
views
3.5mm jack frequency response at low frequency (20Hz) [closed]
I'm trying to drive a bass shaker at low frequencies, down to 20Hz, with an Arduino. Has anyone ever done something like this?
I found an audio amp that takes in 3.5mm aux, and I was hoping to get a 3....
-1
votes
1
answer
121
views
Library fails to compile
I want to try out this library:
https://github.com/connornishijima/arduino-volume3
I downloaded the zip file from github, renamed it, and included it as a library in the IDE.
So run one of the ...
-1
votes
2
answers
3k
views
Perform Volume Control on arduino speaker
I am following this guide to produce tones with the arduino:
https://www.arduino.cc/en/Tutorial/BuiltInExamples/toneMelody
This uses the tone() builtin function. The connections is that one pin of the ...
0
votes
1
answer
641
views
Tone() function pauses between notes
I tried to experiment with the tone() function that comes with the arduino library.
I played around with the standard code example located here:
https://www.arduino.cc/en/Tutorial/BuiltInExamples/...
1
vote
0
answers
188
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 ...
1
vote
1
answer
1k
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 ...