Find Jobs
Hire Freelancers

Need help with a text-to-speech Javascript

$10-30 USD

Completed
Posted over 5 years ago

$10-30 USD

Paid on delivery
I'm using the js library p5.speech. I'm trying to get each strings throught the speech function. However, each time it repeats the same strings. YOU WILL NEED TEAMVIEWER TO FIX THE BUG ON MY PC const btReport1 = [login to view URL]('report1'); [login to view URL]('click', function(e) { [login to view URL]('Google UK English Female'); for(var i=0; i<[login to view URL];i++){ [login to view URL]("allData"+i+" = " + allData[i].profile.length+" patients have "+ allData[i].diseasesConditions); (function(i) { var m = i; setTimeout(function() { [login to view URL](allData[i].profile.length+" patients have "+ allData[i].diseasesConditions); }, 1); })(i); // sendVoice(allData[i].profile.length+" patients have "+ allData[i].diseasesConditions);; //setTimeout(function afterTwoSeconds() { [login to view URL](allData[i].profile.length+" patients have "+ allData[i].diseasesConditions);}, 1000); } function sendVoice(data){ [login to view URL](data); } });
Project ID: 17718100

About the project

4 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello there, This is happening because of the settimeout function, you need to create another function and then call settimeout from there. I would like to be considered for this job as I have great working experience in HTML, CSS and JavaScript/jQuery development. Thanks, Ramesh
$30 USD in 1 day
5.0 (65 reviews)
6.1
6.1

About the client

Flag of UNITED STATES
Los Angeles, United States
5.0
30
Payment method verified
Member since Apr 14, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.