Skip to content

Instantly share code, notes, and snippets.

View aselvan's full-sized avatar
🏠
Working from home

Arul Selvan aselvan

🏠
Working from home
View GitHub Profile
@michalfapso
michalfapso / speak.pl
Last active January 10, 2024 00:52
Google Text-to-Speech script for processing longer texts
#!/usr/bin/perl
#--------------------------------------------------
# Usage:
# ./speak.pl en input.txt output.mp3
#
# Prerequisites:
# sudo apt-get install libwww-perl libhtml-tree-perl sox libsox-fmt-mp3
#
# Compiling sox: