Introduction: Ereader Is Optional by Using Your Portable Music Player and Linux.

About: Bytesize articles instead of a trilogy in one post.

There are many free ebooks (use you favorite web search engine to search for ebooks or .pdf)  out there and e-readers are really nice but there has to be a better way. I just can not see spending hundreds of dollars just to read a book. What I propose is to listen to your books instead of reading them.  This will not work with all ereader (aka pdf) files.  Most free ones though should. What is also nice is that you can make your own notes then save them to a text file for listening later. You can even make your own podio books. Possible way of making extra money if they sell.

Note: this instructable required the use of the command line. which you can find at Applications menu > Accessories > Terminal.

Step 1: Adding a Bit of Software (with Ubuntu).

You can go to the Ubuntu Software center and install xpdf.
You can do the same with the Synaptic package manager.

Or use the old command line with:
$ sudo apt-get install xpdf

xpdf will be one of two workhorses we will use.
text2wave is another workhorse, but it comes standard and no need to install.  You may want to look at the documentation for text2wave with man or gman (has to be installed).

Step 2: Creating a Text File From the Pdf.

Go to the command line and change to the directory where the pdf file is. I save mine to root to make it easier.

$ pdftotext inputfile.pdf outputfile.txt

# Optional: split the text file into smaller portions if you want to for manageable listening.

Test.pdf is the pdf file I created with openoffice. Just wanted to create a small pdf file to deal with for this demo.

So for me I typed.
$ pdftotext test.pdf test.txt

This command created an additional file from the pdf file into what is known as a non-formatted plain text or ascii file. This was quick for such a small pdf file. larger files will take longer.

To make sure a file was created , so I displayed the output file.

cat test.txt.

So far so good.

Step 3: Text to Speech!

Now we will convert the text file to a music file. the .wav format is usable by a lot of portable players.

Command format:
$ text2wave < outputfile.txt > file.wav

I typed:
$ text2wave < test.txt > test.wav

If you get an error, you can uusally but not always ignore it.

Now you want to test if the text was converted to a music file; Make sure the speakers are on and the sound is at a reasonable level.

I typed:

$ aplay test.wav

Viola I heard the the converted text file as speech!!!!

You may want to copy the file over to the desktop to make it easier to find.

$ cp test.wav ~/Desktop/.

Step 4: Put It on the Music Player.

Now drag and drop you wav file upon your music player. Play the wav file as you would any other music file. Now you can listen to your ebook and have your eyes free to enjoy the view.

Good luck!