Patronage & Donations
If you use the Slackware UK services on a regular basis, and would like to contribute to running costs, make a continuing patronage (and receive special benefits), or make a one off PayPal payment, please use one of the following buttons:
Patreon Logo
For regular monthly donations
PayPal Logo
For one time donations
All donations will be gratefully received - thank you!
Toggle theme:Toggle Theme Button
Content of directory's README

Sonic is a simple algorithm for speeding up or slowing down speech.  However,
it's optimized for speed ups of over 2X, unlike previous algorithms for changing
speech rate.  The Sonic library is a very simple ANSI C library that is designed
to easily be integrated into streaming voice applications, like TTS back ends.

The primary motivation behind Sonic is to enable the blind and visually impaired
to improve their productivity with open source speech engines, like espeak.
Sonic can also be used by the sighted.  For example, Sonic can improve the
experience of listening to an audio book on an Android phone.

A native Java port of Sonic is in Sonic.java.  Main.java is a simple example of
how to use Sonic.java.  To play with it, you'll need a "talking.wav" file in the
current directory, and you'll want to change the speed, pitch or other
parameters manually in Main.java, in the main method.

Sonic is Copyright 2010, 2011, Bill Cox, all rights reserved.  It is released
under the Apache 2.0 license, to promote usage as widely as possible.

Performance test:

I sped up a 751958176 byte wav file with sonic (a 9 hour, 28 minute mono audio
file encoded at 16-bit 11.KHz), but with the output writing disabled.  The
reported time, running Ubuntu 11.04 on my HP Pavilion dm4 laptop was:

real    0m50.839s
user    0m47.370s
sys     0m0.620s

The Java version is not much slower.  It reported:

real    0m52.043s
user    0m51.190s
sys     0m0.310s

Update, May 7, 2017
-------------------
I upgraded the pitch change algorithm to use a 12-point sinc FIR filter for
interpolation, rather than linearly interpolating between points.  This
significantly reduces noise introduced by the pitch change algorithm.  It is
most noticable in low-sample-rate streams, such as the 11,025 Hz output of the
Eloquence TTS engine.  The upgrade is in both the C and Java versions.


Author: Bill Cox
email: waywardgeek@gmail.com

Icon  Name                                     Last modified      Size  Description
[<--] Parent Directory - [DIR] samples/ 2021-12-23 20:53 - [DIR] doc/ 2021-08-29 23:16 - [DIR] debian/ 2021-08-29 23:16 - [DIR] .git/ 2021-08-29 23:16 - [SRC] wave.h 2021-08-29 23:16 569 [SRC] wave.c 2021-08-29 23:16 9.7K [SRC] spectrogram.c 2021-08-29 23:16 12K [SRC] sonic.h 2021-08-29 23:16 9.9K [SRC] sonic.c 2021-08-29 23:16 40K [BIN] sonic.1 2021-08-29 23:16 1.8K [   ] mkorig 2021-08-29 23:16 694 [SRC] main.c 2021-08-29 23:16 6.3K [TXT] Sonic.java 2021-08-29 23:16 37K [!!!] README 2021-08-29 23:16 1.9K [TXT] Makefile 2021-08-29 23:16 2.7K [TXT] Main.java 2021-08-29 23:16 2.8K [TXT] LOG_ba331411_1 2021-08-30 15:34 0 [TXT] COPYING 2021-08-29 23:16 11K [   ] .gitignore 2021-08-29 23:16 7
Server (facade0) bandwidth utilisation
0  Bandwidth graph measuring   0.03 Gbit/s  10 Gbit/s