Git Product home page Git Product logo

Comments (5)

CoffeeFlux avatar CoffeeFlux commented on June 6, 2024

Hey, not sure I understand the bug - could you label the axes on your graph?

from sushi.

dead avatar dead commented on June 6, 2024

The bug is that the median is zero for both max and min values, and since both values are zero the clipping basically zeroes all the data from the audio.

The graphs are a simple visualization from the audio sorted by its values.
plt.plot(np.sort(audio_source[audio_source >= 0]))

X axis is the sorted sample index, and Y the value of this sample.
And from np.median:

Given a vector V of length N, the median of V is the middle value of a sorted copy of V, V_sorted - i e., V_sorted[(N-1)/2], when N is odd, and the average of the two middle values of V_sorted when N is even.

And as you can see in both graphs, the middle values are zero.

from sushi.

tp7 avatar tp7 commented on June 6, 2024

What kind of audio is that and why are you using sushi on it? It sure looks like a synthetic case.

from sushi.

dead avatar dead commented on June 6, 2024

I'm using sushi to sync subs from a work raw to a final one. It's not a synthetic case.

from sushi.

tp7 avatar tp7 commented on June 6, 2024

Could you upload it somewhere please?

from sushi.

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.