how to play audio highlights his text in python

0 votes
Mar 27, 2020 in Python by anonymous
• 120 points
440 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,910 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,780 points
8,870 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
19,728 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,120 points
1,063 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
293 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 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 2,174 views
0 votes
0 answers
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,910 points
140 views
+1 vote
10 answers

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

Just for the record: >>> int('55063.000000') Traceback (most recent ...READ MORE

answered Aug 17, 2020 in Python by pakainfo
• 200 points
280,454 views