Recommend audio chip for spot sound effects?
Electronics Forum Index Electronics
Circuits, theory, electrons and discussions.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ElectronicsHelp.net
Recommend audio chip for spot sound effects?

 
Post new topic   Reply to topic    Electronics Forum Index -> Design
Author Message
Guest






Posted: Thu Feb 10, 2005 10:34 pm    Post subject: Recommend audio chip for spot sound effects? Reply with quote

I have a tentative request from a client to add sound effects to a
vending machine application. It would be about half a dozen sound
effects in the 1s ballpark, and perhaps two sound effects in the 10s
ballpark. Doesn't have to be field-upgradable. I want something
equivalent to roughly 11.025kHz 8-bit PCM (5-bit ADPCM would be fine).

My options seem to be:

* EPROM with raw sample data, reloadable counter with 11025Hz clock
source, and DAC.
* ISD chips. Kinda expensive (especially to get factory-programmed) and
the audio quality is variable.
* ISTR from my arcade machine days a range of ADPCM parts from Oki;
they were typically controlled by an 8-bit micro and read sample data
right out of a dedicated EPROM. Can't find these parts any more though.

I can't spend much CPU time on this because the whole machine is
controlled by an ATmega32L running at 1MHz and I can't afford such a
fast timer; it would interfere with my other processes. The solution
needs to be primarily hardware.

Has anyone faced and solved this problem in a simple way? Volumes are
very low; maybe a couple of thousand over two years. And it's not a
fersure thing so I would rather have off-the-shelf parts (with an EPROM
or flash chip I can burn myself) than some custom-programmed part.

Yes (this note to Guy Macon :) I have considered masked toy parts but I
don't like the MOQ.

Back to top
Charles Edmondson
Guest





Posted: Thu Feb 10, 2005 11:52 pm    Post subject: Re: Recommend audio chip for spot sound effects? Reply with quote

larwe@larwe.com wrote:

Quote:
I have a tentative request from a client to add sound effects to a
vending machine application. It would be about half a dozen sound
effects in the 1s ballpark, and perhaps two sound effects in the 10s
ballpark. Doesn't have to be field-upgradable. I want something
equivalent to roughly 11.025kHz 8-bit PCM (5-bit ADPCM would be fine).

My options seem to be:

* EPROM with raw sample data, reloadable counter with 11025Hz clock
source, and DAC.
* ISD chips. Kinda expensive (especially to get factory-programmed) and
the audio quality is variable.
* ISTR from my arcade machine days a range of ADPCM parts from Oki;
they were typically controlled by an 8-bit micro and read sample data
right out of a dedicated EPROM. Can't find these parts any more though.

I can't spend much CPU time on this because the whole machine is
controlled by an ATmega32L running at 1MHz and I can't afford such a
fast timer; it would interfere with my other processes. The solution
needs to be primarily hardware.

Has anyone faced and solved this problem in a simple way? Volumes are
very low; maybe a couple of thousand over two years. And it's not a
fersure thing so I would rather have off-the-shelf parts (with an EPROM
or flash chip I can burn myself) than some custom-programmed part.

Yes (this note to Guy Macon :) I have considered masked toy parts but I
don't like the MOQ.

Get one of the later Cypress PSOC parts, and have the samples stored in

the FLASH on it. Has the DACs, opamps, and all the other stuff you need
on chip...

--
Charlie
--
Edmondson Engineering
Unique Solutions to Unusual Problems
Back to top
Guest






Posted: Fri Feb 11, 2005 12:51 am    Post subject: Re: Recommend audio chip for spot sound effects? Reply with quote

Quote:
* EPROM with raw sample data, reloadable counter with 11025Hz clock
source, and DAC.

Get one of the later Cypress PSOC parts, and have the samples stored
in
the FLASH on it. Has the DACs, opamps, and all the other stuff you
need
on chip...

We're talking approximately 20 seconds of audio at 11025kHz. Assuming
5-bit ADPCM, that's (5/8) * 20 * 11025 bytes = 137812.5Kbytes of flash
space. The largest PSoC I see is 32Kbytes.

Back to top
Charles Edmondson
Guest





Posted: Fri Feb 11, 2005 1:28 am    Post subject: Re: Recommend audio chip for spot sound effects? Reply with quote

larwe@larwe.com wrote:
Quote:
* EPROM with raw sample data, reloadable counter with 11025Hz clock
source, and DAC.


Get one of the later Cypress PSOC parts, and have the samples stored

in

the FLASH on it. Has the DACs, opamps, and all the other stuff you

need

on chip...


We're talking approximately 20 seconds of audio at 11025kHz. Assuming
5-bit ADPCM, that's (5/8) * 20 * 11025 bytes = 137812.5Kbytes of flash
space. The largest PSoC I see is 32Kbytes.

11025kHz? Why such a high sample frequence? oh, wait, 11kHz, still a

little high. I usually just use 8kHz.

but yeah, you usually add in a DataFLASH, say a 4meg or larger part for
the sample storage. You need the later PSoCs to have the RAM for the
data buffers.

--
Charlie
--
Edmondson Engineering
Unique Solutions to Unusual Problems
Back to top
James Beck
Guest





Posted: Fri Feb 11, 2005 3:25 am    Post subject: Re: Recommend audio chip for spot sound effects? Reply with quote

In article <420bb5da$1@news.cadence.com>, edmondson@ieee.org says...
Quote:
larwe@larwe.com wrote:
* EPROM with raw sample data, reloadable counter with 11025Hz clock
source, and DAC.


Get one of the later Cypress PSOC parts, and have the samples stored

in

the FLASH on it. Has the DACs, opamps, and all the other stuff you

need

on chip...


We're talking approximately 20 seconds of audio at 11025kHz. Assuming
5-bit ADPCM, that's (5/8) * 20 * 11025 bytes = 137812.5Kbytes of flash
space. The largest PSoC I see is 32Kbytes.

11025kHz? Why such a high sample frequence? oh, wait, 11kHz, still a
little high. I usually just use 8kHz.

but yeah, you usually add in a DataFLASH, say a 4meg or larger part for
the sample storage. You need the later PSoCs to have the RAM for the
data buffers.

If the sound effects can handle a little loss of precision, do a little

ADPCM in the processor and save a lot in storage space. That is what
the OKI chips he has seen on the arcade games do. As long as you can
snag the samples and process them fast enough.
Back to top
Joerg
Guest





Posted: Fri Feb 11, 2005 5:00 am    Post subject: Re: Recommend audio chip for spot sound effects? Reply with quote

Hello Lewin,

A long time ago I was looking for something similar. I cannot remember the company but there was one in Asia that did pretty much nothing but sound recording and playback chips of different sizes. Maybe some Google searching could find that.

Also, look at what retailers such as Digikey have. I vaguely remember that you could buy these chips at one of these places, too.

Regards, Joerg

http://www.analogconsultants.com
Back to top
Ken Moffett
Guest





Posted: Fri Feb 11, 2005 5:27 am    Post subject: Re: Recommend audio chip for spot sound effects? Reply with quote

larwe@larwe.com wrote:
Quote:

I have a tentative request from a client to add sound effects to a
vending machine application. It would be about half a dozen sound
effects in the 1s ballpark, and perhaps two sound effects in the 10s
ballpark. Doesn't have to be field-upgradable. I want something
equivalent to roughly 11.025kHz 8-bit PCM (5-bit ADPCM would be fine).

My options seem to be:

* EPROM with raw sample data, reloadable counter with 11025Hz clock
source, and DAC.
* ISD chips. Kinda expensive (especially to get factory-programmed) and
the audio quality is variable.
* ISTR from my arcade machine days a range of ADPCM parts from Oki;
they were typically controlled by an 8-bit micro and read sample data
right out of a dedicated EPROM. Can't find these parts any more though.

I can't spend much CPU time on this because the whole machine is
controlled by an ATmega32L running at 1MHz and I can't afford such a
fast timer; it would interfere with my other processes. The solution
needs to be primarily hardware.

Has anyone faced and solved this problem in a simple way? Volumes are
very low; maybe a couple of thousand over two years. And it's not a
fersure thing so I would rather have off-the-shelf parts (with an EPROM
or flash chip I can burn myself) than some custom-programmed part.

Yes (this note to Guy Macon :) I have considered masked toy parts but I
don't like the MOQ.

Look into the recorder chips at:

http://www.winbond-usa.com/

Their chips come in many recording lengths. You can address
many record/playback segments in the chips memory. I've used them, and
think they would work for your application. I used a simple diode
AND'ing matrix to allow single switchs or transistors to output each 8
bit address.
Back to top
Guest






Posted: Fri Feb 11, 2005 5:31 am    Post subject: Re: Recommend audio chip for spot sound effects? Reply with quote

Quote:
Their chips come in many recording lengths. You can address
many record/playback segments in the chips memory. I've used them,
and


That's ISD (Winbond acquired ISD a while ago). The audio quality is
questionable on those, and preprogramming them is difficult.
Back to top
Ulf Samuelsson
Guest





Posted: Fri Feb 11, 2005 7:04 pm    Post subject: Re: Recommend audio chip for spot sound effects? Reply with quote

<larwe@larwe.com> skrev i meddelandet
news:1108053262.719505.203360@l41g2000cwc.googlegroups.com...
Quote:
I have a tentative request from a client to add sound effects to a
vending machine application. It would be about half a dozen sound
effects in the 1s ballpark, and perhaps two sound effects in the 10s
ballpark. Doesn't have to be field-upgradable. I want something
equivalent to roughly 11.025kHz 8-bit PCM (5-bit ADPCM would be fine).

My options seem to be:

* EPROM with raw sample data, reloadable counter with 11025Hz clock
source, and DAC.
* ISD chips. Kinda expensive (especially to get factory-programmed) and
the audio quality is variable.
* ISTR from my arcade machine days a range of ADPCM parts from Oki;
they were typically controlled by an 8-bit micro and read sample data
right out of a dedicated EPROM. Can't find these parts any more though.

I can't spend much CPU time on this because the whole machine is
controlled by an ATmega32L running at 1MHz and I can't afford such a
fast timer; it would interfere with my other processes. The solution
needs to be primarily hardware.



There is an AVR application note on how to use AVR + Dataflash
for sound recording and playback. This uses 8 kHz sampling frequency.
The speaker circuit consists of a 5th order low-pass Chebychev filter and a
unary gain

amplifier. so you needs some external LM324s.


AVR335: Digital Sound Recorder with AVR and DataFlash (29 pages, revision B,
updated 01/04)
This Application Note describes how to record, store and play back sound
using any AVR MCU with A/D converter, the AT45DB161 DataFlash memory and a
few extra components

http://www.atmel.com/dyn/resources/prod_documents/doc1456.pdf
http://www.atmel.com/dyn/resources/prod_documents/avr335.zip


--
Best Regards,
Ulf Samuelsson
ulf@a-t-m-e-l.com

This message is intended to be my own personal view and it
may or may not be shared by my employer Atmel Nordic AB
Back to top
Alex Parkinson
Guest





Posted: Fri Feb 11, 2005 9:09 pm    Post subject: Re: Recommend audio chip for spot sound effects? Reply with quote

Quote:
That's ISD (Winbond acquired ISD a while ago). The audio quality is
questionable on those, and preprogramming them is difficult.

You can also check out chips from A-Plus, a Taiwanese company. They are equivalent to
the ISD chips in quality and difficulty of programming, but they are much cheaper.

http://www.aplusinc.com.tw/

Alex Parkinson
Back to top
Raivo Leini
Guest





Posted: Sat Feb 12, 2005 4:17 pm    Post subject: Re: Recommend audio chip for spot sound effects? Reply with quote

<larwe@larwe.com> wrote in message
news:1108053262.719505.203360@l41g2000cwc.googlegroups.com...
Quote:
I have a tentative request from a client to add sound effects to a
vending machine application. It would be about half a dozen sound
effects in the 1s ballpark, and perhaps two sound effects in the 10s
ballpark. Doesn't have to be field-upgradable. I want something
equivalent to roughly 11.025kHz 8-bit PCM (5-bit ADPCM would be fine).

My options seem to be:

* EPROM with raw sample data, reloadable counter with 11025Hz clock
source, and DAC.
* ISD chips. Kinda expensive (especially to get factory-programmed) and
the audio quality is variable.
* ISTR from my arcade machine days a range of ADPCM parts from Oki;
they were typically controlled by an 8-bit micro and read sample data
right out of a dedicated EPROM. Can't find these parts any more though.

I can't spend much CPU time on this because the whole machine is
controlled by an ATmega32L running at 1MHz and I can't afford such a
fast timer; it would interfere with my other processes. The solution
needs to be primarily hardware.

Has anyone faced and solved this problem in a simple way? Volumes are
very low; maybe a couple of thousand over two years. And it's not a
fersure thing so I would rather have off-the-shelf parts (with an EPROM
or flash chip I can burn myself) than some custom-programmed part.

Yes (this note to Guy Macon :) I have considered masked toy parts but I
don't like the MOQ.

no problem for ATmega128; leave out ADPCM and
make a tandem SPI serial Flash ( ST's M25P40) + SPI serial DAC.


r.

>
Back to top
Luhan Monat
Guest





Posted: Sun Feb 13, 2005 4:03 am    Post subject: Re: Recommend audio chip for spot sound effects? Reply with quote

Ulf Samuelsson wrote:

Quote:
larwe@larwe.com> skrev i meddelandet
news:1108053262.719505.203360@l41g2000cwc.googlegroups.com...

I have a tentative request from a client to add sound effects to a
vending machine application. It would be about half a dozen sound
effects in the 1s ballpark, and perhaps two sound effects in the 10s
ballpark. Doesn't have to be field-upgradable. I want something
equivalent to roughly 11.025kHz 8-bit PCM (5-bit ADPCM would be fine).

My options seem to be:

* EPROM with raw sample data, reloadable counter with 11025Hz clock
source, and DAC.
* ISD chips. Kinda expensive (especially to get factory-programmed) and
the audio quality is variable.
* ISTR from my arcade machine days a range of ADPCM parts from Oki;
they were typically controlled by an 8-bit micro and read sample data
right out of a dedicated EPROM. Can't find these parts any more though.

I can't spend much CPU time on this because the whole machine is
controlled by an ATmega32L running at 1MHz and I can't afford such a
fast timer; it would interfere with my other processes. The solution
needs to be primarily hardware.




There is an AVR application note on how to use AVR + Dataflash
for sound recording and playback. This uses 8 kHz sampling frequency.
The speaker circuit consists of a 5th order low-pass Chebychev filter and a
unary gain

amplifier. so you needs some external LM324s.


AVR335: Digital Sound Recorder with AVR and DataFlash (29 pages, revision B,
updated 01/04)
This Application Note describes how to record, store and play back sound
using any AVR MCU with A/D converter, the AT45DB161 DataFlash memory and a
few extra components

http://www.atmel.com/dyn/resources/prod_documents/doc1456.pdf
http://www.atmel.com/dyn/resources/prod_documents/avr335.zip


--
Best Regards,
Ulf Samuelsson
ulf@a-t-m-e-l.com

This message is intended to be my own personal view and it
may or may not be shared by my employer Atmel Nordic AB


Hi,


I've been adding sound/speech to my projects lately using 512k eeproms.
They sell for about $3.10 each and can record 8 bits at 8khz for 8
seconds.

Read them with a PIC and send output to MCP41010 ($1.29 programable
potentiometer used as cheap 8 bit d/a).

--
Luhan Monat (luhanis 'at' yahoo 'dot' com)
"The future is not what it used to be..."
http://members.cox.net/berniekm
Back to top
Guest






Posted: Mon Feb 14, 2005 11:35 pm    Post subject: Re: Recommend audio chip for spot sound effects? Reply with quote

Quote:
My options seem to be:

There is another option:

Take any cheap microcontroller, and implement an FM synthesiser.
With few control words you can generate a lot of 80s style sound
effects. CODE+DATA plus PWM output should be possible on any
vanilla 8-pin micro (PIC/AVR/etc).
Back to top
 
Post new topic   Reply to topic    Electronics Forum Index -> Design All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Home & Living New Topics
Contact Us
Powered by phpBB