tiagobras / audio-clip-extractor Goto Github PK
View Code? Open in Web Editor NEWThis utility allows one to cut multiple clips from a single or multiple audio files.
License: MIT License
This utility allows one to cut multiple clips from a single or multiple audio files.
License: MIT License
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?
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
Hello.
It's a great code. I was wondering how to use it to extract clip from multiple audio files with multiple .txt files in one or more folder ?
Thanks in advance
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.