Customize the volume increasing curve for subtle sound tweaks and maximum volume boosts.
< Opiniones de YouTube Volume Curve Designer
So so nice idea!!
Thanks to my excellent code, it was quite easy to apply to YouTube Music as well. ;-)
I updated it now.
I updated it and TamperMonkey says the script is loaded on music.youtube.com, but I don't think it's working yet. The curve editor does not show up when I right click on the volume, and I don't see any change in behavior of the volume (it's still too loud).
Oh.
I tested with Chrome/Tampermonkey on both Mac and Windows, both Japanese and English preference, and it works well.
Some other extension or userscript could interrupt it, or... could you send me an URL that doesn't work?
Try this one: https://music.youtube.com/watch?v=eSjzRJrX9YA&list=RDAMVMeSjzRJrX9YA
I am also attaching a screenshot of what the UI looks like. Maybe we are getting different versions of YouTube music.
Oh here's something interesting. If I go to YouTube music using the link I just posted, the script works. But if I go to https://music.youtube.com homepage first and then click on a song, the script does not work.
Maybe it's because when I go to the YouTube music homepage, there is no volume control element unlike when you navigate directly to a song?
Hmm, it's nice to hear that direct music links work well on your browser, but actually, I tested https://music.youtube.com homepage and click some random links on it, and works well.
(・ω・) why...?
Though this is an annoying solution, maybe you can reload the page that doesn't work to awake the script.
Yeah, I'm not sure why it's not working for me when playing songs from the homepage. In any case, reloading the page with the song already playing works, so I am unblocked. Thanks for all your work! :)
By the way, the screenshot you attached seems to be the same as shown on my Chrome.
If you have enough time, you can help me with the procedure below:
1. Rewrite "const DEBUG = false;" to "const DEBUG = true;" on the code with Tampermonkey's editor.
2. Open YouTube Music and reproduce the issue.
3. Press [Ctrl + Shift + I] or [command + option + I] to open DevTools of the browser.
4. Switch to the Console tab on top.
5. Send me a screenshot of the Console panel.
* I know it's annoying, and it could be in vain for solving the issue.
This is the console output when I just navigate to the homepage:
DevTools failed to load SourceMap: Could not load content for https://s.ytimg.com/yts/jsbin/webcomponents-hi-sd-vfld6sFL4/webcomponents-hi-sd.js.sourcemap: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://s.ytimg.com/yts/jsbin/custom-elements-es5-adapter-vflsrwHZH/fast-shim.js.sourcemap: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://s.ytimg.com/yts/jsbin/web-animations-next-lite.min-vflKeJWy_/web-animations-next-lite.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
userscript.html?name=YouTube%20Volume%20Curve%20Designer.user.js&id=8d33a38b-f35a-4ac9-8ccd-4f75c71c44de:1009 YouTubeVolumeCurveDesigner: 2.31201171875 ms
userscript.html?name=YouTube%20Volume%20Curve%20Designer.user.js&id=8d33a38b-f35a-4ac9-8ccd-4f75c71c44de:932 YouTubeVolumeCurveDesigner: 1:36:15 PM.495 +0.000s :138 eval() I'm ready.
DevTools failed to load SourceMap: Could not parse content for https://music.youtube.com/ytmusic-base-styles.css.map: Unexpected token < in JSON at position 0
There is no further console output when I then click on a song to play.
This is the output when I load the page directly into a song (which makes the userscript work):
userscript.html?name=YouTube%20Volume%20Curve%20Designer.user.js&id=8d33a38b-f35a-4ac9-8ccd-4f75c71c44de:1009 YouTubeVolumeCurveDesigner: 2.595703125 ms
userscript.html?name=YouTube%20Volume%20Curve%20Designer.user.js&id=8d33a38b-f35a-4ac9-8ccd-4f75c71c44de:932 YouTubeVolumeCurveDesigner: 1:38:29 PM.667 +0.000s :138 eval() I'm ready.
userscript.html?name=YouTube%20Volume%20Curve%20Designer.user.js&id=8d33a38b-f35a-4ac9-8ccd-4f75c71c44de:932 YouTubeVolumeCurveDesigner: 1:38:29 PM.668 +0.001s :382 eval() => get() Not found: video, retrying... (9)
DevTools failed to load SourceMap: Could not load content for https://s.ytimg.com/yts/jsbin/custom-elements-es5-adapter-vflsrwHZH/fast-shim.js.sourcemap: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://s.ytimg.com/yts/jsbin/webcomponents-hi-sd-vfld6sFL4/webcomponents-hi-sd.js.sourcemap: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://s.ytimg.com/yts/jsbin/web-animations-next-lite.min-vflKeJWy_/web-animations-next-lite.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
userscript.html?name=YouTube%20Volume%20Curve%20Designer.user.js&id=8d33a38b-f35a-4ac9-8ccd-4f75c71c44de:932 YouTubeVolumeCurveDesigner: 1:38:30 PM.963 +1.295s :382 get() Not found: video, retrying... (8)
DevTools failed to load SourceMap: Could not parse content for https://music.youtube.com/ytmusic-base-styles.css.map: Unexpected token < in JSON at position 0
userscript.html?name=YouTube%20Volume%20Curve%20Designer.user.js&id=8d33a38b-f35a-4ac9-8ccd-4f75c71c44de:932 YouTubeVolumeCurveDesigner: 1:38:31 PM.964 +1.001s :150 eval() I'm ready for the video. <video tabindex="-1" class="video-stream html5-main-video" webkit-playsinline playsinline controlslist="nodownload" src="blob:https://music.youtube.com/967812b9-d130-4966-9c67-8d2a30857f1b" style="width: 854px; height: 480px; left: 0px; top: -480px;" data-selector="video"></video>
userscript.html?name=YouTube%20Volume%20Curve%20Designer.user.js&id=8d33a38b-f35a-4ac9-8ccd-4f75c71c44de:932 YouTubeVolumeCurveDesigner: 1:38:31 PM.975 +0.011s :155 eval() I'm ready for the video control.
My guess is that in the failure case your script loads but does not detect an event for when a song starts to play so that it can look for the video control?
Thank you for your additional reporting.
I'm still wondering how your issue causes to be honest, but one of the possibilities has fixed on the latest update now.
If it works, I'm happy. (expecting not so much though)
Hey, just updating to let you know the problem with the script not loading on initial page load of Youtube Music seems to have gone away now. The script works perfectly, thank you!
Nice to hear that!
Works great on Chrome! Thank you!
Is there a possibility of adding compatibility for YouTube Music as well? The volume slider there is so useless it makes all the songs very loud.