Giter VIP home page Giter VIP logo

audioslicer's Introduction

Hi! ๐Ÿ‘‹ I am Henry.

  • ๐Ÿ”ญ Iโ€™m currently working on:
    • Open Source Cybersecurity Tools;
    • Automating things with Powershell and Python;
    • Creating a personal web application for a friend, using React and serverless Architecture;
    • Implementing new NLP models for some specific tasks.

audioslicer's People

Contributors

henrymaas avatar

Stargazers

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

Watchers

 avatar  avatar

audioslicer's Issues

Backslashes Cause Syntax Error

In the input and output directories in the py file, there are backslashes which cause a syntax error. I fixed this by changing them to forward slashes. Making it raw didn't work for some reason.

Some Mistakes in Source code

Hi, I'm working with audio slicing recently. I always tried to use amplitude to slice the audio. Your idea is wonderful that energy is be used to slice audio. However, there are some mistakes made me a little confused.
There is a function naming GetTime() but not defined and a variable cut_samples be used before definition.
It is very kind of you to check it again, and it would help me a lot. Thank you!

Unable to specify split length

Hi,

I'm trying to specify the length of time each segment should be but for some reason the audio is only being split into 3 second segments.

Error

Splitting C:\Users\Slim\Desktop\vocals\blabla.wav where energy is below 0.01% for longer than 0.6s.
Traceback (most recent call last):
File "C:\Users\Slim\AudioSlicer\AudioSeg.py", line 93, in
max_amplitude = np.iinfo(samples.dtype).max
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Slim\anaconda3\envs\audioslicer\Lib\site-packages\numpy\core\getlimits.py", line 677, in init
raise ValueError("Invalid integer data type %r." % (self.kind,))
ValueError: Invalid integer data type 'f'.

help

SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape

How to set the Silence_Threshold ?

Could someone explain how to set the right threshold for the silence?

It says "silence_threshold = 1e-4" in the script but i have no clue what that stands for?

Some sort of guide would be really helpful, for example:

1e-4 = -10db
1e-3 = -20db
1e-2 = -30db

etc.
Thanks!

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.