I helped include a new android vlc feature
I have been playing with music speed recently, and got tired of the skipping and pausing after dragging the slider on vlc android
So I wanted to know if I could fix it. I downloaded the source-code from GitHub for the program and it took a few minutes to find it.
Most of the code is over my head, would be nice if it had comments on what it all does.
I found 0.05 for
speedUp and speedDown, and that is for 5% for the arrows. I couldnât understand why the slider sticks before finally allowing movement, causing a large jump in speed, before allowing adjustments like the position bar / seek bar.
Nor do I understand why certain percentages are not accessible when dragging the slider.
The easiest option is to change the 5 to 1% to at least access all whole number percentages. This isnât perfect, because from 100 to 200% speed you get 100 steps for double speed.
For half speed you get 50 steps, so itâs half the precision for slower speeds. I would like to see 0.005 for slower speeds to match the steps for faster speeds.
Neutron player allows 999 steps between percentages, so I know it can be done.
I repeatedly commented to the vlc devs on reddit to include this change, for weeks I did this.
After a month or two, someone on reddit mentioned that there is a nightly build of vlc, try finding a link on videolan website.
So following the nightly dot videolan link, I gave it a try.
To my surprise, the arrows now change by 1%! So nice and there are speed presets 0.80 for a slower preset and a couple faster ones.
The area is also significantly larger to hopefully include more options:
I have asked the devs to copy the options
time-stretch
save playback speed
To this area, but this 1% change is good for now.
My issue is if someone tries slowing down music IN ANY PROGRAM, it sounds very robotic or choppy.
Speeding up however, has no such issues and works well to maintain the original sound.
So VLC allows turning off this option, usually in the Audio settings for Windows, Mac, Linux, iOS (apple).
For iOS it is in audio, but under the very last section called advanced.
In android, itâs in advanced, under a heading called performance.
So someone might one day have the wild hair to press playback speed and change it a lot, and it will sound horrible, and after about five seconds, theyâll stop using it and never look at the option for the rest of their life, because itâs useless and sounds like complete junk.
So to help prevent this (I believe major) issue, there should be a few things done.
First, a big INFORMATION pop up, that cannot be immediately dismissed for at least 20 seconds, and it should pop up the next three or four times the feature is accessed.
I would suggest it say that by default, slower speeds down to 90% sound somewhat fine, but speeds below this will have a robotic or stutter like sound, which will completely ruin the sound of drums, and heavy guitar distortion will basically be un-listenable.
For slower speeds below 90%, the program will automatically disable this effect, called âtime-stretchâ and there is an option on the playback speed area to re-enable it.
It will be re-enabled for all faster speeds automatically for convenience, but can manually be turned off.
Turning off time-stretch will cause slower speeds to sound much deeper / lower pitch and faster speeds to sound like chipmunks, or fast forwarding a tape.
Just a simple informative message such as that could open the minds of so many music listeners, and help them create a unique musical session that possibly none have ever heard beforeânot even the original artist.
So whatâs the big idea here?
Well, most bands speed up their live concert performances to create a more upbeat energy. So why not go the other way and slow things down?
So even if you have zero programming experience, you can still look through source code and find just one small piece that you do understand, and as the saying goes
scratch your own itch
And that is what the VLC devs have gratefully allowed me to do. I asked to change
5
to 1
And I got my wish.
So don:t be discouraged if you donât understand computer programming, Iâm not sure anyone really does, I think all developers are just constantly learning.
I would like to bring the desktop EQ 2-pass filter to android, assuming I can just copy and paste the code in, why not right? to give a 80 dB range of EQ, vs 40, to give more possible eq for certain poorly recorded podcasts or a unqiue sound.
If you want to try slower playback for music you donât have downloaded, the âappsâ arenât cool enough to allow such a (currently) niche option.
So until apps get with the times, youâll be relegated to a web browser, where you have more freedom for customizatioon.
On that note, I like how dark reader offers me more theme options than just light or dark mode that some apps provide, on Firefox mobile that new mode is already enabled.
For desktop if you install dark reader browser extension into Firefox, you have to open dark reader settings, click dev tools (for dark reader) and manually enable the preview mode, that has been in âpreviewâ for about 5+ years now.
The browser extension
global speed
Is one of maybe three that allow turning off the Mozilla standardized HTML
.pitchPreserves = true
feature which uses simplistic time-stretching.
Global speed allows setting that false with the rare option
âAllow pitch shiftâ
If you do not like the deeper voices, Audacity is a great alternative with
Change Tempo
high-quality stretching
Not perfect, but basically the best out there. Iâm not sure how it works, but I hope it gets even better. I donât like the way it sounds, but if you havenât heard it before and play it for someone else, most probably wouldnât be able to tell there is an issue with the sound.
I think it is the midrange that gets a bit too heavy / air-like windy sound, so using the EQ to drop that down along with a small drop of the treble could help.