-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem in Sushi normalization/clipping #26
Comments
Hey, not sure I understand the bug - could you label the axes on your graph? |
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. X axis is the sorted sample index, and Y the value of this sample.
And as you can see in both graphs, the middle values are zero. |
What kind of audio is that and why are you using sushi on it? It sure looks like a synthetic case. |
I'm using sushi to sync subs from a work raw to a final one. It's not a synthetic case. |
Could you upload it somewhere please? |
I have an audio that the Sushi normalization/clipping does not work.
The problem is that np.median (code) is zero for this audio.
Graphs from the audio that shows why both max_value and min_value medians are 0:
When max_value and min_value are zeros the clipping zeroes all the audio, resulting in Sushi not working properly.
The text was updated successfully, but these errors were encountered: