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 523705 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: JScript Panel script discussion/help

Reply #1625
So hardware acceleration in default UI visualisers breaks my component in tabs. I was finally able to reproduce a blank panel because it's disabled by default.

Re: JScript Panel script discussion/help

Reply #1626
Ah, so that's the source of the issue. Turning off hardware acceleration fixed the issue.

Re: JScript Panel script discussion/help

Reply #1627
Can't seem to reproduce this issue in Columns UI tabs. So it doesn't make much sense but at least I can say it's not my fault.  :D

edit: default UI visualisers are available in CUI for those who don't know


Re: JScript Panel script discussion/help

Reply #1629
Fix logo Mp3tag + folder xml

Import Run Service Preset.xml in Preference / Run Service.

Save your configuration first.

Re: JScript Panel script discussion/help

Reply #1630
Ah, so that's the source of the issue. Turning off hardware acceleration fixed the issue.

The problem seems to have disappeared by selecting Turning on hardware acceleration.



Edit:

Forget it.

The problem is always present.

Re: JScript Panel script discussion/help

Reply #1631
That setting is disabled by default which is why I was unable to reproduce the issue. With it enabled, I can reproduce the issue.

So if you disable it and still have issues, you're in a world of your own.

Re: JScript Panel script discussion/help

Reply #1632
I need information about the command : UpdateFileInfoSimple

I would like to insert with jsp3 value in the artist and artist album automatiquely.
Maybe it's the command to use ?

Also I would like to make a button in jsp3 to open the right click menu of tagging / edit tagging from masstagger ? Is it possible ?
Thanks a lot guys?


Re: JScript Panel script discussion/help

Reply #1634
There is something to improve in the script.

For the button/icon to work, I have to stop and then play on the active playlist and then the relevant button/icon works.

But the first time you play the chosen playlist, the button/icon is not activated.


Re: JScript Panel script discussion/help

Reply #1636
Hi @all,
This is a 64bit JScript Panel3, named "JSP3 64bit VU Meter" after 32bit "Analog VU Meter" component.

Feature:
   # pseudo-"Analog Vu Meter" 64bit component.  
      (get RMS_Level and Peak_level of 2 channels).
   # VU Meter colors can be changed on-the-fly (as sample attached).
limitation:
   # local media files only.
   # latency (at first run due to raw-data processing).
   # files cached (deleted per foorbar2000 session by default).

 An implementation sample script is attached for your quick reference.
 You all are free to use and make any changes.
 
 Cheer,
 #viking aka ilovefb2k @vnav 01Aug24.

Spoiler (click to show/hide)

Re: JScript Panel script discussion/help

Reply #1637
Looks cool! :) I assume you used ffprobe instead of audiowaveform (easier) to support both RMS and peaks, dont you? Did you find anything useful on the process I should port back?

Maybe @TT is interested on doing something similar for Georgia. I have no interest on doing new things for SMP if it never gets ported to x64.


Re: JScript Panel script discussion/help

Reply #1639
Hi @all,
This is a 64bit JScript Panel3, named "JSP3 64bit VU Meter" after 32bit "Analog VU Meter" component.

Feature:
   # pseudo-"Analog Vu Meter" 64bit component.  
      (get RMS_Level and Peak_level of 2 channels).
   # VU Meter colors can be changed on-the-fly (as sample attached).
limitation:
   # local media files only.
   # latency (at first run due to raw-data processing).
   # files cached (deleted per foorbar2000 session by default).

 An implementation sample script is attached for your quick reference.
 You all are free to use and make any changes.
 
 Cheer,
 #viking aka ilovefb2k @vnav 01Aug24.

Spoiler (click to show/hide)
Post installation prompt
chech ffprobe.exe file
fobar2000-v2\skins\external_helper\ffprobe.exe

Re: JScript Panel script discussion/help

Reply #1640
 
Looks cool! :) I assume you used ffprobe instead of audiowaveform (easier) to support both RMS and peaks, dont you? Did you find anything useful on the process I should port back?

Maybe @TT is interested on doing something similar for Georgia. I have no interest on doing new things for SMP if it never gets ported to x64.
Hi regor,
You are totally right.
I had been struggling with FFmpeg (ffprobe) filter untill i realized that you deployed a rich-function seekbar under SMP.
Stick with ES19 may bring you advantages while i prefer 64bit of JScript Panel 3, not just because Marc2003 is very active in updating new features.

I am thinking of getting FFmpeg filter exported log data into memory (stdout) on-the-fly to deal with online media.
FFmpeg is a good fundamental media processing, foobar2000 is based on that platform among others.
this ensures that, getting along with FFmpeg is a right choice, not to mention they speak the same l'anguage'.

this 'JSP3 64bit VU Meter' script provides RMS and PEAK data as 32bit Analog VU Meter component once utilised as an ActiveX Object.
i just enclosed  a sample script illustrated playing around  with those values. others may have better ideas.

again, thank you very much for your endless effort contribution to audio-lovers with SMP scripts.
diving into your codes makes me think you are professional dev instead of an artist.

wish you all the best,

Stop using ActiveX filth like WshShell.Run.  :P

https://jscript-panel.github.io/docs/namespaces/utils/#utilsruncmdasyncwindow_id-app-params
hi @marc2k3,
it is my honor to receive your feedback, and is amazing that year after year you are still be with us.
without you, WSHscript will never evolve into JScript Panel 3, even JScript Panel 2.
regarding the script, i did note JSP3 utils async run command, but leaving the algorithm followed serial processing to keep it simple. in saying that, i have another script with async and syn option to extract raw data from FFmpeg filter.
thank you a lot.

Hi @all,
This is a 64bit JScript Panel3, named "JSP3 64bit VU Meter" after 32bit "Analog VU Meter" component.

Feature:
   # pseudo-"Analog Vu Meter" 64bit component.  
      (get RMS_Level and Peak_level of 2 channels).
   # VU Meter colors can be changed on-the-fly (as sample attached).
limitation:
   # local media files only.
   # latency (at first run due to raw-data processing).
   # files cached (deleted per foorbar2000 session by default).

 An implementation sample script is attached for your quick reference.
 You all are free to use and make any changes.
 
 Cheer,
 #viking aka ilovefb2k @vnav 01Aug24.

Spoiler (click to show/hide)
Post installation prompt
chech ffprobe.exe file
fobar2000-v2\skins\external_helper\ffprobe.exe

hi sq68,
i noed your feedback hours ago but cannot feedback until i can access this site.
as mentioned, the script depends on ffprobe.exe, which is a stand-alone exe file to get RMS and PEAK level per channel.
you can follow marc2k3's instruction  to download that file (link
https://jscript-panel.github.io/gallery/spectrogram-seekbar/)

cheer,
ilovefb2k.

 

Re: JScript Panel script discussion/help

Reply #1641
@ilovefb2k
Is this the only color choice for the VU Meter?




Is it not possible to use FFmpeg showspectrumpic - color?

FFmpeg
showspectrumpic - color
‘channel’, ‘intensity’, ‘rainbow’ etc...
https://ffmpeg.org/ffmpeg-filters.html#showspectrumpic
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, HIFIMAN ANANDA, Bowers & Wilkins P7, FiiO FT5, FiiO FT1 Pro, 水月雨 (MOONDROP) 空鳴 - VOID, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel script discussion/help

Reply #1642
Get the same result with the Spectrum Analyzer plugin:


Re: JScript Panel script discussion/help

Reply #1643
Post installation prompt
chech ffprobe.exe file
fobar2000-v2\skins\external_helper\ffprobe.exe
Not sure how to interpret this post, if you're asking where to find ffprobe.exe it's in the same package as the complete ffmpeg install download from here: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z .  It's inside the subfolder "bin" within.

I haven't used this meter yet but I imagine you could alter the script to point to a location for ffprobe.exe outside of the Foobar profile folder to avoid having to increase the size of a Foobar Portable backup by 130mb.  For example, changing line 275 to read:
Code: [Select]
	ffprobe : "C:\\ffprobe\\ffprobe.exe",
If you have the file already in your PATH environmental variable in Windows you may be able to substitute the location as simply %PATH% .  Those who have installed the meter, feel free to correct me!!


Re: JScript Panel script discussion/help

Reply #1644
@ilovefb2k
Is this the only color choice for the VU Meter?

Is it not possible to use FFmpeg showspectrumpic - color?
Can answer that. FFmpeg is only used to calculate the RMS values, not to display anything. Thus colors are set at the JS file. What you ask is simply not possible.

That's said, the author may provide more color options or whatever. But all has to be done within JS.

Re: JScript Panel script discussion/help

Reply #1645
@regor

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

Re: JScript Panel script discussion/help

Reply #1646
Post installation prompt
chech ffprobe.exe file
fobar2000-v2\skins\external_helper\ffprobe.exe
Not sure how to interpret this post, if you're asking where to find ffprobe.exe it's in the same package as the complete ffmpeg install download from here: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z .  It's inside the subfolder "bin" within.

I haven't used this meter yet but I imagine you could alter the script to point to a location for ffprobe.exe outside of the Foobar profile folder to avoid having to increase the size of a Foobar Portable backup by 130mb.  For example, changing line 275 to read:
Code: [Select]
	ffprobe : "C:\\ffprobe\\ffprobe.exe",
If you have the file already in your PATH environmental variable in Windows you may be able to substitute the location as simply %PATH% .  Those who have installed the meter, feel free to correct me!!
thanks!

Re: JScript Panel script discussion/help

Reply #1647
Looks cool! :) I assume you used ffprobe instead of audiowaveform (easier) to support both RMS and peaks, dont you? Did you find anything useful on the process I should port back?

Maybe @TT is interested on doing something similar for Georgia. I have no interest on doing new things for SMP if it never gets ported to x64.

Hi @regor,
actually we had this conversation 1.5 years ago and you told me that it may be possible to retrieve the levels and peaks from ffmpeg.
It's great that someone has written it and that we now have script, but I dunno... Actually I am not a big fan of this method.
My implemented peakmeter works flawlessly with the old foo_vis_vumeter component with instant data processing...

Well, now we have this big dilemma and imo it is kinda schizophrenic. We do not know if SMP will ONE day get continued active
development again and x64 conversion, on the other hand there are more and more people using JScript with these old stone age JS features and limitations.
Why would I make the extra work of implementing ffmpeg level and peak data retrieval, if SMP will not return to active development and x64?
Also IF Yuri returns, he could implement it in SMP directly and that would be much better.

I do not understand ( that's not really true but whatever... ) why in this community, there always needs to be a ONE MAN show
doing their own thing without any team work effort and help. Instead of beating a dead old horse, how about continue the work
where one has left and when he returns, work together as a team? Sounds easy? Because it actually is that easy...

Anyways, this whole situation is really weird, just think about it...

-TT
 

Re: JScript Panel script discussion/help

Reply #1648
Reply #1644

@ilovefb2k
Is this the only color choice for the VU Meter?

Is it not possible to use FFmpeg showspectrumpic - color?
Can answer that. FFmpeg is only used to calculate the RMS values, not to display anything. Thus colors are set at the JS file. What you ask is simply not possible.

That's said, the author may provide more color options or whatever. But all has to be done within JS.

Hi @rego,

Again, thank you for your helpful support regarding the scripts and prompt feedback to @Air KEN. (Frankly, it is a little inconvenient for me to travel to some café to enable login into this site).

Hi @Air KEN and @all,

It’s me again, and as @rego pointed out, this script serves as a VU Meter provider only, in terms of Peak and RMS level data of 2 channels. I was still comfortable with the Analog VU Meter component (foo_vis_vumeter) until I switched to foobar2000 64-bit.

Having said that, this 64-bit VU Meter is in no way comparable to foo_vis_vumeter but may be useful to some extent. That said, we can apply any colors, step number or create any VU Meter shape (bar, cycle, etc.) as we like - the sky is our limit.

Not to mention its 64-bit capability, this approach may lead us to the FFmpeg framework (ffmpeg, ffprobe, ffplay) with a lot of features behind its ton of parameters.

Attached is a very simple and quick sample utilizing these Peak and RMS levels in building a bar or cycle VU Meter. I have left as many comments as possible within the script for easy reference.

Credit goes to @rego and @Marc2k3 for their endless effort in creating beautiful scripts.

Wish you all a nice weekend.

Cheers,

@Air KEN, Let me know if there’s anything else you need help with!
P/S. Can anyone shed me a light on how to stop this site from keeping me banning without reason. It is annoying that i have to go to some cafe to get access.
ilovefb2k.

Re: JScript Panel script discussion/help

Reply #1649
I haven't used this meter yet but I imagine you could alter the script to point to a location for ffprobe.exe outside of the Foobar profile folder to avoid having to increase the size of a Foobar Portable backup by 130mb.  For example, changing line 275 to read:
Code: [Select]
	ffprobe : "C:\\ffprobe\\ffprobe.exe",
If you have the file already in your PATH environmental variable in Windows you may be able to substitute the location as simply %PATH% .  Those who have installed the meter, feel free to correct me!!
I have tried substituting the code above in line 275 of version 1.0 for using an external location for ffprobe.exe (i.e. not in the Foobar profile folder) but while I get the GUI meter on the top panel I get no statistics panel below it so I assume it's not finding ffprobe.

Can someone give me a working replacement line for specifying ffprobe in the above location?  This is the version 1.0 script; in 1.1.1 the line would be 776.  It appears the scripts may be attempting to verify the location with additional entries, or do I just have the syntax wrong?  Thanks!