Socket
Book a DemoInstallSign in
Socket

pangdudu-swiftly

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pangdudu-swiftly

1.0.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

== swiftly

Hi everybody!

I always wanted my ruby apps to tell me when something is wrong. :)

This is inspired by the gem flite4r I found after lunch. After looking around a bit I found http://www.cepstral.com, which makes some pretty decent unit selection based text to speech stuff.

They have some demo voices, but most of their voices cost around 29$. I couldn't find any "free" TTS unit selection corpora, so if you know one, text me. :)

Oki, it's still pretty basic. It essentially just offers one method:

speak "something"

That's all I need right now, it will be pretty easy to bloat the whole thing with all the stuff cepstrals swift can also do: SSML input, pitch, speed, other voices, etc ...

If you want to do that, feel free, fork or text me and I'll add you to the maintainors.

This is also the first time i've written a C extension for ruby (which is easy, so try it), so if know a prettier way to do what Swiftly.c does, text me.

INSTALL:

Before this will work, you'll need to install a cepstral (5.1) voice and the swift-app and sdk.

It's pretty easy, just go here: http://www.cepstral.com/downloads/ download a voice (comes with the swift-app and sdk) and install it.

then go to lib (that's where my code is) and run: ruby extconf.rb && make

Tada!

I'll build a gem later or so, lazy...

Example code:

require 'swiftly' include Swiftly

class String def to_speech speak self end end

"Test. Test.".to_speech

Have fun!

,nick

FAQs

Package last updated on 10 Aug 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.