srbcheema1 / medipack Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Install this software by sudo python3 -m pip install medipack
and run all the commands given in readme and make a Gif of it. and add all those Gif images in the extra folder.
For now, don't add gif links to readme. you can take an idea from PR #6 it was a really cool PR.
There is a bug in setup.py that makes it difficult to install on systems without full dependencies installed before running the setup.
the main reason is the importing of the from medipack.main import dependency_map
.
due to this line the main.py file is being loaded which is dependent on these dependencies and causing problem. so we should not import anything buggy( or something that can cause breakage especially crsh or exit()) in setup.py
execute
medipack trim 'extract_audio.mp3' -s '00:00' -t '00:09' -o 'trim_s_t.mp3'
result
Traceback (most recent call last):
File "/usr/local/bin/medipack", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/medipack/main.py", line 69, in main
Meditor.aaudio_cutter(inp,trimmer,out)
AttributeError: type object 'Meditor' has no attribute 'aaudio_cutter'. Did you mean: 'audio_cutter'?
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
[<ipython-input-10-d5f5b9eceb4f>](https://localhost:8080/#) in <cell line: 3>()
1 get_ipython().system("medipack trim 'extract_audio.mp3' -s '00:00' -t '00:09' -o 'trim_s_t.mp3'")
2
----> 3 IPython.display.Audio('trim_s_t.mp3')
[/usr/local/lib/python3.10/dist-packages/IPython/lib/display.py](https://localhost:8080/#) in __init__(self, data, filename, url, embed, rate, autoplay, normalize, element_id)
114 if self.data is not None and not isinstance(self.data, bytes):
115 if rate is None:
--> 116 raise ValueError("rate must be specified when data is a numpy array or list of audio samples.")
117 self.data = Audio._make_wav(data, rate, normalize)
118
ValueError: rate must be specified when data is a numpy array or list of audio samples.
best regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.