speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get rid of lengthy pause at end of sentences for speechSynthe


From: guest271314
Subject: Re: How to get rid of lengthy pause at end of sentences for speechSynthesis.speak()?
Date: Sat, 24 Aug 2024 13:14:54 -0700

aplay.

deno -A ~/localscripts/vits-web-extension/exec.js male 'Test, test,
test. Test to the point it breaks.' | aplay -r 22050 -f S16_LE -t raw
-

exec.js

import $ from "./dax.js";
const dir = "/home/user"
try {
  await $`echo ${
    Deno.args[1]
  } | ${dir}/piper/piper -q
  --length_scale 1
  --sentence_silence 0
  --model ${dir}/en_US-hfc_${
    Deno.args[0]
  }-medium.onnx --output_raw`
    .stdout(Deno.stdout.writable);
} catch (e) {
  $.logError(e.message);
  $`exit(1)`;
}

On Sat, Aug 24, 2024 at 1:06 PM Samuel Thibault
<samuel.thibault@ens-lyon.org> wrote:
>
> Hello,
>
> guest271314, le sam. 24 août 2024 13:00:21 -0700, a ecrit:
> > I have piper.conf and speechd.conf.
> >
> > When I use window.speechSynthesis.speak() in the browser the pause
> > between the sentences is noticeable compared to running piper
> > directly.
>
> Does "piper directly" emit its audio itself, or through an external aplay?
>
> > What do I need to do in speechd.conf and/or piper.conf to get rid of
> > that extended pause between sentences?
>
> Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]