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.
pico-speaker
Advanced tools
Readme
PicoSpeaker is a TTS module for node. I created this module for my personal assistant project on a Raspberry Pi (raspbian). I use picoSpeaker to have my raspberry talk to me.
This module works on a linux based OS (raspbian, Ubuntu, Debian...) using alsa for audio.
This module requires pico tools and a alsa-utils to be installed.
sudo apt-get install libttspico0 libttspico-utils libttspico-data alsa-utils
You can simply add this module to your node.js project with
// sudo might be required depending on your system
npm install --save pico-speaker
There are four public methods you can use:
// Require the module
var picoSpeaker = require('pico-speaker');
// Define configuration
var picoConfig = {
AUDIO_DEVICE: 'default:CARD=PCH',
LANGUAGE: 'fr-FR'
};
// Initialize with config
picoSpeaker.init(picoConfig);
// Say hello
speaker.speak('Hello !').then(function() {
// console.log("done");
}.bind(this));
You can pass a configuration object at the initialisation time (picoSpeaker.init(yourConfObject)). If you don't the following config will be used.
/* DEFAULT CONFIG */
var CONFIG = {
AUDIO_DEVICE: null, // will use default alsa device
LANGUAGE: 'en-US'
};
These will be added soon. Please do not hesitate to add some !
I am a full-stack Javascript developer based in Lyon, France.
pico-speaker is dual licensed under the MIT license and GPL. For more information click here.
FAQs
Pico speaker for node js (linux systems)
The npm package pico-speaker receives a total of 1 weekly downloads. As such, pico-speaker popularity was classified as not popular.
We found that pico-speaker 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.