ALT Linux repos
Group :: Sound
RPM: ru_tts
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: ru_tts
Version: 20081211
Release: alt0.M41.1
Packager: Michael Pozhidaev <msp at altlinux.ru>
Summary: %name is a russian text-to-speech tool
Summary(ru_RU.UTF-8): Синтезатор русской речи
Group: Sound
License: non-free
Url: ftp://ftp.rakurs.spb.ru:/pub/Goga/projects/speech-interface/
Requires: tts-base
Requires: %name-lexicon
BuildRequires: tts-devel
Source: %name.static.bz2
Source1: lexicon.bz2
Source2: permission.txt
Source3: %name.voiceman
%description
%name is a speech synthesizer for russian language written by Igor B. Poretsky.
It produces speech output with stress processing. Lexicon file is stored as /usr/share/ru_tts/lexicon.
Text input should be sent to the stdin of ru_tts in koi8-r encoding. The format of the output is 10000, 8but mono.
Example of usage with OSS:
iconv -t koi8-r | ru_tts -s /usr/share/ru_tts/lexicon | sox -t raw -r 10000 -b -s -c 1 - -t ossdsp /dev/dsp
%description -l ru_RU.UTF-8
ru_tts - это синтезатор русской речи, разработанный Игорем
Порецким. ru_tts произносит слова с расстановкой ударений, используя
словарь, который разположенв /usr/share/ru_tts/lexicon. Текст для
обработки должен поступать на стандартный поток ввода в кодировке koi8-r, и речь будет
синтезирована как PCM данные в формате 8-бит, моно с частотой
дискретизации 10000Гц.
Пример вызова для воспроизведения через OSS:
iconv -t koi8-r | ru_tts -s /usr/share/ru_tts/lexicon | sox -t raw -r 10000 -b -s -c 1 - -t ossdsp /dev/dsp
%package lexicon
Summary: Lexicon file for %name speech synthesizer
Summary(ru_RU.UTF-8): Словарь ударений для синтезатора ru_tts
License: non-free
Group: Sound
BuildArch: noarch
%description lexicon
This package contains dictionary for stress processing.
%description -l ru_RU.UTF-8 lexicon
Этот пакет содержит словарь ударений для синтезатора русской речи ru_tts.
%prep
%build
cp %SOURCE2 ./permission.txt
%install
install -d %buildroot%_bindir
bunzip2 < %SOURCE0 > %buildroot%_bindir/%name
install -d %buildroot%_datadir/ru_tts
bunzip2 < %SOURCE1 > %buildroot%_datadir/ru_tts/lexicon
chmod 755 %buildroot%_bindir/%name
install -pD -m 644 %SOURCE3 %buildroot%_ttsdir/%name.voiceman
%files
%_bindir/*
%_ttsdir/*
%doc permission.txt
%files lexicon
%_datadir/ru_tts
%changelog
…
Full changelog you can see here
Version: 20081211
Release: alt0.M41.1
Packager: Michael Pozhidaev <msp at altlinux.ru>
Summary: %name is a russian text-to-speech tool
Summary(ru_RU.UTF-8): Синтезатор русской речи
Group: Sound
License: non-free
Url: ftp://ftp.rakurs.spb.ru:/pub/Goga/projects/speech-interface/
Requires: tts-base
Requires: %name-lexicon
BuildRequires: tts-devel
Source: %name.static.bz2
Source1: lexicon.bz2
Source2: permission.txt
Source3: %name.voiceman
%description
%name is a speech synthesizer for russian language written by Igor B. Poretsky.
It produces speech output with stress processing. Lexicon file is stored as /usr/share/ru_tts/lexicon.
Text input should be sent to the stdin of ru_tts in koi8-r encoding. The format of the output is 10000, 8but mono.
Example of usage with OSS:
iconv -t koi8-r | ru_tts -s /usr/share/ru_tts/lexicon | sox -t raw -r 10000 -b -s -c 1 - -t ossdsp /dev/dsp
%description -l ru_RU.UTF-8
ru_tts - это синтезатор русской речи, разработанный Игорем
Порецким. ru_tts произносит слова с расстановкой ударений, используя
словарь, который разположенв /usr/share/ru_tts/lexicon. Текст для
обработки должен поступать на стандартный поток ввода в кодировке koi8-r, и речь будет
синтезирована как PCM данные в формате 8-бит, моно с частотой
дискретизации 10000Гц.
Пример вызова для воспроизведения через OSS:
iconv -t koi8-r | ru_tts -s /usr/share/ru_tts/lexicon | sox -t raw -r 10000 -b -s -c 1 - -t ossdsp /dev/dsp
%package lexicon
Summary: Lexicon file for %name speech synthesizer
Summary(ru_RU.UTF-8): Словарь ударений для синтезатора ru_tts
License: non-free
Group: Sound
BuildArch: noarch
%description lexicon
This package contains dictionary for stress processing.
%description -l ru_RU.UTF-8 lexicon
Этот пакет содержит словарь ударений для синтезатора русской речи ru_tts.
%prep
%build
cp %SOURCE2 ./permission.txt
%install
install -d %buildroot%_bindir
bunzip2 < %SOURCE0 > %buildroot%_bindir/%name
install -d %buildroot%_datadir/ru_tts
bunzip2 < %SOURCE1 > %buildroot%_datadir/ru_tts/lexicon
chmod 755 %buildroot%_bindir/%name
install -pD -m 644 %SOURCE3 %buildroot%_ttsdir/%name.voiceman
%files
%_bindir/*
%_ttsdir/*
%doc permission.txt
%files lexicon
%_datadir/ru_tts
%changelog
…
Full changelog you can see here