Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
flite2
Advanced tools
Readme
npm binding for flite, a tiny text-to-speech synthesizer.
node-flite2 is a fork from the original node-flite made to make it compatible with the current 2.0 version of flite. It also releases a control on the voices, that prevented it from using user-imported voices.
flite2 was developed to be used in combination with the iannitts package.
(copyleft)ianni67 2018. Please share and enjoy.
$ npm install flite2
also requires flite 2.0.x
or flite 1.4.x
(www) and either aplay
(www) or afplay
(default on OS X) to be installed and in your $PATH
. Working on OSX and linux. Windows is currently untested and likely unsupported.
Flite is super tiny and fast and works great on ARM (eg, robots!), and has a variety of voices available (which are compiled into the binary - you probably want to build it yourself).
var flite = require('flite2')
var message = "you know what we need? some more waffles!"
flite(function (err, speech) {
if (err) { return console.error(err) }
speech.say(message, function (err) {
if (err) { return console.error(err) }
/// make sure to have your sound on :)
});
});
var flite = require('flite2')
flite([config], callback)
config is an object with any of the following keys
speech.voices // array
array of valid voice names to use with the voice
configuration setting.
speech.config(configObj)
set configuration settings for this instance of speech
speech.say(text, [fileout], callback)
speak the given input string text
. if fileout
is specified, the wavefile will be writen to that file and not to the speakers. if fileout
is omitted, the wavefile will be played immediately. callback
is invoked after the wavefile is written or the sound is done playing.
Original license: MIT. (c) 2012 jden - Jason Denizac jason@denizac.org
My license: oh well... the same as before.
For this version: (c)ianni67 2018
FAQs
binding for flite, a tiny text-to-speech synthesizer. This fork is compatible with flite 2.0
The npm package flite2 receives a total of 7 weekly downloads. As such, flite2 popularity was classified as not popular.
We found that flite2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.