GithubHelp home page GithubHelp logo

tiagobras / audio-clip-extractor Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 9.0 3.94 MB

This utility allows one to cut multiple clips from a single or multiple audio files.

License: MIT License

Python 97.87% Shell 2.13%

audio-clip-extractor's People

Contributors

brunoxpeixoto avatar dependabot[bot] avatar tiagobras avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

audio-clip-extractor's Issues

What is the correct format for corresponding text file

I have my txt file in the following format
"<20.0> <26.256> [<Caitanya Mahāprabhu says to all the ācāryas...>]"
"<26.756> <34.893> [<Nityānanda Prabhu, Advaita Prabhu and Śrīvāsādi-gaura-bhakta-vṛnda,>]"
However, when I run the clip command, I get the following error
ValueError: Error: parsing '"<20.0> <26.256> [<Caitanya Mahāprabhu says to all the ācāryas...>]"'. Correct: " []"

What am I doing wrong?

How do you give it the output filename you want?

I looked at the example.py and i still have no idea how im supposed to give it the CLI options in python. i was able to figure out start and endtime, but im completely lost on how i tell it what the resulting filename should be - i tried specs = str(start) + " " + str(end) + " " + str(file) which didnt work, even though specs = str(start) + " " + str(end) worked while just using the default name of clip1.mp3 ...?

Oh, and using the default specs in example.py didnt work either, i didnt get any output that way... Which is kinda obvious, as the example.py uses
specs = '''
3.5 17 Winter is coming.
26 32.4 Summer child.
40 58.9 Hodor. Hodor. Hodor.
'''

and those arent valid windows file names (containing full stops)

Using Python 3.8 and audioclipextractor.py 0.3.0

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.