Giter VIP home page Giter VIP logo

medipack's People

Contributors

srbcheema1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

medipack's Issues

Add Gif of examples to readme

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.

Failure of setup due to missing dependencies.

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

ValueError: rate must be specified when data is a numpy array or list of audio samples.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.