https://github.com/dectalk/dectalk

A handy Text to Speech tool used by Stephen Hawking.

Hive setup

sudo apt install build-essential libasound2-dev libpulse-dev libgtk2.0-dev unzip git
git clone https://github.com/dectalk/dectalk
cd dectalk/src
autoconf -si
./configure
make -j
cd ../dist
./say "hello I am a robot. beep boop"

https://scruss.com/blog/2023/05/30/a-terrible-guide-to-singing-with-dectalk/

Build output from my WSL box (worked)

gcc -o ../build/5.15.146.1-microsoft-standard-WSL2/us/release/udic_us ../build/5.15.146.1-microsoft-standard-WSL2/us/release/link/udic_com.o ../build/5.15.146.1-microsoft-standard-WSL2/us/release/link/alphabet.o  -ldl -L/home/dayne/.local/share/dectalk/src/dapi/build/dectalk/5.15.146.1-microsoft-standard-WSL2/us/release -L/home/dayne/.local/share/dectalk/src/dapi/build/../../dtalkml/build/5.15.146.1-microsoft-standard-WSL2/us/release -Wl,--rpath,\$ORIGIN/lib/ -Wl,--rpath,\$ORIGIN/../lib/
make[2]: Leaving directory '/home/dayne/.local/share/dectalk/src/udicunix/src'
make[1]: Leaving directory '/home/dayne/.local/share/dectalk/src'
make[2]: Leaving directory '/home/dayne/.local/share/dectalk/src/udicunix/src'
make[1]: Leaving directory '/home/dayne/.local/share/dectalk/src'
mkdir -p ../dist/lib ../dist/tools ../dist/dic ../dist/bitmaps
install -m 0755 dapi/build/dectalk/5.15.146.1-microsoft-standard-WSL2/*/release/*.so ../dist/lib/
install -m 0755 dapi/build/dic/5.15.146.1-microsoft-standard-WSL2/*/release/dic* ../dist/tools/
install -m 0644 dapi/build/dic/5.15.146.1-microsoft-standard-WSL2/*/release/*.dic ../dist/dic/
install -m 0755 dtalkml/build/5.15.146.1-microsoft-standard-WSL2/us/release/libtts.so ../dist/lib/
install -m 0755 samplosf/build/dtsamples/5.15.146.1-microsoft-standard-WSL2/us/release/say ../dist/
install -m 0755 samplosf/build/dtsamples/5.15.146.1-microsoft-standard-WSL2/us/release/aclock ../dist/
install -m 0755 samplosf/build/dtsamples/5.15.146.1-microsoft-standard-WSL2/us/release/dtmemory ../dist/
install -m 0755 samplosf/build/dtsamples/5.15.146.1-microsoft-standard-WSL2/us/release/tunecheck ../dist/tools/tunecheck_us
install -m 0755 samplosf/build/dtsamples/5.15.146.1-microsoft-standard-WSL2/sp/release/tunecheck ../dist/tools/tunecheck_sp
install -m 0755 samplosf/build/dtsamples/5.15.146.1-microsoft-standard-WSL2/uk/release/tunecheck ../dist/tools/tunecheck_uk
install -m 0755 samplosf/build/dtsamples/5.15.146.1-microsoft-standard-WSL2/fr/release/tunecheck ../dist/tools/tunecheck_fr
install -m 0755 samplosf/build/dtsamples/5.15.146.1-microsoft-standard-WSL2/gr/release/tunecheck ../dist/tools/tunecheck_gr
install -m 0755 samplosf/build/dtsamples/5.15.146.1-microsoft-standard-WSL2/la/release/tunecheck ../dist/tools/tunecheck_la
install -m 0755 udicunix/build/5.15.146.1-microsoft-standard-WSL2/*/release/udic* ../dist/tools/
#install -m 0644 dapi/src/dic/dtalk_fl_gr.dic ../dist/dic/
install -m 0755 samplosf/build/dtsamples/5.15.146.1-microsoft-standard-WSL2/*/release/say_demo_* ../dist/tools/
install -m 0755 samplosf/build/dtsamples/5.15.146.1-microsoft-standard-WSL2/us/release/dump_vdf ../dist/tools/
install -m 0755 samplosf/build/dtsamples/5.15.146.1-microsoft-standard-WSL2/us/release/mfg_load ../dist/tools/
install -m 0755 samplosf/build/speak/5.15.146.1-microsoft-standard-WSL2/us/release/gspeak ../dist/
install -m 0644 samplosf/src/speak/bitmaps/* ../dist/bitmaps/
install -m 0755 samplosf/build/windict/5.15.146.1-microsoft-standard-WSL2/us/release/windic ../dist/
install -m 0644 kitosf/kitbld/README ../dist/
mkdir -p ../dist/src/DECtalk/dtsamples ../dist/src/DECtalk/gspeak
install -m 0644 samplosf/src/dtsamples/aclock.c ../dist/src/DECtalk/dtsamples/
install -m 0644 samplosf/src/dtsamples/say.c ../dist/src/DECtalk/dtsamples/
install -m 0644 samplosf/src/dtsamples/dtmemory.c ../dist/src/DECtalk/dtsamples/
install -m 0644 samplosf/src/speak/gspeak.c ../dist/src/DECtalk/gspeak/
install -m 0644 dapi/src/dic/user.tab ../dist/src/DECtalk/dtsamples/
grep -v '^#' samplosf/src/data/birthday.txt > ../dist/src/DECtalk/dtsamples/birthday.txt
grep -v '^#' samplosf/src/data/demo.txt > ../dist/src/DECtalk/dtsamples/demo.txt
grep -v '^#' samplosf/src/data/startup.txt > ../dist/src/DECtalk/dtsamples/startup.txt
grep -v '^#' samplosf/src/data/noglass.txt > ../dist/src/DECtalk/dtsamples/noglass.txt
mkdir -p ../dist/include/dtk
install -m 0644 dapi/src/api/ttsapi.h ../dist/include/dtk/
install -m 0644 dapi/src/osf/dtmmedefs.h ../dist/include/dtk/
install -m 0644 dapi/src/include/l_*_ph.h ../dist/include/dtk/
mkdir -p ../dist/doc/DECtalk/ps ../dist/doc/DECtalk/pdf ../dist/doc/DECtalk/man/man1 ../dist/doc/DECtalk/man/man3
install -m 0644 docsosf/ps/dtk_install_guide.ps ../dist/doc/DECtalk/ps/
install -m 0644 docsosf/ps/dtk_prog_guide.ps ../dist/doc/DECtalk/ps/
install -m 0644 docsosf/ps/dtk_reference_guide.ps ../dist/doc/DECtalk/ps/
install -m 0644 docsosf/pdf/dtk_install_guide.pdf ../dist/doc/DECtalk/pdf/
install -m 0644 docsosf/pdf/dtk_prog_guide.pdf ../dist/doc/DECtalk/pdf/
install -m 0644 docsosf/pdf/dtk_reference_guide.pdf ../dist/doc/DECtalk/pdf/
install -m 0644 docsosf/man/man1/*.1 ../dist/doc/DECtalk/man/man1/
install -m 0644 docsosf/man/man3/*.3 ../dist/doc/DECtalk/man/man3/
mkdir -p ../dist/doc/DECtalk/html
install -m 0644 docsosf/html/dectalk.htm ../dist/doc/DECtalk/html/index.html
install -m 0644 docsosf/html/* ../dist/doc/DECtalk/html/
echo "licenses:YV808w008IQ0" > ../dist/DECtalk.conf
echo "licensepassword:kw60P7Y0bGRNB1@W3L@" >> ../dist/DECtalk.conf
echo "US_dict:dic/dtalk_us.dic" >> ../dist/DECtalk.conf
echo "UK_dict:dic/dtalk_uk.dic" >> ../dist/DECtalk.conf
echo "SP_dict:dic/dtalk_sp.dic" >> ../dist/DECtalk.conf
echo "GR_dict:dic/dtalk_gr.dic" >> ../dist/DECtalk.conf
echo "LA_dict:dic/dtalk_la.dic" >> ../dist/DECtalk.conf
echo "FR_dict:dic/dtalk_fr.dic" >> ../dist/DECtalk.conf
echo "US_udict:udict_us.dic" >> ../dist/DECtalk.conf
echo "UK_udict:udict_uk.dic" >> ../dist/DECtalk.conf
echo "SP_udict:udict_sp.dic" >> ../dist/DECtalk.conf
echo "GR_udict:udict_gr.dic" >> ../dist/DECtalk.conf
echo "LA_udict:udict_la.dic" >> ../dist/DECtalk.conf
echo "FR_udict:udict_fr.dic" >> ../dist/DECtalk.conf
#echo "GR_fdict:dic/dtalk_fl_gr.dic" >> ../dist/DECtalk.conf
echo "Speak_xpm_dir:bitmaps/" >> ../dist/DECtalk.conf
echo "Default_lang:us" >> ../dist/DECtalk.conf
echo "LANG:us,US English" >> ../dist/DECtalk.conf
echo "LANG:uk,UK English" >> ../dist/DECtalk.conf
echo "LANG:sp,Spanish" >> ../dist/DECtalk.conf
echo "LANG:gr,German" >> ../dist/DECtalk.conf
echo "LANG:la,Latin American" >> ../dist/DECtalk.conf
echo "LANG:fr,French" >> ../dist/DECtalk.conf
mkdir -p ../dist/usr/bin/
ln -sf ../dist/gspeak ../dist/usr/bin/gspeak
ln -sf ../dist/say ../dist/usr/bin/say
ln -sf ../dist/windic ../dist/usr/bin/windic
ln -sf ../dist/dtmemory ../dist/usr/bin/dtmemory
ln -sf ../dist/aclock ../dist/usr/bin/aclock
ln -sf ../dist/tools/* ../dist/usr/bin/