Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
cf80337eb4
2 changed files with 63 additions and 0 deletions
  1. +20
    -0
      package/fake/flite/const-assignment.patch
  2. +43
    -0
      package/fake/flite/flite.desc

+ 20
- 0
package/fake/flite/const-assignment.patch

@ -0,0 +1,20 @@
--- ./tools/find_sts_main.c.orig 2002-12-26 18:18:30.000000000 +0100
+++ ./tools/find_sts_main.c 2004-08-03 17:41:07.686245736 +0200
@@ -93,14 +93,14 @@
lpc->frames[i],lpc->num_channels,
resd,
size);
- sts[i].size = size;
+ *(int*)(&sts[i].size) = size;
sts[i].frame = cst_alloc(unsigned short,lpc->num_channels-1);
for (j=1; j < lpc->num_channels; j++)
- sts[i].frame[j-1] = (unsigned short)
+ *(unsigned short*)(&sts[i].frame[j-1]) = (unsigned short)
(((lpc->frames[i][j]-lpc_min)/lpc_range)*65535);
sts[i].residual = cst_alloc(unsigned char,size);
for (j=0; j < size; j++)
- sts[i].residual[j] = cst_short_to_ulaw((short)resd[j]);
+ *(int*)(&sts[i].residual[j]) = cst_short_to_ulaw((short)resd[j]);
start = end;
}

+ 43
- 0
package/fake/flite/flite.desc

@ -0,0 +1,43 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/fake/flite/flite.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] a small run-time speech synthesis engine
[T] Flite is a small fast run-time speech synthesis engine. It is the
[T] latest addition to the suite of free software synthesis tools
[T] including University of Edinburgh's Festival Speech Synthesis System
[T] and Carnegie Mellon University's FestVox project, tools, scripts and
[T] documentation for building synthetic voices. However, flite itself
[T] does not require either of these systems to compile and run.
[A] Alan W Black <awb@cs.cmu.edu>
[M] fake <fake@rapidnetworks.de>
[C] extra/multimedia
[L] OpenSource
[S] Stable
[V] 1.2
[P] X -----5---9 147.801
[D] 1428953997 flite-1.2-release.tar.bz2 http://www.speech.cs.cmu.edu/flite/packed/flite-1.2/

Loading…
Cancel
Save