Questions tagged [tmrpcm]

an Arduino library for asynchronous playback of PCM/WAV files direct from SD card Utilizes standard Arduino SD library, SD card and output device (Speaker, Headphones, Amplifier, etc)

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

TMRpcm not compatible incompatible with current board

My goal is to play sounds with my Arduino Nano Every. I tried the example sketch that comes with the library but I get the error: **WARNING: library TMRpcm-master claims to run on avr architecture(s) ...
ADude's user avatar
  • 29
1 vote
0 answers
127 views

using pmrpcm library for sound output from Teensy3.2

I converted an MP3 sound effect (5 seconds long) to WAV to play it out of a Teensy3.2 with speaker connected to PWM output pin. The TMRPCM library specifically talks about Arduino AVR boards, but ...
Bob Found's user avatar
2 votes
2 answers
191 views

IRremote and PCM sound libraries interfering

I have a simple sketch which sends IR codes, plays a sound and toggles an LED when you press a button and toggles another LED when it receives that code. The idea is that I have two Arduinos with this ...
Patrick's user avatar
  • 63
1 vote
1 answer
157 views

Play sound on top of background music using arduino uno tmrpcm library

We designed a big piano with 15 buttons on it. Every button has a proximity sensor. Whenever users interact with the sensor a specific sound plays for that button. My code is working fine for this ...
Abdullah Tariq's user avatar
1 vote
1 answer
68 views

I cannot get my code to play music in a or manner. I have to open one switch then the other. Music should play with either door open

Problem is if I open the necklaceDoor first, nothing happens. I have to open the ringDoor first. That turns everything on. Then with the necklaceDoor open, the stepper motor will turn off and the ...
Vincent Ledbetter's user avatar
1 vote
1 answer
436 views

Mega 2560 does not play audio file when I want. It plays when the first condition is met, but not the other

Okay, so I am making a jewelry box for my niece that will spin a necklace holder with a stepper motor, play an audio file and turn on LED lights. I am using an Arduino MEGA 2560. The flow is this: ...
Vincent Ledbetter's user avatar
0 votes
2 answers
110 views

Audio stops playing after rtc is connected

I am trying to play a song using arduino while at the same time display time using a rtc board using the tmrpcm library. However, if the rtc board is connected no sound is played. I do understand ...
Soumendra Dey's user avatar
1 vote
0 answers
198 views

Arduino malfunction tmrpcm while used digitalRead

I am programming Arduino UNO for this functionality: with use of SD card reader module and SIM900 GSM/GPRS shield I am trying to: 1. Pick up incomming call, play message from SD file and after the ...
Jasmin Jatić's user avatar
0 votes
1 answer
815 views

Why am only hearing noise or no sound?

Alright, there is something missing in the question, I was able to hear one sound of the files and the others apply to the question I asked and that is why I am wondering. what is happening! Here is ...
Noajm IsMy Name's user avatar
1 vote
0 answers
211 views

TMRpcm interferes with Wire.h

I'm using TMRpcm library for playing .wav files from my SD card. Everything works fine, but if I include Wire.h library the files aren't playing at all (there's no sound). I have only added this line ...
Dmytro Lopushanskyy's user avatar
0 votes
1 answer
806 views

Trying to save .wav files with new name every loop

I have built a set up with an Arduino UNO hooked up to a switch, so that whenever the switch goes from HIGH to LOW it saves audio to an SD card. I am using the TMRpcm Library. The problem is the ...
TSauer52's user avatar
4 votes
4 answers
13k views

Transistor amplifier to drive speaker using Arduino PWM [closed]

I have been working on a project lately which uses Arduino to play a wav file from SD card. I am using TMRPCM library which made the job very easy. But the problem is that the output sound in the ...
Frank Donald's user avatar
0 votes
1 answer
711 views

Liquid Crystal LCD Display Prints f in all rows and columns

The problem is that the Liquid Crystal LCD display only prints "f" on every row and every column. When I tell it to print something, then the display prints "f" on every square(row, column) for a ...
Daniel's user avatar
  • 59
0 votes
1 answer
3k views

Playing a pcm file through a speaker with arduino

I'm trying to play an audio file through a speaker with arduino. However, I do not want to use pre-constructed libraries such as the tmrpcm library. I was instructed to perhaps even recreate the ...
Daniel's user avatar
  • 59
3 votes
2 answers
7k 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 ...
Radagast's user avatar
  • 133
3 votes
1 answer
3k views

Using TMRpcm library, the audio does not play

I'm using the https://github.com/TMRh20/TMRpcm/wiki library to play wav files from an SD card to a speaker I have attached to my Arduino. I have run separate tests/programs that ensures: my speaker ...
kailia's user avatar
  • 31
2 votes
4 answers
26k views

SD card fails to initialize

I know this question has be asked before on this site. However it was never really answered. I have an Arduino Uno. I am trying to get it to read a 2 GB SDHC Micro SD card. The problem is, the SD card ...
Alex Weber's user avatar
0 votes
2 answers
1k views

Using TMRpcm object, why is the SD Card failing to be found by arduino?

I am using this micro-sd card reader, and my wiring configuration is as follows (double and triple checked): 3.3v goes to 3.3v on the Arduino UNO GND goes to Ground on Arduino UNO D0 goes to pin 12 ...
jaredad7's user avatar
  • 173
0 votes
3 answers
2k views

Using both TMRpcm and VirtualWire libs with ATmega328, despite the conflict on TIMER1

I wanted to use both TMRpcm and VirtualWire with ATmega328 in an Arduino-like board I'm making, but both libraries use TIMER1. I wanted to use each lib for the following purposes: TMRpcm: play a WAV ...
Ricardo's user avatar
  • 3,360