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
waveform fit width? #52
Comments
Hmm... For For the Apart from that technical side, it's also currently intended for a different use case, which is more to show "time progress" during recording, rather then present the entire recording in one view. So it's designed to be used in places like a voice message recording a la WhatsApp, etc where the waveform "scrolls". I don't think I'd want to change that currently. |
ahh hey! nice to have you here live yeah the waveform at the top is generated by |
keeping the scrolling live view is seems like a fine direction, but i'm surprised that the file doesn't fit width |
This is what that same audio file looks like when it is imported into Ableton: So there must be something strange about the audio file itself. It looks like its taking up half the space than it should. Which makes me think it does sth like saying it's stereo when it's in fact mono, or claims to have a different sample rate than it actually has or sth. along those lines. Given that Ableton renders it in the exact same way, I'm inclined to treat the audio file as buggy. I'm still curious what's going on here, but it looks low priority to me? |
Hey @AndrewSB, I wanted to have another look at the file, to understand what the issue with it is. I'm still quite sure the issue is with the file itself and not the library, but I'd like to understand exactly how the file is weird to make sure there's not some other potential issue that may come up later for files like that. Unfortunately the link you had pasted doesn't work anymore. Do you still have a copy of it lying around anywhere? And did you maybe figure out what was wrong with it? Which app / encoder / etc. actually created it originally? |
for sure! i was downloading it using ytdl from youtube, with one of the highest quality audio options. m4a i think https://youtu.be/Z0Uh3OJCx3o is the video |
let me know what it is, if you figure it out! i'm curious too |
Thanks! If I google |
found the audio file i was testing with! victory-royale.mp4 |
Thanks for sharing. So I had another look at it. I'm not intimately familiar enough with the mp4 format to figure out what exactly the problem is with the file, but it definitely has a defect, which passing it to multiple other audio apps confirmed. So I'll just file this as "mysterious bug in ytdl" and close this issue. Thanks for your help! |
both with the
WaveformView
andWaveformLiveView
, theres a bunch of space on the left or right if the audio file / number of samples isn't long enough. is there some way to have the waveform fit width?The text was updated successfully, but these errors were encountered: