how to play audio highlights his text in python?

0 votes
Mar 27 in Python by anonymous
• 120 points
173 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 by Gitika
• 29,170 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 3, 2018 in Python by charlie_brown
• 7,760 points
4,572 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 7, 2019 in Python by anonymous
10,670 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
• 57,530 points
780 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,080 points
137 views
+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 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 939 views
0 votes
0 answers
0 votes
1 answer
+1 vote
1 answer

Want to know how to write paragraph on image using pillow python?

Hi, @Shantanu, You can make use of the ...READ MORE

answered Apr 14 in Python by Gitika
• 29,170 points
75 views