Skip to content

tamagusko/paper2mp3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Converts a paper to mp3

Simple implementation to convert a paper (pdfile) to mp3.

Requeriments

Use Python 3.7 or higher.

Install the required packages with pip install -r requirements.txt

Usage

In file paper2mp3.py: edit path and raw_file on line 24-25

Run file with: python -u paper2mp3.py

Out: paper_audio.mp3

Examples

Source:
paper.pdf

Output:
paper_audio.mp3

References:

[1] Function to convert pdf to text. Retrieved from: https://pdfminersix.readthedocs.io/en/latest/tutorial/composable.html
[2] Function to convert text to mp3. Retrieved from: https://github.com/kjanjua26/HearPapers


Please direct bug reports and pull requests to the GitHub page. To contact me directly, send email to tamagusko@gmail.com.

-- Tiago

License

MIT (c) 2020, Tiago Tamagusko.

About

[Small Project] Converts a paper (pdf) to mp3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages