Isdnlog-plugin

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Links)
(Links: merge)
Zeile 124: Zeile 124:
  
 
==Links==
 
==Links==
{|
+
# [http://www.isdn4linux.de Isdn4k-utils]
| [1]
+
# [http://www.underbit.com/products/mad MAD (M)PEG (A)udio (D)ecoder Homepage]
| http://www.isdn4linux.de
+
# [http://www.zip.com.au/~erikd/libsndfile Libsndfile]
| isdn4k-utils
+
# [http://tcts.fpms.ac.be/synthesis/mbrola.html MBROLA synthesizer]
|-
+
# [http://www.ikp.uni-bonn.de/dt/forsch/phonetik/hadifix/HADIFIXforMBROLA.html Txt2pho - German TTS front end]
| [2]
+
# [http://www.akool.homepage.t-online.de/isdnlog/index.html Homepage des Plugins]
| http://www.underbit.com/products/mad
+
| (M)PEG (A)udio (D)ecoder Homepage
+
|-
+
| [3]
+
| http://www.zip.com.au/~erikd/libsndfile
+
| Homepage -> libsndfile
+
|-
+
| [4]
+
| http://tcts.fpms.ac.be/synthesis/mbrola.html
+
| MBROLA synthesizer
+
|-
+
| [5]
+
| http://www.ikp.uni-bonn.de/dt/forsch/phonetik/hadifix/HADIFIXforMBROLA.html
+
| Txt2pho - German TTS front end
+
|-
+
| [6]
+
| http://www.akool.homepage.t-online.de/isdnlog/index.html
+
| Homepage des Plugins
+
|}[[Kategorie:Plugins]]
+
  
 +
[[Kategorie:Plugins]]
 
{{i18n|isdnlog-plugin}}
 
{{i18n|isdnlog-plugin}}

Version vom 4. April 2006, 11:18 Uhr

Inhaltsverzeichnis

Beschreibung

Autor: Andreas Kool

Dieses Plugin erhält von einem irgendwo im eigenen LAN laufenden isdnlog Informationen über Telefonanrufe, und zeigt diese dann auf dem Fernseher an.

Bilder

Anruf von ...

Hardwareanforderungen

  • ISDN Karte oder ISDN Router

Softwareanforderungen

  • libmad
  • libsndfile
  • isdn4k-utils
  • speech-system

Installation

Das Plugin ist vorher zu entpacken/verlinken!

  • libmad, libsndfile, isdn4k-utils
cd $SOURCEDIR
tar xvzf libmad-<VERSION>.tar.gz
cd libmad-<VERSION>
./configure --prefix=/usr/local
make
make install
ldconfig
cd -

tar xvzf libsndfile-<VERSION>.tar.gz
cd libsndfile-<VERSION>
./configure --prefix=/usr/local
make
make install
ldconfig
cd -

tar xvfj isdn4k-utils.<VERSION>.tar.bz2
cd isdn4k-utils
cp $SOURCEDIR/VDR/PLUGINS/src/isdnlog/examples/.config .
make menuconfig # <EXIT> -> <YES>
make

Im Makefile des Plugin eine kleine Änderung. (nur bei --prefix=/usr/local)

- LIB=$(ISDNLOG)/connect/*.o $(ISDNLOG)/../lib/libisdn.a -lmad -lsndfile
+ LIB=$(ISDNLOG)/connect/*.o $(ISDNLOG)/../lib/libisdn.a
+ LIBS     = -lmad -lsndfile

-	$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIB) -o $@
+	$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) $(LIB) -o $@

Folgendes ist jedoch zwingend.

- ISDNLOG=isdn4k-utils/isdnlog
+ ISDNLOG=$SOURCEDIR/isdn4k-utils/isdnlog
  • languages and voices pack
unzip de3-000307.zip -d /usr/local/share/speech
  • speech synthesizer
unzip mbr301h.zip -d /usr/local/bin
ln -s /usr/local/bin/mbrola-linux-i386 /usr/local/bin/mbrola
  • txt2pho
unzip txt2pho.zip -d /usr/local/share
cd /usr/local/share/txt2pho
cp txt2phorc /etc/txt2pho
unzip preproc.zip
cd preproc
mkdir obj
make
cp preproc ../txt2pho ../pipefilt /usr/local/bin
cp Rules.lst Hadifix.abk ../data

Die /etc/txt2pho ist anzupassen.

DATAPATH=/usr/local/share/txt2pho/data/
INVPATH=/usr/local/share/txt2pho/data/
INVENTORY=female

Vorm übersetzen des Plugins, noch eine Änderung in der isdnlog.c.

- sprintf(cmd, "echo \"%s\" | /video/mbrola/preproc /video/mbrola/Rules.lst /video/mbrola/Hadifix.abk | /video/mbrola/txt2pho -f | /video/mbrola/mbrola-linux-i386 /video/mbrola/de3 - -.au > %s",
+ sprintf(cmd, "echo \"%s\" | /usr/local/bin/preproc /usr/local/share/txt2pho/data/Rules.lst /usr/local/share/txt2pho/data/Hadifix.abk | /usr/local/bin/txt2pho -f | /usr/local/bin/mbrola-linux-i386 /usr/local/share/speech/de3/de3 - -.au > %s",


Probleme

  • mit "deaktivierter" Sprachausgabe bleibt die OSD-Anzeige nur fuer einige Millisekunden stehen.

Tipps

Alternativen

Siehe: svdrp-isdnanruf


Links

  1. Isdn4k-utils
  2. MAD (M)PEG (A)udio (D)ecoder Homepage
  3. Libsndfile
  4. MBROLA synthesizer
  5. Txt2pho - German TTS front end
  6. Homepage des Plugins
In anderen Sprachen