how to play audio highlights his text in python

0 votes
Mar 27, 2020 in Python by anonymous
• 120 points
1,495 views

1 answer to this question.

0 votes

Hey,

You can split the audio files into chunks based on the silence. So, you can process the file sentence by sentence and concatenate them to get the result. For that, you need to install some libraries mentioned below:

Pydub: sudo pip3 install pydub
Speech recognition: sudo pip3 install SpeechRecognition.

If you need the code that how to process this, you can revert back. But first most you need to have these libraries installed.

answered Mar 27, 2020 by Gitika
• 65,770 points
yes i need a source code

Related Questions In Python

+2 votes
3 answers

How can I play an audio file in the background using Python?

down voteacceptedFor windows: you could use  winsound.SND_ASYNC to play them ...READ MORE

answered Apr 4, 2018 in Python by charlie_brown
• 7,720 points
13,531 views
0 votes
2 answers

How do play audio (playsound) in background of Python script?

There’s an optional second argument, block, which ...READ MORE

answered Jun 8, 2019 in Python by anonymous
27,654 views
0 votes
1 answer

How to Convert usual text to executable machine code in python

what you are looking for is a ...READ MORE

answered Oct 1, 2018 in Python by Priyaj
• 58,020 points
2,594 views
0 votes
0 answers

How to read lines from compressed text files in Python

Is it easy to read a line ...READ MORE

Dec 27, 2018 in Python by Anirudh
• 2,090 points
968 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,422 views
0 votes
1 answer
0 votes
1 answer

How to print colored text in Python?

This somewhat depends on what platform you ...READ MORE

answered Dec 17, 2020 in Python by Gitika
• 65,770 points
1,479 views
+2 votes
10 answers

How to fix this? ValueError: invalid literal for int() with base 10 error in Python

The following are totally acceptable in python: passing ...READ MORE

answered Nov 16, 2018 in Python by Nymeria
• 3,560 points
409,172 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP