Searching \ for '[PIC]: PIC speech system (+free software)' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: massmind.org/techref/microchip/devices.htm?key=pic
Search entire site for: 'PIC speech system (+free software)'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: PIC speech system (+free software)'
2001\12\19@113741 by Roman Black

flavicon
face
Hi, after all the discussion recently about doing
sound on a PIC, 1bit systems etc, I came up with an
idea to refine the process of 1bit encoding to be
PIC friendly and it actually worked. It's fast enough
to do 16bit to 1bit conversion real time at up to 156
kbit/sec! It also gives good results with speech even
with quite low bitrates. Great for making cheap
talking remote controls and stuff for the visually
impaired.

Playback only requires one or two digital output pins
and RC filter and very simple bitstream code.

I played with a few systems, but the encoder that worked
best was a closed-loop math model of the RC filter.
Each new bit is decided by generating a possible
hi and lo bit result, then models the analogue voltage
that would occur on the RC filter, and picks the bit
that gives the result closest to the original wave.
Being closed loop simulation it follows the original
wave quite well and gives good sound quality for
low bitrates and very little record or playback
hardware.

I wrote some software that shows the waveform and
the encoder waveform, with some adjustments to the
encoding parameters. It models the RC filter and
even tells you values of R and C to use.

Then one button press to write the encoded bitstream
to a data file or even a PIC .asm file with the
sound data already formatted in "retlw" table
format. You get a few seconds of speech on a 8kb
PIC. Handy. :o)

It's really a "PIC sound suite" that allows you to
load your own sound waveforms in, view them, try
different encoding formats and and see how the
sound will turn out as it is plotted on screen.
Then dump the bitstream data straight into your
PIC. One thing I want to add is a RC filter attached
to the PC parallel port, so I can hear the sound
on identical hardware to the product, and know
exactly how it will sound when the PIC plays it
back later in the product.

I wanted a system where I just had to push one
button to add any sound or speech to any of my
PIC projects, and it's pretty close to that. With
the ability to record too, hmm, now I just need a
few Mb of fast static ram...
-Roman

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\12\19@115634 by Roman Black

flavicon
face
Sorry! Forgot to give the webpage where you can get
the software:
centauri.ezy.net.au/~fastvid/picsound.htm
-Roman

Roman Black wrote:
{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\12\19@124333 by Richard Sloan

flavicon
face
Very nice Roman, did I miss something or can you record with the PIC also?

>>  Sorry! Forgot to give the webpage where you can get
>>  the software:
>>  centauri.ezy.net.au/~fastvid/picsound.htm
>>  -Roman

>>  Roman Black wrote:
>>  > (playing speech audio on a PIC)
>>  > I wrote some software that shows the waveform and
>>  > the encoder waveform, with some adjustments to the
>>  > encoding parameters. It models the RC filter and
>>  > even tells you values of R and C to use.
>>  >
>>  > It's really a "PIC sound suite" that allows you to
>>  > load your own sound waveforms in, view them, try
>>  > different encoding formats and and see how the
>>  > sound will turn out as it is plotted on screen.
>>  > Then dump the bitstream data straight into your
>>  > PIC.

>>  --
>>  http://www.piclist.com hint: The list server can filter out subtopics
>>  (like ads or off topics) for you. See http://www.piclist.com/#topics








__________________________________________________________

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\12\19@125221 by Harold M Hallikainen

picon face
On Thu, 20 Dec 2001 03:31:51 +1100 Roman Black <spam_OUTfastvidTakeThisOuTspamEZY.NET.AU>
writes:
>
> I wanted a system where I just had to push one
> button to add any sound or speech to any of my
> PIC projects, and it's pretty close to that. With
> the ability to record too, hmm, now I just need a
> few Mb of fast static ram...
> -Roman

       By the time you're done, how close in cost are you to just using an ISD
chip? I used a PIC16c73 driving an ISD4004-08M with 8 minutes of speech
in the BrailleMaster
(http://www.dovesystems.com/BuildPage.php3?page=braille). I couldn't find
a lower cost way of doing that much speech.

Harold



FCC Rules Online at http://hallikainen.com/FccRules
Lighting control for theatre and television at http://www.dovesystems.com

________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
dl.http://www.juno.com/get/web/.

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\12\19@130449 by Richard Sloan

flavicon
face
When you need that much there is not a cheaper way..... I have costed it all out too!

R.

>>  On Thu, 20 Dec 2001 03:31:51 +1100 Roman Black <.....fastvidKILLspamspam@spam@EZY.NET.AU>
>>  writes:
>>  >
>>  > I wanted a system where I just had to push one
>>  > button to add any sound or speech to any of my
>>  > PIC projects, and it's pretty close to that. With
>>  > the ability to record too, hmm, now I just need a
>>  > few Mb of fast static ram...
>>  > -Roman

>>  By the time you're done, how close in cost are you to just using
>>  an ISD
>>  chip? I used a PIC16c73 driving an ISD4004-08M with 8 minutes of speech
>>  in the BrailleMaster
>>  (http://www.dovesystems.com/BuildPage.php3?page=braille). I couldn't find
>>  a lower cost way of doing that much speech.

>>  Harold



>>  FCC Rules Online at http://hallikainen.com/FccRules
>>  Lighting control for theatre and television at http://www.dovesystems.com

>>  ________________________________________________________________
>>  GET INTERNET ACCESS FROM JUNO!
>>  Juno offers FREE or PREMIUM Internet access for less!
>>  Join Juno today!  For your FREE software, visit:
>>  dl.http://www.juno.com/get/web/.

>>  --
>>  http://www.piclist.com hint: The list server can filter out subtopics
>>  (like ads or off topics) for you. See http://www.piclist.com/#topics

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\12\19@131912 by Roman Black

flavicon
face
Yes, the PIC can record fine if it has an 8bit
or better ADC input. A '628 might be the PIC for
the job. Stereo, even multitrack recording is easy
at normal frequencies.
-Roman


Richard Sloan wrote:
{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\12\19@135159 by Richard Sloan
flavicon
face
I mean can we record and store the 1 or 1.5bit data? can it be done without buffering?
R.

>>  Yes, the PIC can record fine if it has an 8bit
>>  or better ADC input. A '628 might be the PIC for
>>  the job. Stereo, even multitrack recording is easy
>>  at normal frequencies.
>>  -Roman


>>  Richard Sloan wrote:
>>  >
>>  > Very nice Roman, did I miss something or can you record with the PIC
>>  also?
>>  >
>>  >  >>  Sorry! Forgot to give the webpage where you can get
>>  >  >>  the software:
>>  >  >>  centauri.ezy.net.au/~fastvid/picsound.htm
>>  >  >>  -Roman
>>  >
>>  >  >>  Roman Black wrote:
>>  >  >>  > (playing speech audio on a PIC)
>>  >  >>  > I wrote some software that shows the waveform and
>>  >  >>  > the encoder waveform, with some adjustments to the
>>  >  >>  > encoding parameters. It models the RC filter and
>>  >  >>  > even tells you values of R and C to use.
>>  >  >>  >
>>  >  >>  > It's really a "PIC sound suite" that allows you to
>>  >  >>  > load your own sound waveforms in, view them, try
>>  >  >>  > different encoding formats and and see how the
>>  >  >>  > sound will turn out as it is plotted on screen.
>>  >  >>  > Then dump the bitstream data straight into your
>>  >  >>  > PIC.
>>  >
>>  >  >>  --
>>  >  >>  http://www.piclist.com hint: The list server can filter out
>>  subtopics
>>  >  >>  (like ads or off topics) for you. See
>>  http://www.piclist.com/#topics
>>  >
>>  > __________________________________________________________
>>  >
>>  > --
>>  > http://www.piclist.com hint: The list server can filter out subtopics
>>  > (like ads or off topics) for you. See http://www.piclist.com/#topics

>>  --
>>  http://www.piclist.com hint: The list server can filter out subtopics
>>  (like ads or off topics) for you. See http://www.piclist.com/#topics

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\12\19@141032 by David P. Harris

picon face
Perfecto mondo!
I was thinking we could use the serial eeproms -- one of the protocols
lets you extract consecutive bytes serially by providing clocking
pulses.  Then all you need is a PIC timer driving the eeprom to get the
sound.
David


Roman Black wrote:

{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\12\19@145137 by Roman Black

flavicon
face
Richard Sloan wrote:
>
> I mean can we record and store the 1 or 1.5bit data? can it be done without buffering?

Sure you can record depending on what medium
you are using for storage. I2C eeprom is probably
ok depending on what bitrate. Parallel ram with
a simple counter is much faster and you could
record multiple waveforms. No buffering is needed,
the calc is performed quickly on each BIT, then
the bits are just stored.
-Roman


{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\12\19@150239 by Jinx

face picon face
> Yes, the PIC can record fine if it has an 8bit
> or better ADC input. A '628 might be the PIC for
> the job.

Unfortunately the 628 does not have an ADC. Comparators
that could be used for CVSD though

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\12\22@010810 by Somasundaram Meiyappan

picon face
Hi all,

One and  a half years ago, we used a multimedia card (MMC) for storing and
playback of data. It uses a serial interface(also supports SPI) and is
easily interfacable with a PIC. They could be handy if one wants a cheap
removable storage solution. And could be useful to record lots of speech
esp. your 1 or 1.5bit data.
Roman, your speech encoding technique was very good.

Regards,
Somasundaram.

http://www.mmca.org/ or http://www.sandisk.com could be of help if someone
wants to know more about MMC.

{Original Message removed}

2001\12\22@013307 by Roman Black

flavicon
face
Thanks Somasundaram, i've been looking at larger
storage mediums and would eventually like to add
code to generate sound data files in the right
format, I already want to add ability to program
the sound into a serial EEPROM direct from the
PC parallel port. Programming MMCs directly with
the sounds would be handy too. I'm also looking
for a good PIC friendly static ram, something
parallel acessed but not too many PIC pins.
Any ideas on that one?
-Roman



Somasundaram Meiyappan wrote:
{Quote hidden}

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestspamKILLspammitvma.mit.edu


2001\12\22@171404 by Alexandre Domingos F. Souza

flavicon
face
>the sounds would be handy too. I'm also looking
>for a good PIC friendly static ram, something
>parallel acessed but not too many PIC pins.
>Any ideas on that one?

       Ferroeletric RAMs from Ramtron?


---8<---Corte aqui---8<----

Alexandre Souza
.....taitoKILLspamspam.....terra.com.br
http://planeta.terra.com.br/lazer/pinball/

---8<---Corte aqui---8<----

--
http://www.piclist.com hint: To leave the PICList
EraseMEpiclist-unsubscribe-requestspam_OUTspamTakeThisOuTmitvma.mit.edu


2001\12\24@221553 by Somasundaram Meiyappan

picon face
Hi,

If I am not wrong, FRAMs have a strong limitation on the number of memory
accesses. This makes them ideal only for storing values that are read rarely
(say during system boot-up).
There was a very good article in "Embedded Systems Programming" magazine
(forgot the date of issue) on the different types of non-volatile memory.

Regards,
Somasundaram.

{Original Message removed}

2001\12\24@225411 by Randy Glenn

flavicon
face
There are now FRAM parts with "unlimited endurance" - greater than 1E16 they
say. (http://www.ramtron.com/products/FM18L08productbulletin.htm) That's 10
000 000 000 000 000. Ten quadrillion write or read cycles. Available in a
24C64 compatible chip -
http://www.ramtron.com/products/datasheets/FM24CL64ds_r0.3.pdf. Others have
10 - 100 billion read / write cycles.

Keep in mind that this is per bit, not per chip.

-Randy Glenn

Measure twice, cut once, curse, discard. Repeat.
=================================================
   PICxpertspamspam_OUTcogeco.ca - @spam@PICxpertKILLspamspamyahoo.com
          http://picxpert.dyndns.org
   Not that the site works yet, of course...
=================================================

{Original Message removed}

2001\12\25@111418 by Alexandre Domingos F. Souza

flavicon
face
>If I am not wrong, FRAMs have a strong limitation on the number of memory
>accesses. This makes them ideal only for storing values that are read
>rarely
>(say during system boot-up).
>There was a very good article in "Embedded Systems Programming" magazine
>(forgot the date of issue) on the different types of non-volatile memory.

       If I'm not wrong too, wasn't it that was written in the spec sheet. I'll look for it here and post...


---8<---Corte aqui---8<----

Alexandre Souza
KILLspamtaitoKILLspamspamterra.com.br
http://planeta.terra.com.br/lazer/pinball/

---8<---Corte aqui---8<----

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\12\28@062901 by Roman Black

flavicon
face
David Harris wrote:
>
> I'm interested in sound for model trains -- your stuff is just the ticket -- I had
> thought of similar, but folding the filter into the calculation is brilliant!
> David

Thanks! Sounds like a perfect app for one-PIC
sound playback. Choo choo! :o)

I'd like to hear any feedback you have on using
my PIC sound stuff, if you use it that is. Using
a SPI eeprom will work well, but aren't they only
8kbyte?? Maybe it's better to use a 8kword PIC like
a 16F876, with the data stored as 14bits instead of
8. I think Scott D. mentioned this idea recently.
With about 7500 words, at 14bits is 13125 BYTES
of storage and all in one PIC. Just a thought.

I'd be happy to put up any of your work on the
PIC sound encoder webpage:
centauri.ezy.net.au/~fastvid/picsound.htm
-Roman



{Quote hidden}

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\12\28@111126 by dpharris

picon face
Hi-
They go up to 256k.  32 and 64k versions are cheap. The 25LC640-I/SN-ND at Digikey is
$1.59CN ($1US).  I expect this will progress over the next year.

I haven't gotten to the sound stuff (yet)!

David

Roman Black wrote:

{Quote hidden}

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...