Electronic – LED to music sync barely blinking even with amplifier

led

I am currently working on LED to music sync circuit. The schematic is displayed below:

schematic

simulate this circuit – Schematic created using CircuitLab

Mostly I am using this schematic image: ledMusicSync. Because I was unable to find TIP31 transistor I used quite similar – BD243C. What I found out, I also needed an amplifier for my headphones signal, because the voltage is to low to activate transistor so I bought TDA2822M and build directly from documentation the amplifier: http://pdf.datasheetcatalog.com/datasheet/SGSThomsonMicroelectronics/mXqwxzy.pdf

After all of this unfortunately LED is barely blinking. To be honest I am not an expert in electric circuits and I have no idea what is wrong with it. Can someone please give me an advice what am I doing wrong.

EDIT:

I've edited my initial circuit due to the Spehro Pefhany answer. Now the outcome is quite interesting. When I plug in jack to the mp3 player the diode is turning off. When it is not connected it is turned on.

EDIT2:

I suppose I might have just found an error. The amplifier isn't working. All the time I've been connecting my wire to the mp3 player and now I connected it to pc jack. With PC connected everything is working even without an amplifier. Even it is working better, because from amplifier I have outputs with resistors.

Now I need to check somehow my amplifier and probably get the new one. I'll update this questions when I'll know if my bet is correct.

Best Answer

Either the LED circuit is faulty or the audio circuit. To help you hone in on the problem I would suggest the following:

Disconnect the base of the transistor from audio+. Rewire the base pin via a 10kOhm resistor to +9V. If the LED lights, then the problem has something to do with the amplifier. If it doesn't light, then you know something is wrong with the LED driver circuit.