Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: JScript Panel script discussion/help (Read 366499 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Re: JScript Panel script discussion/help

Reply #1725
Background colors comes from the User Interface settings. If you want to use custom colors you can edit them all in update_colours() function.

Re: JScript Panel script discussion/help

Reply #1726
I edited the previous script as I noticed the "dB" block mode didn't align correctly with the dB markers if window size wasn't ideal.

Re: JScript Panel script discussion/help

Reply #1727
I edited the previous script as I noticed the "dB" block mode didn't align correctly with the dB markers if window size wasn't ideal.

Looks very promising! I'll have a go at it in a month or two to replace the (bugged) peakmeters I now use with this script.

Could you for now please add an option in the txt script to change the orientation of the VU meter to vertical?

Re: JScript Panel script discussion/help

Reply #1728
@Case and marc2k3:  both of your latest VU meter scripts posted here work great!  For those needing a heads-up:

Both developers have switched to a 2-bar LR-RMS approach and the Peak bars have been dropped.  Peak values are displayed by a single moving vertical line at the right end of the same horizontal "space;"  this prevents the need to display a frantically oscillating Peak meter bar as in the first ilovefb2k version.

The two RMS bars adopt the height of the display panel and narrow or widen in accordance to its set.  This can result in some pretty "thick" bars if you're using the same panel to display tabbed spectrum analyzers you normally view at a greater height.  I would ask both developers that an option could be added to assign a fixed, centered height value to the bar display portion, with only the panel background responding to manually dragging its border to different heights.

Marc2k3 and Case both give a right-click option to use rainbow or UI (blue/white) bar colors, and other user adjustments for peak hold, timer interval, dB scale, etc at the top of the script.  Case adds a "Meter style" option to the right-click entry that allow choosing between smooth bars or two kinds of "blocks" display, simple or segmented per dB.  In the script header, an option is provided to divide the simple blocks into a user-specifies amount, giving an "LED" appearance.

As far as performance, both are equally smooth, responsive, and accurate.  If options are set identically, there is no visible difference between tabbing back and forth between the two.  These comments are based on the last two tweaked scripts from each poster in this forum.  Marc2k3 mentioned he had added Case's script as a new sample in his latest JSP3 3.6.7 release but I haven't had time to add it yet and see if the Case script is identical.  BTW, all these new scripts require that JSP3 version 3.6.6 or higher be installed and are for 64-bit only.

Re: JScript Panel script discussion/help

Reply #1729
64-bit only.

That is 100% factually incorrect. What prompted you to make such an outlandish comment? :/

edit: just to be absolutely clear, the changelog or documentation did not hint at that. It would be insane of me not to mention that if any feature/script was exclusive to a certain architecture. If there was any difference, it would be a horrible bug that needs reporting and fixing.

And when I say "reporting", I mean something more meaningful than "doesn't work LOL". The quality of bug reporting in general across all fb2k core issues and other components is atrocious.

Re: JScript Panel script discussion/help

Reply #1730
64-bit only.

That is 100% factually incorrect. What prompted you to make such an outlandish comment? :/
The fact that JSP3 3.6.6 is only available for Foobar versions 2.1 and higher, and Foobar versions older than 2.0 were all 32-bit, my poor little mind got confused for a moment--no outlandishness intended.  Man relax, I'm sorry I made a mistake.

Re: JScript Panel script discussion/help

Reply #1731
@marc2k3

VUMeter ilovefb2k + Case + marc2003 (2024-08-14)
Is it possible to change the height of the VUMeter bar according to the height of the Panel? Ideally, I would like it to fit the Panel without the blank space at the top. Thank you.

SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel script discussion/help

Reply #1732
Case has already made that happen with the code here...

https://hydrogenaud.io/index.php/topic,110516.msg1049113.html#msg1049113

3.6.7 also contains this version as an included sample but it is missing a few fixes Case posted minutes after I released it. :P

The next version should be up to date.

Re: JScript Panel script discussion/help

Reply #1733
"VUMeter ilovefb2k + Case + marc2003" This is a VUMeter with 4 bars (FL, FL FR, FR) in the ilovefb2k style.

-----



Can you add a pattern like this?
This is a low-level request from a low-level user, but I would appreciate your help.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel script discussion/help

Reply #1734
"VUMeter ilovefb2k + Case + marc2003" This is a VUMeter with 4 bars (FL, FL FR, FR) in the ilovefb2k style.

-----



Can you add a pattern like this?
This is a low-level request from a low-level user, but I would appreciate your help.
I will second that request.

I would even go out on a limb and request the option to have the 4 bars display selectable in either the rainbow bars pattern that marc2k3 originally posted, or the original 4 bars with the horizontally segmented RMS bars and solid Peak bars in the blue/white scheme as posted by Air KEN above.  With all the newest internal performance modifications and user options, of course  :-X .  I better "quit while I'm ahead", haha..

Re: JScript Panel script discussion/help

Reply #1735
you guys are amazing i copied your code and adjusted the rainbow colors to find my own gradient of orange peaking at red fitting my own theme way better than the stock VU meter

cheers  8)

Edit: Failed to reply to Case,

If I had one small request it would be less blank space to the right of the bars or knowing what value I need to change to adjust that?

2.Edit: I figured it out, it's on line 265
PC - Teac UD-505 - Adam Audio A4V - DCA ÆON Open X
Samsung S23 Ultra 512GB - Fiio UTWS5 - TinHifi P1 Max.

Re: JScript Panel script discussion/help

Reply #1736
Can someone tell me where to find a script to display playlists in tree?
It seems incredible to me but I can't find any component that works :(

Re: JScript Panel script discussion/help

Reply #1737
Can someone tell me where to find a script to display playlists in tree?
It seems incredible to me but I can't find any component that works :(
If you use Columns UI you can install the Playlist switcher panel (image1).
If you use Default UI in the foobar menu View/Playlist Manager. It offers the playlists but in a popup window (image2). I don't think it can be set in a panel.

Re: JScript Panel script discussion/help

Reply #1738
Can someone tell me where to find a script to display playlists in tree?
It seems incredible to me but I can't find any component that works :(
If you use Columns UI you can install the Playlist switcher panel (image1).
If you use Default UI in the foobar menu View/Playlist Manager. It offers the playlists but in a popup window (image2). I don't think it can be set in a panel.


thanks but I use playlist switcher and dont' work correctly :(
I can't use popup windows.

I have installed Jscript panel because I thought I would find a script for playlists :(

Re: JScript Panel script discussion/help

Reply #1739
I have installed Jscript panel because I thought I would find a script for playlists :(
You mean "hoped".
It's your privilege to disagree, but that doesn't make you right and me wrong.

Re: JScript Panel script discussion/help

Reply #1740
I have installed Jscript panel because I thought I would find a script for playlists :(


Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

https://hydrogenaud.io/index.php/topic,123820.0.html

The most recent script release is at the bottom of page 15:

https://hydrogenaud.io/index.php/topic,123820.msg1035088.html#msg1035088

What it looks like in the fb2k I use:

X

Re: JScript Panel script discussion/help

Reply #1741
I have installed Jscript panel because I thought I would find a script for playlists :(


Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

https://hydrogenaud.io/index.php/topic,123820.0.html

The most recent script release is at the bottom of page 15:

https://hydrogenaud.io/index.php/topic,123820.msg1035088.html#msg1035088

What it looks like in the fb2k I use:

[attach type=thumb]31971[/attach]


thanks
I have installed foo_jscript_panel3-3.6.9, after I have downloaded pl_organizer2.0.8.zip, extract the files and I have try to import into jscript panel pl_organizer.js but I receive this error:

JScript Panel 3.6.9 (id:1639066)
Errore di run-time di JavaScript
'_scale' non è definito
File: <main>
Line: 49, Col: 1

:(

Re: JScript Panel script discussion/help

Reply #1742
@LauraQ

Reply #374 By: etip
https://hydrogenaud.io/index.php/topic,123820.msg1035088.html#msg1035088

Unzip the downloaded "pl_organizer2.0.8.zip".
Rename the "pl_organizer2.0.8" folder to "pl_organizer".

Standard installation: "C:\Users\username\AppData\Roaming\foobar2000-v2\pl_organizer"

Portable installation:
\profile\pl_organizer\Main.js
\profile\pl_organizer\pl_organizer.js
\profile\pl_organizer\inputbox.js
\profile\pl_organizer\scrollbar.js

Prepare a JSP 3 Panel.
Load the \pl_organizer\Main.js file.

----

This is not a Playlist Tree. It is a script for organizing playlists.
Create new folders to categorize similar playlists.

If you're using the Default UI, have you panelized the standard Album List?

If you are using Columns UI, you need an Album list panel.
https://yuo.be/album-list-panel
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel script discussion/help

Reply #1743
@LauraQ

Reply #374 By: etip
https://hydrogenaud.io/index.php/topic,123820.msg1035088.html#msg1035088

Unzip the downloaded "pl_organizer2.0.8.zip".
Rename the "pl_organizer2.0.8" folder to "pl_organizer".

Standard installation: "C:\Users\username\AppData\Roaming\foobar2000-v2\pl_organizer"

Portable installation:
\profile\pl_organizer\Main.js
\profile\pl_organizer\pl_organizer.js
\profile\pl_organizer\inputbox.js
\profile\pl_organizer\scrollbar.js

Prepare a JSP 3 Panel.
Load the \pl_organizer\Main.js file.

----

This is not a Playlist Tree. It is a script for organizing playlists.
If you're using the Default UI, have you panelized the standard Album List?

If you are using Columns UI, you need an Album list panel.
https://yuo.be/album-list-panel


Thanks :)
now it works great!
Last courtesy, do you know how to remove the #number that I see at the top and that red line that I see immediately below?

Re: JScript Panel script discussion/help

Reply #1744
@Air KEN

Thanks Air KEN.

I was in the middle of typing out a reply for LauraQ and decided to check if someone had replied with help.

This is not a Playlist Tree. It is a script for organizing playlists.

Thanks too for the correction. I knew the Playlist Organizer was a manager. But considered it to be in a tree style.

Perhaps LauraQ is looking for someting different than this?

Re: JScript Panel script discussion/help

Reply #1745
@LauraQ

Is this okay?
This is not a Playlist Tree.

pl_organizer:
It is a script for organizing playlists.
Create new folders to categorize similar playlists.
-----
Look around contextmenu > Setting > Appearance >.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel script discussion/help

Reply #1746
thanks everyone. I don't think I understood the difference between the two types of playlist organizers, they seem identical to me.

When I imported the script, I don't know how, it automatically imported the playlists I had in Playlist switcher... it seems really identical and works fine for the little I've tried it.

Thanks again for the help :)

Re: JScript Panel script discussion/help

Reply #1747
@LauraQ
Playlist Organizer (Jscript Panel 3) is useful, so you should use it.

Are you using Columns UI?
What are you looking for?  Album list panel or Playlist switcher

Album list panel (Columns UI panel - Tree Format)
https://yuo.be/album-list-panel

SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel script discussion/help

Reply #1748
Reply #1748 By: marc2k3
https://hydrogenaud.io/index.php/topic,110499.msg1049256.html#msg1049256

rainbow_stops = [
   [ 0.0, RGB(180, 220, 255) ],
   [ 0.33, RGB(45, 170, 255) ],
   [ 0.66, RGB(5, 71, 219) ],
   [ 1.0, RGB(0, 16, 93) ],
];
init();

JSP3 VU Meter - Blue
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel script discussion/help

Reply #1749
@LauraQ
Playlist Organizer (Jscript Panel 3) is useful, so you should use it.

Are you using Columns UI?
What are you looking for?  Album list panel or Playlist switcher

Album list panel (Columns UI panel - Tree Format)
https://yuo.be/album-list-panel




I use Columns UI

I was looking for a replacement for Playlist Switcher but I don't see any differences with the one that I have installed.

The only thing I would like is to have a slightly better graphic. For example, folders are indicated by two square brackets. It would be nice to have customizable icons. Then I can't make the yellow outline of the playlist disappear and I wouldn't want the numbers of the files contained in the playlists to be displayed. I saw that there is the possibility of importing themes but I don't know where to download them