Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

171
Views
How do I get the audio output from this website?

Newbie in javascript here, I'm trying to get the output from a simple text-to-speech site (the URL changes to the file location) and play it. After looking online I tried this:

var request = require('request');
function tts(text) {
    var r = request.get(`https://tts.cyzon.us/tts?text='${encodeURI(text)}'`, function(err, res, body) {
        let audio = new Audio(r.uri.href);
        audio.play();
    });
}

... which didn't work. How do I actually do this?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

audio, video, etc in nodejs can you stored in your db in the form of bytes. You can open a file by creating a readstream and then writing the buffer got from the website to the file. You can then open the file and play the audio

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!