Author Topic: Programmable IC for very short audio clip  (Read 2625 times)

Mario44

Programmable IC for very short audio clip
« on: February 04, 2014, 10:48:45 AM »
Hey everyone.
I'm not the specialist of digitals but I decided to make a simple circuit with atmega16 IC for randomizing.
It's dice simulation and I would like to add 'throwing dice' short sound clip(about 1 second) before it shows the numbers on the LED displayer.
Does anyone know IC which I could use, or function of atmega16?

bcalla

Re: Programmable IC for very short audio clip
« Reply #1 on: February 04, 2014, 11:37:57 AM »
Hi Mario -
Madbean used to sell a board for a project called the Loophole.  It is a lo-fi looping pedal which can record up to 20 seconds using the ISD1020AP chip.  You can find the datasheet on line to see if it will meet your needs.  If it does, I have an extra one (used).  After building my Loophole I discovered that there is a 90 second version of the same chip, so I swapped out the original 20 second chip.  PM me if you are interested.
Bob
"Under certain circumstances, profanity provides a relief denied even to prayer."
       -- Mark Twain

Mario44

Re: Programmable IC for very short audio clip
« Reply #2 on: February 05, 2014, 12:50:10 PM »
It purpouse is to record on live what you play, so its a looper chip, isn't it?.
But what if I want to record it once and play it anytime when the button is pushed?
Will it still storage the file after disconnecting the unit from the power line?
edit: And is it THT or SMD? I etch boards myself so only THT for me
« Last Edit: February 05, 2014, 12:52:26 PM by Mario44 »

bcalla

Re: Programmable IC for very short audio clip
« Reply #3 on: February 05, 2014, 01:31:22 PM »
The answers to your questions:
- The chip is actually intended for voice recorders. 
- The Loophole has a toggle switch that disables the record function so that you don't accidently record over a loop that you want to save.
- It does retain what you recorded even after disconnecting the power.
- It is through hole, not SMD.
"Under certain circumstances, profanity provides a relief denied even to prayer."
       -- Mark Twain

Mario44

Re: Programmable IC for very short audio clip
« Reply #4 on: February 05, 2014, 01:47:26 PM »
Ok.
What about this IC? http://www.tme.eu/pl/Document/0d432fa50654031370d43820ddf3db6e/ISD1700.pdf
I could get that with no problem and its not that expensive.

slacker

Re:
« Reply #5 on: February 05, 2014, 02:38:11 PM »
I've never used an Atmega but I had a quick look at the specs and it has 16K of flash memory so if your dice roll program doesn't use much memory you could store a short sample in the rest of it and use one of the PWM outputs to play it back,  this would be fairly low quality but should be possible.  Another option would be add an external EEPROM like a 24LC32 and store the sample on that.
I'm sure I've seen projects online that do this.

Mario44

Re: Programmable IC for very short audio clip
« Reply #6 on: February 05, 2014, 03:09:34 PM »
I'm doing this project with my friend and so far we have problems with software.
Here is picture of this circuit, so maybe it will be helpful to somebody.