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: JSplitter (splitter + SMP x64 alternative) (Read 67835 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: JSplitter (splitter + SMP x64 alternative)

Reply #150
okay thank you

Re: JSplitter (splitter + SMP x64 alternative)

Reply #151
I see no reason why anyone would seek to the same position (i.e. a range lower than a few seconds) multiple times within that timer. The same if the seekbar is so small that a single px equals a lot of length, since then seeking is simply not precise enough. That's just a niche use case which I am not gonna support.

Drag the slider instead of clicking if you insist on seeking on the same region.
I admit that it's a rare situation, usually it's for when I do audio restorations or check for accurate rips, I relisten to the same 0.2 seconds several times in a row (thus clicking fast) to make sure if what I hear was random noise, my PC fucking up, or indeed a skip that needs to be fixed.

As for the size, I understand, maybe being able to resize it (pixelwise) vertically would be a nice addition?

Re: JSplitter (splitter + SMP x64 alternative)

Reply #152
More Image.

Default UI: Based on JSplitter
First I expand the JSplitter, then add TABs, Panels, etc. All the Panels are on top of the JSplitter.

The size of the Panel (X, Y, Width, Height) is adjusted in "Panel List".

 

 



If you can write a script, you can create a stylish integrated layout, such as Track info + seekbar + buttons, Text Display, and Playlist view.

e.g
Reply #83: https://hydrogenaud.io/index.php/topic,126743.msg1055655.html#msg1055655
foobox
https://github.com/dream7180/foobox-en
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: JSplitter (splitter + SMP x64 alternative)

Reply #153
I'm unsure if this a bug, but everytime I restart (close then reopen) Foobar, all of my mode+style selections are gone (specifically, the colours I chose for the slider + bars, and the mode (I have both a volume and seekbar, but the seekbar automatically defaults to a volume bar upon reset).
Any way to fix?

 

Re: JSplitter (splitter + SMP x64 alternative)

Reply #154
@ roger i can not make of the volume script could you possibly post it here or anyone reading this many thanks referring to post 149 by roger

Re: JSplitter (splitter + SMP x64 alternative)

Reply #155
Quote
As for the size, I understand, maybe being able to resize it (pixelwise) vertically would be a nice addition?
What would you want to resize? The items are already resized by panel size, and you may adjust the margins, so less margin it gets bigger.

Quote
I'm unsure if this a bug, but everytime I restart (close then reopen) Foobar, all of my mode+style selections are gone (specifically, the colours I chose for the slider + bars, and the mode (I have both a volume and seekbar, but the seekbar automatically defaults to a volume bar upon reset).
Any way to fix?
I don't see such problems with the latest release, for sure. What version are you using? Also, are the panel properties being changed when you change the settings via menus?

Re: JSplitter (splitter + SMP x64 alternative)

Reply #156
Does anyone know if the developer of JSplitter is responsive to questions?  I believe I recall him responding to regor that he has no interest in maintaining a repository of 3rd-party SMP scripts.  Would be nice to see a new version based on the feedback he can see here, one of the most well-received plugins in years.

Re: JSplitter (splitter + SMP x64 alternative)

Reply #157
^You're just as capable as reading the Russian forum thread as anyone else. The dev speaks English if you want to post and most browsers have built in translation support if you need it.

But I provided code to fix a crash months ago and nothing. So I wouldn't hold out much hope for anything else that is reported/asked for either.

Re: JSplitter (splitter + SMP x64 alternative)

Reply #158
^You're just as capable as reading the Russian forum thread as anyone else. The dev speaks English if you want to post and most browsers have built in translation support if you need it.

But I provided code to fix a crash months ago and nothing. So I wouldn't hold out much hope for anything else that is reported/asked for either.
Man what you need isn't "built in translation support"

Re: JSplitter (splitter + SMP x64 alternative)

Reply #159
@ roger i can not make of the volume script could you possibly post it here or anyone reading this many thanks referring to post 149 by roger
See this:
https://hydrogenaud.io/index.php/topic,120978.msg1059143.html#msg1059143

Re: JSplitter (splitter + SMP x64 alternative)

Reply #160
thank you :)

Re: JSplitter (splitter + SMP x64 alternative)

Reply #161
Can JSplitter be used to make visualizations (e.g. spectrum analyzer and LUFS meter bars)?

As the wait for new versions of @Crossover's foo_enhanced_spectrum_analyzer and foo_loudness_peakmeter took too long and algorithms in @pqyt's foo_vis_spectrum_analyzer were implemented incorrectly

Re: JSplitter (splitter + SMP x64 alternative)

Reply #162
> Can JSplitter be used to make visualizations (e.g. spectrum analyzer and LUFS meter bars)?
That's not what this component is intended for.

JSplitter v3.6.1.10 [05.10.2024]
https://foobar2000.ru/forum/viewtopic.php?t=6378
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: JSplitter (splitter + SMP x64 alternative)

Reply #163
Can it be done? Obviously, yes. As long as the files are analyzed first.

Has it been done?
There is at least one spectral script sample (I think it uses SOX) and my waveform script which may be used to display RMS levels, RMS peaks, or peak levels either as waveform or simple VU meter.

Anyway I don't see any point on doing anything more than that, since there are C++ components suitable for that. (and for sure I have zero interest on implementing your ideas)

Web View component would also be a great host for further experiments.

Re: JSplitter (splitter + SMP x64 alternative)

Reply #164
Hello, everybody. Just released a new version (delayed due to heavy busyness). Updated the codebase and JS engine, and fixed some issues found in this thread.

JSplitter v3.6.1.12

● Updated JS engine to SpiderMonkey ESR128 (128.7.0esr)
● Updated code editor engine to Scintilla 5.5.4
● Updated foobar2000 SDK to 20241203.
[BUG] When importing a script package, an error occurred (mz_zip_reader_init_file failed with error 0x11: file open failed) if the archive path contained non-Latin characters.
[BUG] The player sometimes crashed when shutting down, and a dump was created in crash_reports (Access violation, Symbol: “D2D1CreateFactory”)
[FEATURE] When executing utils.IsFile / utils.IsDirectory, script errors occurred if file system access errors occurred. Now the functions simply return false.
[FEATURE] When utils.ColourPicker is called, the colors are now stored in the set until the program exits.
[BUG] The set of erroneus sample scripts in the samples\complete folder has been updated to reflect regor's fixes of 29.10.2024

Re: JSplitter (splitter + SMP x64 alternative)

Reply #165
After updating to JSplitter v3.6.1.12 all my panels begins to works buggy.
The scroll didn't works, the filmstrip foesn't load images, etc.
Downgrading to 10 version makes all panels to crash.

Edit:
To avoid crashes when downgrading you can delete the foo_uie_jsplitter.dll.cfg in ../profile/configuration/

Re: JSplitter (splitter + SMP x64 alternative)

Reply #166
Hello, everybody. Just released a new version (delayed due to heavy busyness). Updated the codebase and JS engine, and fixed some issues found in this thread.
Wow, THANK YOU LUR so good to see you in the Forum and that you are still developing JSplitter!

I am running Foobar v2.24.1 x64 Portable on Windows 11.  I updated to JSplitter 3.6.1.12 directly over 3.6.1.10, which I used together with an existing JSPanel 3 "lastfm bio+images" to create the WilB Biography panel. After updating, I lost use of the API_key from the original version.  Users should be careful to backup their original version until we find a way to sort that.

Re: JSplitter (splitter + SMP x64 alternative)

Reply #167
After updating to JSplitter v3.6.1.12 all my panels begins to works buggy.
The scroll didn't works, the filmstrip foesn't load images, etc.
Give me please an example of your panels, I will look into later.

Downgrading to 10 version makes all panels to crash.
To avoid crashes when downgrading you can delete the foo_uie_jsplitter.dll.cfg in ../profile/configuration/
I know why it's happening. This is because now in the plugin's advanced settings the memory size is specified in MB, not bytes as before and when rolling back to a previous version it is too low memory for the JS engine, so you need to increase those values by hand (look at screenshot below) or reset the configuration (by deleting the foo_uie_jsplitter.dll.cfg in ../profile/configuration/)



Re: JSplitter (splitter + SMP x64 alternative)

Reply #168
After updating, I lost use of the API_key from the original version.  Users should be careful to backup their original version until we find a way to sort that.

This is strange. Just tried to repeat your experiment on the script "last.fm similar artists + user charts + recent tracks.js". Installed 3.6.1.10, created a panel, entered the API key, works. Then updated the plugin to 3.6.1.12 - launched, API key on the spot, which is not surprising (update does not touch the properties of your panels unless you re-create the panel). In any case, keep your important information such as API key in a safe place.

Re: JSplitter (splitter + SMP x64 alternative)

Reply #169
After updating to JSplitter v3.6.1.12 all my panels begins to works buggy.
The scroll didn't works, the filmstrip foesn't load images, etc.
Give me please an example of your panels, I will look into later.

Downgrading to 10 version makes all panels to crash.
To avoid crashes when downgrading you can delete the foo_uie_jsplitter.dll.cfg in ../profile/configuration/
I know why it's happening. This is because now in the plugin's advanced settings the memory size is specified in MB, not bytes as before and when rolling back to a previous version it is too low memory for the JS engine, so you need to increase those values by hand (look at screenshot below) or reset the configuration (by deleting the foo_uie_jsplitter.dll.cfg in ../profile/configuration/)

Library Tree
Name:Library Tree
Version: 2.4.0
Author: WilB
Description:
Feature rich media library viewer for foobar2000.


Biography
Name: Biography
Version: 1.4.2.mod.1
Author: WilB
Description:
Feature rich all-in-one biography plugin

The modded version is this mod1

Re: JSplitter (splitter + SMP x64 alternative)

Reply #170
> Give me please an example of your panels

\profile\user-components-x64\foo_uie_jsplitter\samples
JS Playlist-mod
JS Smooth Browser
JS Smooth Playlist Manager
JS Smooth Playlist
etc...
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: JSplitter (splitter + SMP x64 alternative)

Reply #171
JSplitter v3.6.1.14

[BUG] [BUG] Fixed a critical bug in the setInterval function (scripts using it did not work correctly)
[FEATURE] Added read/write implementation of the Click property of the button object created by the window.CreateButton function.

Re: JSplitter (splitter + SMP x64 alternative)

Reply #172
@LUR
Thanks. perfect!

\profile\user-components-x64\foo_uie_jsplitter\samples
JS Playlist-mod
JS Smooth Browser
JS Smooth Playlist Manager
JS Smooth Playlist

Biography
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: JSplitter (splitter + SMP x64 alternative)

Reply #174
Thanks, LUR!!  The API authorization in WilB Biography panel now continues to function fine when updating to 3.6.1.14 directly over 3.6.1.10.  We appreciate your work.