Skip to content

Commit

Permalink
Updated license to allow easier inclusion in projects
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardgeek committed Jul 16, 2011
1 parent 2e48c22 commit e720065
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
12 changes: 9 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@ 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.
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 as
open source under the Lesser Gnu Public License version 2.1. All files except
main.c, Main.java and all the sound samples are LGPL. main.c and the sound
samples in the samples directory are in the public domain.
main.c, Main.java and all the sound samples are LGPL. main.c Main.java and the
sound samples in the samples directory are in the public domain. As a special
exception, you may add the source code for sonic.c or Sonic.java to your
project, rather than linking against a libsonic or adding Sonic.jar, but any
changes to these two files must be published according to the LGPL terms.

Performance test:

Expand Down
10 changes: 8 additions & 2 deletions Sonic.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
02111-1307 USA.
As a special exception, you may add the source code for this file, Sonic.java,
to your project, rather than linking against a libsonic or adding Sonic.jar,
but any changes to these two files must be published according to the LGPL
terms.
*/

package sonic;

Expand Down Expand Up @@ -1004,4 +1010,4 @@ public int sonicChangeShortSpeed(
stream.readShortFromStream(samples, numSamples);
return numSamples;
}
}
}
8 changes: 7 additions & 1 deletion sonic.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
02111-1307 USA.
As a special exception, you may add the source code for this file, sonic.c,
to your project, rather than linking against a libsonic or adding Sonic.jar,
but any changes to these two files must be published according to the LGPL
terms.
*/

#include <stdio.h>
#include <stdlib.h>
Expand Down

0 comments on commit e720065

Please sign in to comment.