Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 23:33 05 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Did you know S.A.M.? (text to speech)

     Page 3 of 8    
Author Message
cicciocb
Regular Member

Joined: 29/04/2014
Location: France
Posts: 70
Posted: 09:38am 17 Jan 2016
Copy link to clipboard 
Print this post

Hi all,
I worked again on the program and I think that now it's reaching a more mature status.
Please find here a new file that contains :

- the new .hex file
- a little program to test it (it's just for test)
- for the nostalgics, a collection of C64 programs related to S.A.M.
- a license file

Use @help for the list of the commands.

For the sound quality, you can play with the filter parameters, in particular the @cutoff= to obtain the best result for your ears; actually is tuned for mine.

Enjoy

CiccioCB

2016-01-17_193717_PIC32_SAM_beta3.zipEdited by cicciocb 2016-01-18
 
cosmic frog
Senior Member

Joined: 09/02/2012
Location: United Kingdom
Posts: 278
Posted: 10:01am 17 Jan 2016
Copy link to clipboard 
Print this post

Does this latest .hex file fix the "hanging after about a minute" problem?

Thanks. Dave.
 
cicciocb
Regular Member

Joined: 29/04/2014
Location: France
Posts: 70
Posted: 10:16am 17 Jan 2016
Copy link to clipboard 
Print this post

You should try the following sentence:

"The quick brown fox jumps over the lazy frog".

This should confirm if the problem has been fixed.

CicciocbEdited by cicciocb 2016-01-19
 
cosmic frog
Senior Member

Joined: 09/02/2012
Location: United Kingdom
Posts: 278
Posted: 10:54pm 17 Jan 2016
Copy link to clipboard 
Print this post

  cicciocb said   You should try the following sentence:

"The quick brown fox jumps over the lazy frog".

This should confirm if the problem has been fixed.

Cicciocb



This sounds promising.
I'll have to set it up and give it a try, probably be sometime next week now.

Thanks. Dave.
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 814
Posted: 10:36am 18 Jan 2016
Copy link to clipboard 
Print this post

Hi Cicciocb,

your actual verision has furthermore a "hang" problem. After a while it hangs and sends "busy" on any input...
But it is not reproducible! After a restart it works with exact the same input and hangs after many inputs later...

- You wrote in your starting text-message that it is now possible to suppress the starting voice-message. But how???

Thanks a lot for your effort!

Frank
 
cicciocb
Regular Member

Joined: 29/04/2014
Location: France
Posts: 70
Posted: 09:15am 19 Jan 2016
Copy link to clipboard 
Print this post

Hi All,
this version should definitively fix the hanging problem.
Let me know.
Hoping this will generate more interest on SAM, in particular for the oldies C64 fans.

CiccioCB

2016-01-19_191516_PIC32_SAM_beta_4.zip Edited by cicciocb 2016-01-21
 
Henk
Newbie

Joined: 06/10/2015
Location: Netherlands
Posts: 20
Posted: 05:37am 21 Jan 2016
Copy link to clipboard 
Print this post

If I click the link 2016-01-19_191516_PIC32_SAM_beta_4.zip I get file or directory not found??

Henk
Edited by Henk 2016-01-22
 
cosmic frog
Senior Member

Joined: 09/02/2012
Location: United Kingdom
Posts: 278
Posted: 06:54am 21 Jan 2016
Copy link to clipboard 
Print this post

I downloaded it the other day. I haven't tested it though.
Here's another link.

2016-01-21_165416_2016-01-19_191516_PIC32_SAM_beta4.zip Edited by cosmic frog 2016-01-22
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 911
Posted: 08:00pm 01 Feb 2016
Copy link to clipboard 
Print this post

I have this version 2016-01-19_191516_PIC32_SAM_beta_4.zip running on a 150 chip and after it has been running for some time (days) it takes over 2 minutes to respond to a string sent to it.
GM
 
cicciocb
Regular Member

Joined: 29/04/2014
Location: France
Posts: 70
Posted: 01:08am 02 Feb 2016
Copy link to clipboard 
Print this post

Happy to hear that someone is using it.
I believed that nobody was interested to.

CiccioCB
 
Chris Roper
Senior Member

Joined: 19/05/2015
Location: South Africa
Posts: 280
Posted: 01:40am 02 Feb 2016
Copy link to clipboard 
Print this post

  cicciocb said   Happy to hear that someone is using it.
I believed that nobody was interested to.

CiccioCB


I think that quite a few of us are interested to use it.
It is just that the bugs in the first few betas prevented us from formally incorporating it into any projects.
Each of your subsequent releases have been a good improvement.
Please dont leave us hanging :)

If you don't have the time to work on it further, and are willing to release the source, there are others here that could contribute.

Cheers
Chris

http://caroper.blogspot.com/
 
cicciocb
Regular Member

Joined: 29/04/2014
Location: France
Posts: 70
Posted: 04:02am 02 Feb 2016
Copy link to clipboard 
Print this post

Hi Chris,
this is the first feedback that I received from the latest release.
I don't use it in any project, so it's very hard for me to find bugs.
Please let me know what are the problems found and I'll try to fix.

About releasing the sources, I don't think about this as a solution but more as a problem.

Regards,
CiccioCB
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9066
Posted: 04:29am 02 Feb 2016
Copy link to clipboard 
Print this post

I feel another closed vs open source 'Debate' brewing....
Smoke makes things work. When the smoke gets out, it stops!
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 04:31am 02 Feb 2016
Copy link to clipboard 
Print this post

  Grogster said   I feel another closed vs open source 'Debate' brewing....

Grogs
You're a stirrer. Time to go to bed. It must be 3:30am for you right now.
Bob
 
cosmic frog
Senior Member

Joined: 09/02/2012
Location: United Kingdom
Posts: 278
Posted: 06:23am 02 Feb 2016
Copy link to clipboard 
Print this post

  cicciocb said   Happy to hear that someone is using it.
I believed that nobody was interested to.

CiccioCB


I'm also very interested but the "hanging" problem put me off. As others have said, if the source is posted others can contribute and help make this a great piece of code.

Thanks. Dave.Edited by cosmic frog 2016-02-03
 
cicciocb
Regular Member

Joined: 29/04/2014
Location: France
Posts: 70
Posted: 07:11am 02 Feb 2016
Copy link to clipboard 
Print this post

Hi all,
as already stated, the sources are not mine and are freely available here :
sources

Regards,
CiccioCB
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 814
Posted: 09:08am 02 Feb 2016
Copy link to clipboard 
Print this post

That's not the complete truth! Your link is to Sebastian's original code, not to any microcontroller code! This is the link to the code which I offered on my first site in this thread on simulationcorner.net!
I contacted Sebastian in the meantime - he is a very nice and helpful guy!

My SAM on the PIC24FJ64GA002 works in the meantime satisfactorily - it sounds not so good as the SAM from CiccioCB but it has no time limit and I would send the code to (nearly) all people who ask for it! (...and I would reply to nearly all people!)
I want to implement the startup message pin dependent

- pin on GND: no message
- pin on HIGH: play message

These are my first steps with C. At the moment I am trying to implement such things as mouth, pitch and so one as command (it's at the moment hard coded)...

The pinout from PIC24FJ64GA002 is very similar to the 32MX150 and should work on a 32MX150 PCB! I tried my SAM on PIC MicroStick.

The pinning is:

pin11 - Rx-SAM (not 5V tolerant)
pin7 - Tx-SAM (not 5V tolerant)
pin14 - Sound Out over a 10µF capacitor
pin6 - Busy (not 5V tolerant)

If anybody is interested on it - please feel free to contact me!!!

Frank
 
cicciocb
Regular Member

Joined: 29/04/2014
Location: France
Posts: 70
Posted: 11:00am 02 Feb 2016
Copy link to clipboard 
Print this post

Happy to hear about that.
As I suppose to be probably part of the "nearly" definition, I'll avoid to ask you

Let me know if you need help.

Regards,
CiccioCB
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 814
Posted: 11:32pm 02 Feb 2016
Copy link to clipboard 
Print this post

My actual configuration, please try it: (...only for personal use)

 
cicciocb
Regular Member

Joined: 29/04/2014
Location: France
Posts: 70
Posted: 01:06am 03 Feb 2016
Copy link to clipboard 
Print this post

I'm happy to discover the details of your project, now the things are more clear.

I found your bug: you need more Holy Water

Don't forget to fill with H2O+ up to the border.

I suggest also, if you want improve the voice quality, to replace it with 25 grams of "Heavy Water" coming from Vemork, Norwey.

As usual, high quality product gives high quality results.

Good luck.

CiccioCB
 
     Page 3 of 8    
Print this page
© JAQ Software 2024