Speech Component

An area to discuss 8-bit PIC specific problems and examples

Moderator: Benj

Post Reply
JFinlayson
Posts: 93
Joined: Mon Sep 23, 2013 4:33 pm
Has thanked: 5 times
Been thanked: 6 times
Contact:

Speech Component

Post by JFinlayson »

I have just started to try the speech component using an 18F2620. Voice speech rate and frequency of this component does not make much effect. An entire word output seems to take only milliseconds. Do I need to set up PWM speed separately or modify timer rate? or is it not meant for this PIC?
The older the boy the bigger the toy

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Speech Component

Post by Benj »

Hello,

Please can you post your program and we will investigate for you.

JFinlayson
Posts: 93
Joined: Mon Sep 23, 2013 4:33 pm
Has thanked: 5 times
Been thanked: 6 times
Contact:

Re: Speech Component

Post by JFinlayson »

Here is test program that does not work as stated above. The speed seems to fast over in miliseconds.
I am using Microchip XC8 V1.43

speechTest.fcfx
(17.5 KiB) Downloaded 337 times
The older the boy the bigger the toy

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Speech Component

Post by Benj »

Hello,

Please can you give this updated component a try. Simply copy the file to your "Flowcode 7/Components" folder and restart Flowcode.
Speech.fcpx
(23.97 KiB) Downloaded 310 times
Let us know how you get on.

JFinlayson
Posts: 93
Joined: Mon Sep 23, 2013 4:33 pm
Has thanked: 5 times
Been thanked: 6 times
Contact:

Re: Speech Component

Post by JFinlayson »

Tested component and it works perfectly. Thanks for speedy response :D
The older the boy the bigger the toy

LYCEE VINCI85
Posts: 2
Joined: Thu Feb 07, 2019 5:49 pm
Been thanked: 1 time
Contact:

Re: Speech Component

Post by LYCEE VINCI85 »

Hello,
I've got a same issue, I dowload the "speech" exemple and try anything but it stay "dumb" my 18F4455 is running at 48MHz (confimed by a time mesure), I try with PWM and parallel on port B, writing in "CAP" or "min" letter th like "AA" and "aa" don't know at this time what is the good one!?

I made a small programm to test the CNA and amplifier on portB and that working well!

I download the speech.apx and change on the previous page and the compilation seems good, I look in the C programme and the phoneme TAB are inside.
So I'am lost!
I join my programm ...
thank you.
Attachments
Speech (1).fcfx
(10.22 KiB) Downloaded 256 times

LYCEE VINCI85
Posts: 2
Joined: Thu Feb 07, 2019 5:49 pm
Been thanked: 1 time
Contact:

Re: Speech Component

Post by LYCEE VINCI85 »

it 's running !!!! I change the "base adress" and place 0 and it's good ! the previous was 20475 "ideal adress" !?! So why ???
I will try to place more phonèmes and make it running on my 18F46K22 whith more memory...
thank you

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Speech Component

Post by Benj »

Hello,

That's strange that the ideal location isn't working correctly, maybe there is a problem with the maths on certain devices or maybe the device you're using has some strange ways of addressing higher ROM memory?

Post Reply