Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:00 15 Nov 2025 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 : CMM2 - PLAY TTS Question

Author Message
shaputer
Newbie

Joined: 25/07/2020
Location: United States
Posts: 38
Posted: 08:09pm 02 Oct 2020
Copy link to clipboard 
Print this post

Hi !

PLAY TTS "IT'S A GREAT DAY FOR A WALK"

When I run the above command the speech is barely understandable.  Are there any options to the "PLAY TTS" command ?

Why is this true for sound on Maximite ?

"PLAY VOLUME L, R - Set the volume to between 0 and 100 with 100 being the maximum volume. The volume will reset to the maximum level when a program is run."

So, if I run my program the volume will reset to 100 even though I set it to 50 ?


Thanks !
If what you are doing is bringing out the worst in you than stop doing it.
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4142
Posted: 08:41pm 02 Oct 2020
Copy link to clipboard 
Print this post

Maybe it means it sets to 100 when a program is run (as it says).  If your program changes it... it's changed, no?

What happens if you try it?

On the sound have you followed the various advice about how to connect your hardware (speakers etc)?

John
 
mclout999

Guru

Joined: 05/07/2020
Location: United States
Posts: 492
Posted: 09:10pm 02 Oct 2020
Copy link to clipboard 
Print this post

The voice system is based on an ancient SAM technology and I can not remember where I saw it listed but here are the DOCs for that system. No one seems to be referencing them to make the voice output more intelligible but it is phonetically based and the translation from written is very limited so you have to use rather odd-looking phonetic spellings to make it work well.  Try the DOC to see how to get the best output.
SAM-voiced.pdf

SAM-voiced.zip

Good luck.
Edited 2020-10-03 07:25 by mclout999
They call me Shai-Hulud (The maker)
 
shaputer
Newbie

Joined: 25/07/2020
Location: United States
Posts: 38
Posted: 09:13pm 02 Oct 2020
Copy link to clipboard 
Print this post

My program changes the volume it is ignored.  Seems like my sound is fine.  I hear mp3 and wav files well and clearly. Maximite is plugged into a preamp connected to an amplifier.


Thank you for the pdf.  That was extremely helpful.  I believe I can get it understandable now.


DO
 PLAY VOLUME 50, 50
 'PLAY VOLUME 100, 100 ' THERE IS NO DIFFERENCE IN VOLUME
 PLAY TTS "THE QUICK RED FOX JUMPED OVER THE LAZY BROWN BEAR"
 PAUSE 5000
 PLAY STOP
LOOP  



If I remark out line setting volume to 50% and unremark the line setting the volume to 100%.  Nothing happens.  If I use NO volume command than it's still the same volume.
Edited 2020-10-03 07:23 by shaputer
If what you are doing is bringing out the worst in you than stop doing it.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10582
Posted: 09:47pm 02 Oct 2020
Copy link to clipboard 
Print this post

  Quote  If I remark out line setting volume to 50% and unremark the line setting the volume to 100%.  Nothing happens.  If I use NO volume command than it's still the same volume.


Try understanding decibels and volume then try play volume 10,10
 
shaputer
Newbie

Joined: 25/07/2020
Location: United States
Posts: 38
Posted: 11:29pm 02 Oct 2020
Copy link to clipboard 
Print this post

  matherp said  
  Quote  If I remark out line setting volume to 50% and unremark the line setting the volume to 100%.  Nothing happens.  If I use NO volume command than it's still the same volume.


Try understanding decibels and volume then try play volume 10,10


I understand both.   The documentation says 0 to 100 and doesn't specify decibels. Or is there yet another pdf I need to see.

Is 10 supposed to be the maximum now ?
Edited 2020-10-03 09:45 by shaputer
If what you are doing is bringing out the worst in you than stop doing it.
 
shaputer
Newbie

Joined: 25/07/2020
Location: United States
Posts: 38
Posted: 12:07am 03 Oct 2020
Copy link to clipboard 
Print this post

  JohnS said  Maybe it means it sets to 100 when a program is run (as it says).  If your program changes it... it's changed, no?

..............
John



NO
Edited 2020-10-03 10:07 by shaputer
If what you are doing is bringing out the worst in you than stop doing it.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10582
Posted: 07:20am 03 Oct 2020
Copy link to clipboard 
Print this post

The volume scales the output voltages produced by the specified percentage. Simple no? Because of the logarithmic characteristic of sound perception a reduction of 50% in voltage (play volume 50,50) is not easily perceived. This is why amplifiers use log pots for volume controls and not linear. The CMM2 works exactly how it is supposed to do.

From the manual

  Quote  There is a linear relationship between the specified level and the output.


Clearly the CMM2 code and documentation is not good enough for you, although many others seem happy, but it is what it is and remember neither I or Geoff make a penny from it.
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 08:19am 03 Oct 2020
Copy link to clipboard 
Print this post

I see a serious error

The TTS phrase is not correct; it's supposed to include every letter of the alphabet but the 's' is missing  

The quick brown fox jumps over the lazy dog  

Sorry, couldn't resist.

Regards,

Craig
 
Frank_Drebin
Newbie

Joined: 12/09/2020
Location: Switzerland
Posts: 11
Posted: 09:42am 03 Oct 2020
Copy link to clipboard 
Print this post

  matherp said  Clearly the CMM2 code and documentation is not good enough for you, although many others seem happy, but it is what it is and remember neither I or Geoff make a penny from it.


Has there already been talks of making the manual a collaborative effort? It could be put on GitHub and pull requests could be proposed by contributors who want to improve  it. Your role would be more of an editor and less of a single writer.

If the manual is a word document, it could probably be easily converted to markdown (the page layout doesn't seem to complicated) for easier version control management.

That might be a good way to improve the documentation w/o putting too much strain on a single person.

Just a thouught...
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4142
Posted: 11:05am 03 Oct 2020
Copy link to clipboard 
Print this post

  shaputer said  
  JohnS said  Maybe it means it sets to 100 when a program is run (as it says).  If your program changes it... it's changed, no?

..............
John



NO

I gather you meant YES.

(But you had not understood how humans hear, hey everyday's a school day.)

John
 
TweakerRay

Senior Member

Joined: 01/08/2020
Location: Germany
Posts: 138
Posted: 11:38am 03 Oct 2020
Copy link to clipboard 
Print this post

speektest.zip


Hi this was my first try with the speak synthesis...

maybe it helps a little...

I have also done a small writer programm wich uses the voice


Writer2sound.zip

I uses this to make a small teaservideo for a remix I have done:

If you have an instagram account you can watch the video here:
https://www.instagram.com/p/CD9HiD9oa9_/

I have recorded that voice and manipulated it further in cubase with delay to make it sound more interesting ;-) The music is reduced to 8bit so it sounds more computerlike and it is bitcrushed ... This remix will be released in this month I hope :-)
Edited 2020-10-03 21:38 by TweakerRay
http://tweakerray.bandcamp.com
 
shaputer
Newbie

Joined: 25/07/2020
Location: United States
Posts: 38
Posted: 01:13pm 03 Oct 2020
Copy link to clipboard 
Print this post

  matherp said  The volume scales the output voltages produced by the specified percentage. Simple no? Because of the logarithmic characteristic of sound perception a reduction of 50% in voltage (play volume 50,50) is not easily perceived. This is why amplifiers use log pots for volume controls and not linear. The CMM2 works exactly how it is supposed to do.

From the manual

  Quote  There is a linear relationship between the specified level and the output.


Clearly the CMM2 code and documentation is not good enough for you, although many others seem happy, but it is what it is and remember neither I or Geoff make a penny from it.



All that would have been nice to be in the documentation so I wouldn't have to ask.  
Never used a computer where volume is controlled by voltage, now I understand with out the snarky butt hurt comments, NO?   Thank you

Anyway, I am sure I am not the only one that feels the way I do about the documentation, I seem to be the first one to say it.  I'm sure it will get better with your hard work.  As far as not getting paid.........that's your personal problem.  Nothing to butt hurt whine about.  If you want to get paid then change your situation.  Just like I am not good enough to program GAMES on Maximite.  I don't get butt hurt, I just move on to something else that I am better at doing

If I am hurting your feelings so much then let someone else answer by questions  
If what you are doing is bringing out the worst in you than stop doing it.
 
shaputer
Newbie

Joined: 25/07/2020
Location: United States
Posts: 38
Posted: 01:15pm 03 Oct 2020
Copy link to clipboard 
Print this post

  TweakerRay said  speektest.zip


Hi this was my first try with the speak synthesis...

maybe it helps a little...

I have also done a small writer programm wich uses the voice


Writer2sound.zip

I uses this to make a small teaservideo for a remix I have done:

If you have an instagram account you can watch the video here:
https://www.instagram.com/p/CD9HiD9oa9_/

I have recorded that voice and manipulated it further in cubase with delay to make it sound more interesting ;-) The music is reduced to 8bit so it sounds more computerlike and it is bitcrushed ... This remix will be released in this month I hope :-)


THANKS, TweakerRay. Greatly Appreciated !  
Problem Solved ! Volume Test from 0-100 Just what I asked. Close this thread before matherp gets upset
Edited 2020-10-03 23:34 by shaputer
If what you are doing is bringing out the worst in you than stop doing it.
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 02:27pm 03 Oct 2020
Copy link to clipboard 
Print this post

@shaputer

Disrespecting @matherp will not score you any points within this community.

As one who uses MMBASIC professionally, for factory automation, I can tell you that nothing comes close to this quality.
 
shaputer
Newbie

Joined: 25/07/2020
Location: United States
Posts: 38
Posted: 03:48pm 03 Oct 2020
Copy link to clipboard 
Print this post

I'm not here to score points.  
If what you are doing is bringing out the worst in you than stop doing it.
 
shaputer
Newbie

Joined: 25/07/2020
Location: United States
Posts: 38
Posted: 04:17pm 03 Oct 2020
Copy link to clipboard 
Print this post

  Tinine said  @shaputer

Disrespecting @matherp will not score you any points within this community.

As one who uses MMBASIC professionally, for factory automation, I can tell you that nothing comes close to this quality.


No one is disprespecting him.  I don't kiss you or anyone else's back side.  I have asked questions about using the board and I felt disrespected by his snarky comments which were not helpful, useful or needed.  

Sorry I am not as smart as you guys, but you need to realize that everyone is NOT LIKE YOU and NO ONE is saying anything about the quality of the board and whether it works.  I commented on the documentation and I have a right to. Freedom of speech where I live. It may get better with time and maybe it won't.

I paid $100 for this board.  It wasn't free so someone is getting paid which is fine.

He is not GOD just a programming and I'm sure a FINE PROGRAMMER, but you ALL need to stop getting your knickers in a bunch.  If you are THAT SENSITIVE than delete my account.  Life will still go on and I won't have to deal with the childish behavior.

If you don't want to answer my questions FINE !  It shows a lot about you and the community.  Have a GREAT DAY !
Edited 2020-10-04 02:18 by shaputer
If what you are doing is bringing out the worst in you than stop doing it.
 
TweakerRay

Senior Member

Joined: 01/08/2020
Location: Germany
Posts: 138
Posted: 06:15pm 03 Oct 2020
Copy link to clipboard 
Print this post

@Shaputer , Don't be so hard on us... I think a lot things are interpreted into a written thing...

in defense of matherp - it might come much harsher to you as he ment it.
I mean he has to deal with all the crazy questions (from noobs like me also ;-) )
and I also didn't know before that it's only 2 people who made this awesome project happening...

I came through the colormaximite through the video of the 8bit guy and was amazed about this machine's power (still am) and I thought well I order one... and I also thought that the people who run this forum would get something from the orders of the color maximite... but as I now have figured out they seem not to get anything...
which is a shame, because updating the firmware and helping here is time...
and work...

They are constantly helping and do care about the community and improving the firmware and help where they can. Just look how many people here are on this board. Everyone is mostly very kind and helping so don't get upset by maybe one comment.
You got the problem solved (through the community) so don't be angry now with
this board... The community here is nice... I can't tell different. People are helping and even really fast... I learned a lot stuff thanks to the more experienced users.
I programmed stuff I would never have dreamed of...

everyone has a bad day from time to time so give matherp a break -
he does a freaking good job here. And I am sure he didn't ment this in any offense way.

Oh and if you have some time check out some of my programms:

https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=12841

Cheers TweakerRay
http://tweakerray.bandcamp.com
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 06:44pm 03 Oct 2020
Copy link to clipboard 
Print this post

@TweakerRay

I'd also like to add that I have recently been emailing Geoff to ask if there was some way that I could pay for each copy of MMBASIC that I incorporate in my product....Geoff wouldn't hear of it because [paraphrasing] he gets enough satisfaction out of the product being put to use in the real world.

Has anyone seen the registers for the PIC32? They are horrendous! I bet Geoff and Pete have lost days, trying to figure out a single register and I bet they never went crying "It don't work" to Microchip.
Instead they have persevered so that we can actually make use of these amazing devices.

Throw an infantile insult in their direction and you can be sure that I'll intercept.    
 
TweakerRay

Senior Member

Joined: 01/08/2020
Location: Germany
Posts: 138
Posted: 07:12pm 03 Oct 2020
Copy link to clipboard 
Print this post

@Tinine

Totally agree with you. I didn't know that those guys don't get anything for their hard work. I am very thankful for their work and its just amazing how much you can do with this machine. The help and support is also amazing and yeah... I mean sometimes things come much harsher to you than its originally ment. But I think the problem is solved and all is good so just let us enjoy this cool machine and programm something amazing ;-)

Cheers TweakerRay
http://tweakerray.bandcamp.com
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025