Permalink
Browse files

Remove very old files

  • Loading branch information...
1 parent d46a61b commit e3b0a907e63ac93e7fca42b5c534ce9c86c4f2c3 Markus Rathgeb committed Jul 23, 2012
@@ -1,3 +0,0 @@
-AUX sag_was 5917 RMD160 7953c91cd126a1f44f576b97966c94d138d1007a SHA1 4298453402dee8a80d527501d5740dd8509c759f SHA256 640dccf7fce9dc47efff110b7331b60224e748f0b05437628b976578079a13f0
-DIST txt2pho.zip 1087540 RMD160 ff73a39ff4834ad92a15ac1ca6a2313f03c7279f SHA1 d06f59a002888607fef38aeaa0083d11e25a87be SHA256 a488eb4ac43563c9b4688f06386c199be1691380d673accdc2f9472bbc954acc
-EBUILD txt2pho-0.94.ebuild 1604 RMD160 ad324c614a55c2724af713f2d25ff7b5c64ad7dc SHA1 c8e65a5b533666c86b7db92d5c9d7d85ab1f17bd SHA256 3e7ab58fa85c113fca901f73266d21592324769a7721001f82bc0ede3d9490c1
@@ -1 +0,0 @@
-MD5 37eb6dd9c95691929ba83fb012c6b578 txt2pho.zip 1039380
@@ -1,223 +0,0 @@
-#!/bin/sh
-# Shell script to generate sound from ASCII text
-# Modified for gentoo by Thomas Schuetz aka Murray_B
-program_name=`basename $0`
-program_version="0.2"
-
-#if [ -z "$1" ]; then
-# echo "\
-#$program_name: too few arguments
-#Try \`$program_name --help' for more information." 1>&2
-# exit 1
-#fi
-
-[ -t 1 ] || silent=1 # don't show anything if stdout isn't a tty
-
-version()
-{
- echo "$program_name (sag_was) $program_version"
- exit 0
-}
-help()
-{
- echo "\
-Usage: $program_name [OPTION]... FILE
-Generate voicestream from text
-
- -i, --input=FILE specifies the ASCII file. If none is given, input
- is taken from /dev/stdin.
- -d, --device=DEVICE use DEVICE for output, default is a audio device
- --format=FORMAT Audio format to produce. FORMAT is either au or wav.
- -g, --voice=VOICE Voice Library to use. VOICE is either de1, de2 or de3
- -p, --pipefilt Cut newlines, make breathing time after punctuation marks.
- -a, --preproc replace abbreviations
- -n, --numfilt replace digits by numbers.
- -v, --volume=VOLUME change amplitude. Default is 1
- -f, --frequenzratio=RATIO FREQ ratio, float ratio applied to pitch points
- -t, --timerratio=RATIO TIME ratio, float ratio applied to phone durations
- -l, --voicefrequenz=FREQUENZ VOICE freq, target freq for voice quality in Hz
- -h, --help display this help and exit
- --version output version information and exit
- --silent do not display filename of currently played file"
- exit 0
- }
-
-
-# Define some variables
-input="/dev/stdin"
-path_to_voice="/usr/lib/festival/voices/german/de3_mbrola/de3"
-path_to_preproc="/usr/lib/preproc"
-voice="de3"
-#txt2pho_voice="f"
-volume="1"
-frequenzratio="1"
-timerratio="1"
-format="au"
-device="audio"
-
-count=0
-while [ $# -ne 0 ]; do
- case "$1" in
- -h)
- help
- ;;
- --help)
- help
- ;;
- --version)
- version
- ;;
- -d)
- shift
- device="$1"
- ;;
- --device=*)
- device=`echo $1 | sed 's/.*=//'`
- ;;
- -i)
- shift
- input="$1"
- ;;
- --input=*)
- input=`echo $1 | sed 's/.*=//'`
- ;;
- -g)
- shift
- voice="$1"
- ;;
- --voice=*)
- voice=`echo $1 | sed 's/.*=//'`
- ;;
- --format=*)
- format=`echo $1 | sed 's/.*=//'`
- ;;
- -a)
- #shift
- preproc="| preproc $path_to_preproc/Rules.lst $path_to_preproc/Hadifix.abk"
- ;;
- --preproc)
- preproc="| preproc $path_to_preproc/Rules.lst $path_to_preproc/Hadifix.abk"
- ;;
- -p)
- #shift
- pipefilt="| pipefilt"
- ;;
- --pipefilt)
- pipefilt="| pipefilt"
- ;;
- -n)
- #shift
- numfilt="| numfilt"
- ;;
- --numfilt)
- numfilt="| numfilt"
- ;;
- -v)
- shift
- volume="$1"
- ;;
- --volume=*)
- volume=`echo $1 | sed 's/.*=//'`
- ;;
- -f)
- shift
- frequenzratio="$1"
- ;;
- --frequenzratio=*)
- frequenzratio=`echo $1 | sed 's/.*=//'`
- ;;
- -t)
- shift
- timerratio="$1"
- ;;
- --timerratio=*)
- timerratio=`echo $1 | sed 's/.*=//'`
- ;;
- -l)
- shift
- voicefrequenz="$1"
- ;;
- --voicefrequenz=*)
- voicefrequenz=`echo $1 | sed 's/.*=//'`
- ;;
- *)
- satz="$satz $1"
- ;;
- esac
- shift
-done
-
-
-# Source the config files
-
-if [ -z "/etc/txt2pho" ] || [ -z "~/.txt2phorc" ] ; then
- echo "neither ~/.txt2phorc nore ~/.txt2phorc ($USER) found"
- echo "synthesis will fail. Exit now"
- exit 1
-fi
-if [ -f /etc/txt2pho ] ; then
- source /etc/txt2pho
- fi
-if [ -f ~/.txt2phorc ] ; then
- source ~/.txt2phorc
- fi
-
- if [ "$voice" == "de1" ] || [ "$voice" == "de3" ] ; then
- txt2pho_voice="f"
- fi
-
- if [ "$voice" == "de2" ] ; then
- txt2pho_voice="m"
- fi
-
-
- if [ "$txt2pho_voice" == "" ] && [ "$INVENTORY" == "female" ] ; then
- txt2pho_voice="f"
- voice="de3"
- fi
-
- if [ "$txt2pho_voice" == "" ] && [ "$INVENTORY" == "male" ] ; then
- txt2pho_voice="m"
- voice="de2"
- fi
-
-
- if [ "$voicefrequenz" == "" ] && [ "$voice" == "de1" ] ; then
- voicefrequenz="16000"
- fi
- if [ "$voicefrequenz" == "" ] && [ "$voice" == "de2" ] ; then
- voicefrequenz="16000"
- fi
- if [ "$voicefrequenz" == "" ] && [ "$voice" == "de3" ] ; then
- voicefrequenz="22050"
- fi
- voice="$path_to_voice/$voice"
- if [ "$device" == "audio" ] ; then
- out_seq="-.$format | play - -t $format"
- else
- out_seq="$device"
- fi
-#arch=`uname -s`
-# case $arch in
-# Linux|FreeBSD)
-# arch_defines="-t ossdsp"
-# if [ -z "$device" ]; then
-# device="/dev/dsp"
-# fi
-# ;;
-# esac
-# preproc=""
-# $preproc want work at the moment
-
- if [ "$input" != "" ] ; then
- command="cat $input $pipefilt $numfilt $preproc | txt2pho -$txt2pho_voice | mbrola -v $volume -f $frequenzratio -t $timerratio -l \
- $voicefrequenz $voice - $out_seq" #-.$format | play - -t $format"
- fi
- if [ "$satz" != "" ] ; then
- command="echo $satz $pipefilt $numfilt $preproc | txt2pho -$txt2pho_voice | mbrola -v $volume -f $frequenzratio -t $timerratio -l \
- $voicefrequenz $voice - $out_seq" #-.$format | play - -t $format"
- fi
-
-eval $command
-
-exit
@@ -1,53 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/txt2pho/txt2pho-0.94.ebuild,v 1.5 2004/08/13 21:00:00 murray_b Exp $
-
-S=${WORKDIR}
-DESCRIPTION="Converter for german text to phonetics to use with mbrola and the script sag_was to make your computer speak"
-SRC_URI="http://www.ikp.uni-bonn.de/dt/forsch/phonetik/hadifix/txt2pho.zip"
-HOMEPAGE="http://www.ikp.uni-bonn.de/dt/forsch/phonetik/hadifix/HADIFIXforMBROLA.html"
-
-#DEPEND="app-accessibility/mbrola-de"
-
-IUSE=""
-
-SLOT="0"
-LICENSE="TXT2PHO"
-KEYWORDS="x86"
-
-src_compile (){
- cd ${WORKDIR}/txt2pho
- mkdir ${WORKDIR}/etc-temp
- sed 's,/home/tpo/txt2pho/data/,/usr/lib/txt2pho/,' txt2phorc > ${WORKDIR}/etc-temp/txt2pho
- tar xvzf numfilt-0.1.tar.gz
- cd numfilt-0.1
- cc -o numfilt numfilt.c
- cd ..
- unzip preproc.zip
- cd preproc
- mkdir obj
- make
-}
-
-src_install () {
-
- dobin txt2pho/txt2pho
- dobin txt2pho/numfilt-0.1/numfilt
- dobin txt2pho/pipefilt
- dobin txt2pho/preproc/preproc
- insinto /usr/lib/preproc
- doins txt2pho/preproc/Rules.lst
- doins txt2pho/preproc/Hadifix.abk
- doins txt2pho/preproc/MANUAL
- dodoc txt2pho/README
- insinto /usr/lib/txt2pho
- doins txt2pho/data/*
- insinto /etc
- doins ${WORKDIR}/etc-temp/txt2pho
- dobin ${FILESDIR}/sag_was
- einfo ""
- einfo "You can add your own abbreviations at /usr/lib/preproc/Hadifix.abk"
- einfo ""
-}
-
-

0 comments on commit e3b0a90

Please sign in to comment.