Giter VIP home page Giter VIP logo

Comments (3)

mawillcockson avatar mawillcockson commented on July 26, 2024

That is strange.

It appears the included slt voice also produces a 16kHz WAV file:

Audacity spectrogram

from flite.

rsingh2083 avatar rsingh2083 commented on July 26, 2024

Hello, I am using indic voice to generate the audio

./flite/bin/flite "-voice" flite/voices/cmu_indic_hin_ab.flitevox 'पुत्र मित्र आदि सगे संबंधियों' "-o" 'try.wav'

The output file try.wav is always 16khz. However, in the README.md it was mentioned that the output is deliberately kept at 8khz. Is it not valid for non-us voices?

Hi Shruti,

Can you share the cmu_indic_hin_ab.flitevox file please ?

from flite.

mawillcockson avatar mawillcockson commented on July 26, 2024

I'm not the original issue reporter, but I believe they used the voices provided on the associated website, specifically:

http://www.festvox.org/flite/packed/flite-2.1/voices/cmu_indic_hin_ab.flitevox

I was able to recreate the issue:

flite -voice "http://www.festvox.org/flite/packed/flite-2.1/voices/cmu_indic_hin_ab.flitevox" 'पुत्र मित्र आदि सगे संबंधियों' -o try.wav

This file appears to have a 16KHz sample rate:

aplay --samples=1 --verbose try.wav

which gives

Playing WAVE 'try.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
ALSA <-> PulseAudio PCM I/O Plugin
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 1
  rate         : 16000
  exact rate   : 16000 (16000/1)
  msbits       : 16
  buffer_size  : 8000
  period_size  : 2000
  period_time  : 125000
  tstamp_mode  : NONE
  tstamp_type  : GETTIMEOFDAY
  period_step  : 1
  avail_min    : 2000
  period_event : 0
  start_threshold  : 8000
  stop_threshold   : 8000
  silence_threshold: 0
  silence_size : 0
  boundary     : 9007199254740992000

from flite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.