Sonsivri

Electronics => Pic Basic Languages => Topic started by: karlosmks on September 26, 2007, 04:40:47 16:40



Title: Human voice with picbasic
Post by: karlosmks on September 26, 2007, 04:40:47 16:40
Hello:

Is posible to save human voice in a flash memory?? I wish to program with PicBasic and a 18F6720.
The circuit has a microfone in a analogic input, a flash memory and a speaker. First save a voice in the memory and then play it in the speaker.
I don't know about play human voice. How I can do it??. I need some track. ???

thnks


Title: Re: Human voice with picbasic
Post by: Deimos on September 26, 2007, 10:21:53 22:21
Hi:

I think is more simply to use an ISD25120, you can record in the memory sound or voices, to do this whith a pic, i think is very dificult, you'll have to generate the correct frecuences to generate voices, so, use an ISD, look at here:

http://www.freewebs.com/glafebre/relojparlante.htm

That is a clock, can say the time talking  ;D

I hope that can help you.


Title: Re: Human voice with picbasic
Post by: karlosmks on September 27, 2007, 04:42:23 16:42
Thanks Deimos. But i have a program with ISD4004. The problem is to save the voice in the ISD because is necesary to save it playing with a sound source. And is so much time. I want to save the voice digitally. This is very fast, just a few seconds.



Title: Re: Human voice with picbasic
Post by: Deimos on September 28, 2007, 04:04:25 04:04
you may find a way to generate the correct frecuences to generate voices, but i dont know how, sorry  :-\


Title: Re: Human voice with picbasic
Post by: th_sak on September 28, 2007, 10:35:30 10:35
Hi, have a look at this. I used it with success.
http://www.romanblack.com/picsound.htm


Title: Re: Human voice with picbasic
Post by: MAXPAYNE on September 30, 2007, 03:38:14 15:38
Say Winbond ISD series bye bye !!!


Title: Re: Human voice with picbasic
Post by: meax98 on September 30, 2007, 07:50:21 19:50
I used two solutions with great success:

Devantech SP03 - Text to Speech Synthesizer:
http://www.robot-electronics.co.uk/shop/Speech_Synthesizer_SP032006.htm

ISD ChipCorder & Speech ICs:
http://www.winbond-usa.com/en/content/view/36/140


Title: Re: Human voice with picbasic
Post by: Ikaros on October 01, 2007, 09:20:50 09:20
Since you have a fast MCU, I would suggest too, to use Romans Black technique. Good and compact.



Title: Re: Human voice with picbasic
Post by: karlosmks on October 01, 2007, 12:46:50 12:46
I have a file generate with Romans Black. How I can use it??


Title: Re: Human voice with picbasic
Post by: QATQET on October 01, 2007, 01:01:46 13:01
Take a look at

http://www.picbasic.org/forum/showthread.php?t=6870

there is an interesting project with audio.  :)


Title: Re: Human voice with picbasic
Post by: th_sak on October 01, 2007, 09:21:15 21:21
I have a file generate with Romans Black. How I can use it??

What u have is a lookup table. I don’t know how to use it with picbasic but I 'll send 2 examples I made. (Assemble it with mpasm.exe)
http://rapidshare.com/files/59593663/picsound.rar.html


Title: Re: Human voice with picbasic
Post by: ABBOSE on October 26, 2007, 11:35:27 11:35
You can also use Aplus’s  APR 9600 stand alone ( no required of micro controller) IC for recording and playback. It is similar to ISD 2560 but I think reproduction is better than ISD. See for more details http://www.aplusinc.com.tw/pro-recording.htm
Other IC like APR 6008 ( 8 minute recording & playback) & APR 6016 ( 16 minute) with SPI interface also available.
 
ABBOSE


Title: Re: Human voice with picbasic
Post by: Sun_rise_pt on October 27, 2007, 05:54:41 17:54
You may use a PIC with PWM (like 16F628). Or a 16F84 conected to 8 bit DAC (with resistors are more cheap...).
Translate the the Windows WAV file with pre recorded voice to a BIN file end program this on a 24C256 EEPROM and make a program to scan the adresses.

This works perfect for records of some seconds of course...


Title: Re: Human voice with picbasic
Post by: SONSiVRi on October 27, 2007, 10:15:46 22:15
Just an inspection;
Human ear's work between 20 Hz and 20 KHz, that means we need to sample 19980 steps.
It will enough to save 1 sample for 14 bit (16384 steps).


Title: Re: Human voice with picbasic
Post by: jeanninemtv on November 01, 2007, 05:45:54 17:45
humm

what about the voice filter?

any suggestion?
any design?

i tried 1 bit algorithm with pic and eeprom simulated  in proteus but output noisely unfair


Title: Re: Human voice with picbasic
Post by: alvinserna on November 14, 2007, 04:34:54 04:34
hi Sun_rise_pt,

have you done this already? could you be so kind to share the
schematic diagram and source code  to everyone...  :)

esp. the one using PIC 16f628 bec. it is cheaper to build...thank you.. ;)







Title: Re: Human voice with picbasic
Post by: th_sak on November 14, 2007, 11:22:20 11:22
If you want to use pic16F628 have a look at this site: http://home.alphalink.com.au/~derekw/pictalker/main.htm


Title: Re: Human voice with picbasic
Post by: Sun_rise_pt on November 14, 2007, 07:14:04 19:14
Wait few days please...

I make a upload for that... ...and all works fine. Past year I've buit a bird repeller with a falcon song to prevent the aproximation of H5N1 flu desease.


Title: Re: Human voice with picbasic
Post by: ang1960 on November 14, 2007, 07:47:56 19:47
All in one pictalker (software,firmware, SCH,PCB protel99SE format)


Title: Re: Human voice with picbasic
Post by: dulce_antunes on November 20, 2007, 10:55:12 22:55
Some time ago i made some experiences with a good voice recorder
it's the ISD 1420, simple to handle and good quality sound
I've made a pcb for testing, with Altium
If someone is interested please let me know

Txs


Title: Re: Human voice with picbasic
Post by: alvinserna on November 22, 2007, 07:43:40 07:43
hi dulce_antunes

Im interested,can you share it? tnx


Title: Re: Human voice with picbasic
Post by: th_sak on November 22, 2007, 11:51:46 11:51
Hi,
There is a very good project for human voice in EPE magazine (Dec 2007) starting at page 39. Download from: http://www.sonsivri.com/forum/index.php?topic=1896.405


Title: Re: Human voice with picbasic
Post by: Deimos on November 22, 2007, 03:58:27 15:58
I still think that the best way is using an ISD.

Look here:

http://www.freewebs.com/glafebre/relojparlante.htm

Is there a simple clock to save some data and then reproduces the time voice.

It is designed with a ISD25120.


Title: Re: Human voice with picbasic
Post by: elektrofuniv on November 24, 2007, 06:21:12 06:21
isd chips has not enough memory for the record
if you wanna record more long voice,, you have to connect several isd s with addressable array. made disadvantage for me, some times ago:)


Title: Re: Human voice with picbasic
Post by: Deimos on November 24, 2007, 03:38:40 15:38
I think the 40 series is great, can record 2-16 minutes duration

http://www.winbond-usa.com/products/isd_products/chipcorder/productbriefs/ISD4000_PBa.pdf


Title: Re: Human voice with picbasic
Post by: smartguy on November 24, 2007, 04:56:09 16:56
if you record it on PC you can use http://audacity.sourceforge.net/  removing the small pauses and
other between the sounds to get more out of the ISD devices.

Aso if you use numbers only records number 1-20 , 30 , 40 ...
when you what to speak 24  , use 20 and the 4

br
Smartguy

 :) :)


Title: Re: Human voice with picbasic
Post by: Sun_rise_pt on November 24, 2007, 07:09:11 19:09
In the french magazine Electronique Pratique have two voice recorders on EEPROM.
Please look the code here:
http://electroniquepratique.com/images/images_doc/PROG_EP295_044.zip
...and the PCB layout:
http://electroniquepratique.com/images/images_doc/CI_EP295_044.zip

First you make a voice record on your PC with wav format file...

The file wav_bin.exe are a converter (and cleaner of some "trash") from wav file to bin.

The PIC scans the EEPROM and drives a LPF and after a AF amplifier.

The circuit and firmware are very simple and all works fine


Title: Re: Human voice with picbasic
Post by: caveman508 on February 06, 2008, 04:37:59 04:37
check this out, I tried it and was fairly pleased, just not enough time to go into it further.

http://www.romanblack.com/picsound.htm

Caveman


Title: Re: Human voice with picbasic
Post by: lillbear on February 07, 2008, 06:36:31 18:36
Is here any picbasic or C gurus, if they could do a dummys guide to Romans Black sound asm-file HowTo use with picbasic or CCS or mikroC  :P

yours


Title: Re: Human voice with picbasic
Post by: ipek on February 07, 2008, 11:38:17 23:38
http://rapidshare.com/files/90011881/basic-voice.rar.html      double prj...
and   http://www.compile-it.com/Proton/PIC_WAV_PLAYER.zip