local storage for speech is limited to round 30 words
Topics related to client-side programming language.
Post questions and answers about JavaScript, Ajax, or jQuery codes and scripts.
-
JanMolendijk
- Posts: 282
- Location: Holland Rotterdam
local storage for speech is limited to round 30 words
Pleasant Coursesweb,
The local storage for speech is limited to round 30 words.
But may also be limited to a number of characters ?
When I test it offline it is unlimited able to let speak textfor an whole day.
Under I have dropped an test-codewere I can not find the limit.
Please help me out
Code: Select all
<table><tr></tr><td>
<?php echo $daten; ?>
<?php echo date('d-m-Y'); ?> <?php echo date('d-m-Y'); ?> hhhh Text area with local storage
<br>
<textarea id=a style=resize:none oninput=localStorage.MolendijkTest=a.value>
<?php echo $row['post_user_name']?> wrote on: <?php echo $row['post_date_date']?> title: <?php echo $row['title']?> context: <?php echo $row['post_text']?>
</textarea>
<br><button onClick=Molendijk.Speak(a.value)>Test Speech</button>
</span>
</td><td>
</table>
<br>
<script>
'use strict';
const Molendijk = parent.Molendijk;
const SystemReset=()=>
{
if (!confirm('Are you sure?')) return;
localStorage.clear();
parent.location.reload();
}
// init variables
let shader, s, r = Date.now();
// load local storage text area
a.value = localStorage.MolendijkTest || a.value;
// main loop
const Loop=t=>
{
requestAnimationFrame(Loop);
// render shader if focused
Molendijk.RenderShader(c, shader, t/1e3);
}
// create a simple shader
shader = Molendijk.CreateShader
(
c,
'void mainImage(out vec4 c,vec2 p){for(int i;++i<35;)c.xy=mat2(-c.g,c.r,c)*c.gr+((0.5-p/iResolution.y)*(1.1+sin(iTime))-.6);}'
);
// start the loop
Loop();
</script>
I found out in Chrome browser the limit is at least lesser then in Edge browser with speech.
Don`t known maybe Edge have no limits incase ?
But I hope you have answers for me to get deleted those limits in speech.
MarPlo
Hello,
I don't know if the limit is in code. I not understand that js code.
Anyway, try to modify the value of 35 in that piece of code:
- If that doesn't work, I have no other idea.
JanMolendijk
Marplo thanks for the suport.... Strange in Edge browser
the speech is unlimited but Chrome has big limits in speech.
Similar Topics
-
XAMPP-server only local host working
General Forum
First post
Dear Coursesweb,
I have a problem after round 10 hours searching I come to you for suport.
Only the local host is working: //127.0.0.1
But I...
Last post
OK thanks MarPlo.... Wishing overseas nice weekend
-
Stop button in Speech in Php
PHP - MySQL
First post
How are all things going CoursesWeb now with Covid-19.
It is shamble for all lovely lady`s who have the name.
I hope all Governements gonna make-up...
Last post
I could kiss you for this support all things working & I even have it now in Dutch
Thanks Coursesweb
-
Speech to text without https
General Forum
First post
Pleasant Coursesweb,
Is their anything posible without https for speech to text fill-in ?
Or must I turn my SSL document on the XAMPP-server ?
Last post
Hello,
I don't know about speech to text fill-in.
Anyway, I want to inform you that this forum will be closed for register or posting.
Any...
-
Check for an array of words in a string in php
PHP - MySQL
First post
I have a list of spam words that are into an array. When a user submits a string text, I want to know if it contains these words. How can I do this...
Last post
You could add the spam words into a string, with | as word separator and then use regular expression to check.
$my_words =...