Simple test or demo for audio?
Dan E
Posts: 61
Hi, I am trying to write an object that plays a WAV file from a SD card through a speaker attached to an audio power amplifier. As of right now, no sound comes out and I am trying to debug it. My amplifier circuit is pretty simple so I don't think that is the problem, so I figure it must be the pin assignments I used and/or I improperly used the OBEX code.
Is there a simple audio object or demo with pin assignments that could be used to help debug this problem? I would like to see if in fact it is my speaker, power amp circuit, pin assignment, or how I call up the file possibly, and learn how to properly execute this program.
I tried to use the wavePlayerSD and its included objects, although I could not see where I assign the pins I am using, and I am using just one speaker, it seems that that code and others are for 2 speakers.
Thanks,
Dan E
Is there a simple audio object or demo with pin assignments that could be used to help debug this problem? I would like to see if in fact it is my speaker, power amp circuit, pin assignment, or how I call up the file possibly, and learn how to properly execute this program.
I tried to use the wavePlayerSD and its included objects, although I could not see where I assign the pins I am using, and I am using just one speaker, it seems that that code and others are for 2 speakers.
Thanks,
Dan E
Comments
I assume red is for power, black for ground, leaving blue as the input, but the device already has a 9volt supply, so I'm a little puzzled,
My ipod headphone jack is a little smaller, than this cord, but maybe I can find a better match at radio shack.
Just a quick caution. If you are using headphones to the Propeller, do a quick test to make sure that the output is at a safe level for your ears. I've gotten some unregulated audio from my Propeller that really smarted.
OBC
Although the cable i bought had a jack on each end, the wiring was for a right and left speaker or headphone, which corresponded to the wiring of my ipod headphones, and the other wire was soldered to the isolated ground of the jack.