and the audio file is detected.
but what would I connect those to on the Arduino? Is this even possible? Any help is greatly appreciated!
What does that mean?
You can test it with the tone() function, but start with the volume all the way down!
Personally, I wouldn't use the Arduino (directly) for audio, since it doesn't have a DAC.
* I don't know if the TMRpcm library supports stereo.
That amplifier also takes line level signals on the inputs so you'll need to make sure the input voltage doesn't go over about 1V.
Then use a potentiometer to lower the input's amplitude, and so the volume.It has to be placed between the low-pass filter and the amp's input.
It does; however you have to uncomment #define STEREO_OR_16_BIT in the configuration file, in order to enable that feature.
Stereo and 16-Bit PlaybackThese modes require additional resources and processing power since double the data must be read from the SD card. Mono tracks can be played in Stereo mode, not so in reverse. The operation can be a bit difficult to explain, but here goes:Normal Mode: #define STEREO_OR_16BITIn this mode, stereo and 16-bit files are treated the same, with the first byte being read into oneoutput, and the second byte into the other output. This will produce a stereo output for two speakers,connected from speaker pin(s) to ground, or a single 16-bit output using a resistor ladder.#define MODE2In Normal Mode, MODE2 will enable output STEREO or 16BIT audio using two additional timer pins. The timer and pins arespecified by the speakerPin2 variable. Complimentary timer pins need to be set as output pins manually.In MULTI Mode:#define STEREO_OR_16BITEnabling this option along with MULTI mode will allow two stereo or 16-bit tracks to be played on separatetimer pins. This provides output for four speakers, connected from speaker pin(s) to ground or a single16-bit output for each track.#define MODE2Enabling this option with MULTI mode and STEREO_OR_16BIT both enabled will make no difference See MULTI mode above.
Connect the ground to ground. Connect an Arduino output pin to the left & right inputs.
Not as simple as that:-
You need a reconstitution filter for the signal. That can be done with a series resistor of 1K5 on the output pin with a 10nF capacitor on the other end of the resistor to ground.
Don't even dare to place an LED in parallel, that will attenuate the signal by a lot.
To solve this problem, a high-pass filter is required;
But AC coupling is a high-pass filter and restoration filter is a low pass.
You can call them either, noone is being wrong.
You tried it then and not just read the document?
No that depends on where you put the LED does it not?
When you have lots of theory but not much practice.
When you know about electronics but nothing about audio.
But AC coupling is a high-pass filter and restoration filter is a low pass. You can call them either, noone isbeing wrong.
BTW its also possible to drive a speaker using class-D direct from a digital pin using phase-correct PWM and a noise-shaping filter - replace the audio amp on the output with half-H-bridge.
Then why not say "a.k.a. restoration filter" rather than being confrontational?
Of course, if the sample is located in certain half, you have to apply the corresponding duty cycle to the corresponding input; the other one should stay inactive. Remember that if both inputs are active, the H bridge will short circuit.