i would like to record and play back (a total of 24) musical tunes from a PIC.
Each tune may last 15 to 20 secs and by each time switch operation(similar to door bell switch).
i searched a lot and no clear information on the results.
i would like to record and play back (a total of 24) musical tunes from a PIC.
Each tune may last 15 to 20 secs and by each time switch operation(similar to door bell switch).
i searched a lot and no clear information on the results.
It is exceedingly unlikely that any PIC will have enough memory to store and recall 24 * 20 =approx 500 seconds of audio. Assuming 8-bit samples at sample rate of 44.1kHz that's about 22 Megabytes or twice the size the disk drive that shipped with the first PC's in November of 1981. Isn't that a hoot?
would like to record and play back (a total of 24) musical tunes from a PIC.
Each tune may last 15 to 20 secs and by each time switch operation(similar to door bell switch).
i searched a lot and no clear information on the results.
Most of these applications use midi-like commands (note / duration) and play back tones by toggling an output pin at some note frequency or pwm type signal.
You can't 'record' like this, but you could store your tune data in flash or eeprom beforehand.
It is exceedingly unlikely that any PIC will have enough memory to store and recall 24 * 20 =approx 500 seconds of audio. Assuming 8-bit samples at sample rate of 44.1kHz that's about 22 Megabytes or twice the size the disk drive that shipped with the first PC's in November of 1981. Isn't that a hoot?
I think y'all need to read the original post more carefully. Tunes is NOT the same as tones, and "record" and "play back" was definitely part of the original request. Each of your interpretations seems to fit your idea of what he wants to do and not what he said. Maybe the original poster could clarify his requirements, but I'm not holding my breath.
Maybe you are looking to build a PIC based MP3 player: **broken link removed**
This project only has playback function, but will give you an idea of the complexity of your idea.
I think y'all need to read the original post more carefully. Tunes is NOT the same as tones, and "record" and "play back" was definitely part of the original request. Each of your interpretations seems to fit your idea of what he wants to do and not what he said. Maybe the original poster could clarify his requirements, but I'm not holding my breath.
to say explictly, what i need is to record musical tunes - instrumental song tunes and to plaYback them at a push of a switch. i may use an external flash drive with prerecorded musical tunes.
Other option is toi use an MP3 player and modify with an amp and some logic to play in a sequence.
Is it possible with a PIC by using stored musical tunes files in a thumb drive.