diff --git a/PyPI/setup.cfg b/PyPI/setup.cfg index 846d6d5..3c5def8 100644 --- a/PyPI/setup.cfg +++ b/PyPI/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = guan -version = 0.0.99 +version = 0.0.101 author = guanjihuan author_email = guanjihuan@163.com description = An open source python package diff --git a/PyPI/src/guan/__init__.py b/PyPI/src/guan/__init__.py index 0e189db..b8a85d3 100644 --- a/PyPI/src/guan/__init__.py +++ b/PyPI/src/guan/__init__.py @@ -2,7 +2,7 @@ # With this package, you can calculate band structures, density of states, quantum transport and topological invariant of tight-binding models by invoking the functions you need. Other frequently used functions are also integrated in this package, such as file reading/writing, figure plotting, data processing. -# The current version is guan-0.0.99, updated on July 06, 2022. +# The current version is guan-0.0.101, updated on July 06, 2022. # Installation: pip install --upgrade guan @@ -327,11 +327,11 @@ links = guan.get_links_from_pdf(pdf_path, link_starting_form='') content = guan.pdf_to_text(pdf_path) -guan.str_to_audio(str='hello world', rate=125, voice=1, read=1, save=0, print_text=0) +guan.str_to_audio(str='hello world', filename='str', rate=125, voice=1, read=1, save=0, compress=0, bitrate='16k', print_text=0) -guan.txt_to_audio(txt_path, rate=125, voice=1, read=1, save=0, print_text=0) +guan.txt_to_audio(txt_path, rate=125, voice=1, read=1, save=0, compress=0, bitrate='16k', print_text=0) -guan.pdf_to_audio(pdf_path, rate=125, voice=1, read=1, save=0, print_text=0) +guan.pdf_to_audio(pdf_path, rate=125, voice=1, read=1, save=0, compress=0, bitrate='16k', print_text=0) guan.compress_mp3(mp3_path, output_filename='a.mp3', bitrate='16k')