Comments (5)
Hey, not sure I understand the bug - could you label the axes on your graph?
from sushi.
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.
What kind of audio is that and why are you using sushi on it? It sure looks like a synthetic case.
from sushi.
I'm using sushi to sync subs from a work raw to a final one. It's not a synthetic case.
from sushi.
Could you upload it somewhere please?
from sushi.
Related Issues (20)
- [Q] --test-shift-plot or graph? HOT 1
- Lead-in disappear HOT 2
- IndexError: list index out of range, on SNK srt HOT 1
- Error with ASS scripts containing a [Aegisub Extradata] section HOT 2
- "This application has requested the Runtime to terminate it in an unusual way" HOT 2
- Change main .py shebang line HOT 1
- Is it not work if src & dst have different fps? HOT 1
- Sushi changing SRT File Encoding HOT 2
- Sushi failed to execute [traceback and sample provided] HOT 1
- Sushi failed to execute HOT 4
- Negative start time
- RuntimeError: maximum recursion depth exceeded while calling a Python object
- Audio Fingerprint HOT 1
- ERROR: Source file doesn't exist
- Deal with unsupported operand type(s) for -: 'NoneType' and 'float'
- Allow multiple subtitles to be processed HOT 1
- Link between window parameter and sample rate HOT 2
- specify start for combined episodes
- Python 3 migration HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sushi.