Table of contents
- 1.) What is Audio Book?
- 2.) Why audio books are used?
- 3.) What are the different types of Audiobooks available?
- 4.)What are the different platforms available to listen to audiobooks?
- 5.) Here is the code of my project.
- Quote of the day:
- “I learned this, at least, by my experiment; that if one advances confidently in the direction of his dreams, and endeavors to live the life which he has imagined, he will meet with a success unexpected in common hours.” —Henry David Thoreau
Hello techie's i hope every one are doing great, today we are going to see about how to make our own Audio Books using python.
1.) What is Audio Book?
An audiobook is a recording of someone reading a book out loud. It's like having a storyteller telling a story to you, but instead of a person who tells the story, you can listen to the recording on a device like a phone, tablet, or computer.
- It's a great way to enjoy a story when you can't read it yourself.
2.) Why audio books are used?
Audiobooks are used for a variety of reasons. Some people use them to enjoy a story when they can't read it themselves.
Others use them to improve their reading skills or to help with learning a new language.
They're also a great way for people who have visual impairments to enjoy books, since they can listen to the story instead of reading it. Additionally, audio books are a great way to pass time, improve vocabulary and comprehension skills, and can be used as a form of entertainment.
With these audiobooks, we can save time and do our other work at the same time.
3.) What are the different types of Audiobooks available?
There are several different types of audiobooks, including:
Fiction audiobooks: These are recordings of stories or novels that are made up, like mystery or fantasy books.
Non-fiction audiobooks: These are recordings of books that give information about real things, like history, science, or biographies.
Educational audiobooks: These are recordings of books that are used to teach people about a specific subject or skill.
Children's audiobooks: These are recordings of books that are written for children, such as picture books, early readers, and chapter books.
Performance audiobooks: These are recordings of books that are performed by actors, comedians, or other performers, which adds an extra layer of entertainment to the listening experience.
Abridged audiobooks: These are the shorter version of the original books, usually created to save time while still conveying the essence of the story.
Unabridged audiobooks: These are the full version of the original books, read word-for-word.
4.)What are the different platforms available to listen to audiobooks?
There are several audio book listening apps available, including:
Audible: Owned by Amazon, Audible offers a wide selection of audiobooks, including bestsellers, new releases, and exclusives. It also offers a subscription service for unlimited listening.
Libby: Developed by Overdrive, Libby is a free app that allows users to borrow audiobooks and e-books from their local library.
Spotify: Spotify offers a growing selection of audiobooks, which can be found in the "Audiobooks" category in the app's browse section.
Google Play Books: Google Play Books offers a large selection of audiobooks that can be purchased or rented.
Apple Books: Apple Books (formerly known as iBooks) offers a wide selection of audiobooks that can be purchased or rented through the app.
Kobo: Kobo offers a wide selection of audiobooks that can be purchased or rented through the app.
Scribd: Scribd offers a subscription service that includes access to a large selection of audiobooks, e-books, and other types of content.
Hoopla: Hoopla is a digital media platform that allows users to borrow audiobooks and e-books from their local library.
5.) Here is the code of my project.
import pyttsx3
import PyPDF2
engine = pyttsx3.init()
book = open('the journey of two wings (1).pdf','rb')
pdf_reader = PyPDF2.PdfFileReader(book)
num_pages = pdf_reader.numPages
play = pyttsx3.init()
print('playing audio book')
rate = engine.getProperty('rate')
print (rate) #printing current voice rate
engine.setProperty('rate', 130) # setting up new voice rate
voices = engine.getProperty('voices') #getting details of current voice
engine.setProperty('voice', voices[1].id) # 1 for female
for num in range(0, num_pages):
page = pdf_reader.getPage(num)
data = page.extractText()
play.say(data)
play.runAndWait()
That's it for today guys i hope that it will help u in your projects.
Follow Me On :
Twitter: https://twitter.com/SMDSohail77
Quote of the day:
“I learned this, at least, by my experiment; that if one advances confidently in the direction of his dreams, and endeavors to live the life which he has imagined, he will meet with a success unexpected in common hours.” —Henry David Thoreau