1

I am looking for a way to "listen" to a logfile. This is what I am thinking of:

while tail -f logfile
    for every new line in the logfile 
    convert this line to an audio file
    stream the audio file 

How would I go about building this? I am using 32 bit Ubuntu 14.04.3 LTS.

snoop
  • 4,040
  • 9
  • 40
  • 58

1 Answers1

0

Example for your question:

tail -f logfile  | espeak -v en

More Text to Speech (TTS) like espeak programs and if you are looking for making audio .wav file examples can be fount at:

  1. Natural Sounding Text to Speech?

  2. How can I run a simple text to speech command?

snoop
  • 4,040
  • 9
  • 40
  • 58