Giter VIP home page Giter VIP logo

Comments (5)

lagmoellertim avatar lagmoellertim commented on May 19, 2024

Hey, if I understood you right, unsilenced already has an argument for that:

parser.add_argument("-st", "--stretch-time", type=float, default=0.25, help="Time (seconds) that should be added to audible intervals and removed from silent " "intervals")

Here, before an audible interval starts, 250ms of the previous considered silent interval is made audible, and 250ms of the interval after the audible interval is considered audible. You can change the the time added to the audible intervals by changing the -st argument, it's value is given in seconds.

from unsilence.

Marstead avatar Marstead commented on May 19, 2024

Thanks for the help! That sounds like what I was looking for with this feature request; I'll test it for some files later today and see if it fixes, then I should be able to comment close.

Stretch-time is a single buffer for both the transition from silent to audible and back right? I could see reasons why you might want a separate argument for both.

from unsilence.

lagmoellertim avatar lagmoellertim commented on May 19, 2024

Stretch-time basically adds a buffer of x seconds before and after any audible inverval (maybe I should rename the argument, buffer is much more meaningfull than stretch-time). What's the reason you want to seperate the timings for each?

from unsilence.

Marstead avatar Marstead commented on May 19, 2024

My request for a separate buffer might be solved by the -stt argument you mentioned in my other feature request thread. I'll do some testing today and see if that covers my use case; it's possible the existing -st buffer will work when combined with -stt.

from unsilence.

Marstead avatar Marstead commented on May 19, 2024

Yep, the -stt argument solved my use case. Thank you for this! This tool is saving me hundreds upon hundreds of hours of what used to be dreadful manual editing work.

from unsilence.

Related Issues (20)

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.