11
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.
12
General - (fb2k) / Re: Default UI Gallery
Last post by mjm716 -Can I post your theme?
Sure, I'm using x86 v216 DUI.
Simplaylist and Facets (Library tab not shown in image) are not available for x64, but majority is x64 friendly.
Basically the pieces are already available in the forum.
One could recreate the layout and then in Jsplitter: Panel Properties>Import the json settings provided below.
I will try and add "biography remix" to the "made with webview" thread and more detail on the weekend.
You can hit me up here with any specific questions: https://hydrogenaud.io/index.php/topic,58686.0.html
13
3rd Party Plugins - (fb2k) / Re: foo_vis_vumeter
Last post by ilovefb2k -I have just played some songs using AIMP to quickly observe the VU MeterOnly a few skins in AIMP are "calibrated" to the dB scale and only those will match the right levels. The one for which the formula applies is one of those and matches perfectly. Another is "DejaVU Compact LED Calibrated Elemental" linked a few posts back1. For those seeking more information, I calculate the display angle from the audio level using the point-slope equation; a generalized version of what is linked in the quoted post that works with non-symmetric VU meter skins.
...
A = Am * (0.5 - 10^((L - Lm)/20))) + 90
Hi @oops,
thank you for your feedback, valuable information and a very nice & rich-feature component
regards
@ilovefb2k
14
3rd Party Plugins - (fb2k) / Re: JScript Panel script discussion/help
Last post by ilovefb2k -Spoiler (click to show/hide)hi @sveakul,
thank you for your feedback. It is just an attempt for us to play around and tune it to suit our specific look & feel. e.g. we may construct ourself a fb2k theme/skin and let this help us in manipulating a VU Meter.
It is in no way can compared with well-coded, beautiful and rich-feature one of @oops' or the 32x version.
hi @Defender,
yeah, you are totally right.
wish you both a nice day.
@ilovefb2k
Hi @Defender , @sveakul, @Air KEN and @all,Spoiler (click to show/hide)[/spoiler]
Hi @Air KEN and @all,
As per some feedback and suggestions , please find the JSP3 "AIMP Analog VU Meter" update attached, version named "1.0.1 QM 05-11-24" for convenient reference.
This update addresses some points:
- High CPU load.
- Covering some very special cases, which were not easy to find a skin for, but they are there, finally. We also attached some for your quick loading:
+ The needle is upside down. Technically, the y_needle coordinates can be in (>=0) or outside (<0) the background area.
+ The needle is horizontal.
We find it very interesting as, to some extent, we could not think of such skins existing early on. Wow, what creativity from us as an audio lovers community.
Spoiler (click to show/hide)
A week has gone by too fast, like the wind. Please find the updated JSP3 'AIMP Analog VU Meter' script attached, named version '1.0.13 DT-K 08-Nov-24' for convenient reference, details as following:
Just one feature was added: unlock aspect ratio, as per @Defender's suggestion.
A free night weekend allowed me to play around with this feature, which I also think is a must-try if we want the script to move on to 'animation' VU Meters, which contain pre-calculated data/images per needle angle.
Please note that once this option is on, CPU load may be
What happens behind the scenes:
The script will create around 200 x 2 channels = 400 needle images (we may tune this number per the hard-coded variable stepCache, for now), which are number of screenshots of needles per angle along the meter range, then load them into 'heap' memory. We will instantly note an increase in RAM consumption in less than 1 second, then it will return to normal.
Later on, we just retrieve each needle image by its index-converted angle as real-time calculated.
To do this, we have to do a trick, just jotting it down here for those who want to make it better:
-Step 1: Allocate memory for hundreds of images.
-Step 2: Draw needles, 1 needle per 1 image, per 1 angle. This takes about 1 ms each.
-Step 3: Garbage collection. As we allocate stack memory, we have to clear it ourselves or soon end up crashing. This will also take more than 1 ms each, which is time-consuming.
So, we have to make an async task, which will transfer the clearance job (step 3) to another thread, and we can move on. In principle, we can reuse some async methods of JSP3 to do this job in a very 'strange' manner. For example:
Code: [Select]
fb.AddLocationsAsync(window_id, [""]);Or, simply, leave this mess for
on_locations_added(task_id, handle_list) { do clearing job, which is not related to this native function}
Code: [Select]
window.SetTimeout({do clearing job}, 1)=> We move on, and this method, on another thread, will do the clearing job after 1 ms and not bother us.
As such, we will experience a frozen-screen instance (not core audio engine) for a very short time. To save CPU power, just do this one time per current panel size until we move to another skin. Consequently, the resolution will not be nice if we enlarge the panel size, or we will have to switch forward and back just 1 skin to update the needle images caching for the current panel size.
If something seems wrong (e.g. needles are not on show), then a 'hard reset' via context menu [shift +right click] will bring back default setting and may help.
And that is all. Wish you all the very best and a very nice weekend.
Regards,
@ilovefb2k
15
3rd Party Plugins - (fb2k) / Re: JScript Panel script discussion/help
Last post by ilovefb2k -@ilovefb2k : with your next AIMP Analog VU Meter script, is there any chance of adding:hi @sveakul,
1. Vertical layout for separate L/R meters?
2. Support for non-LVU AIMP analog skins that have "LEDs" and dual needles? (skin attached)
these features are very nice, we will surely consider them in the next update.
thank your for your nice suggestions and positive feedbacks so far.
it is true that, we alone can go fast, but we together can go further.
regards
@ilovefb2k.
16
3rd Party Plugins - (fb2k) / Re: JScript Panel script discussion/help
Last post by ilovefb2k -skins.7zHi @Air KEN ,
https://mega.nz/file/8L9XSRDJ#S1tH53eoNSbIMh8ujNKEXphb3uH7LehSeGXRl5F-eJo
Unzip the skins.7z file.
Place the skin folder as follows:
"foobar2000-v2"
This is the configuration folder "foobar2000-v2" folder. Place the Skin folder you downloaded there. The Skin folder is included. Then, start foobar2000 and load the Script file ({deployed} AIMP Analog VU Meter.txt).
Everything is included.
Just place the "Skin" folder you downloaded and unzipped. It's easy.
This is a JScript Panel script. Once you have set the folder, all you have to do is load the script.
Please take your time and read carefully. Reading carefully is the best way to understand.
It is very nice of you, thank you.
wish you a nice weekend.
@ilovefb2k
17
3rd Party Plugins - (fb2k) / Re: JScript Panel script discussion/help
Last post by ilovefb2k -Hi @Defender,2 -1: sometimes the properties reset themselves : I did utilize window.Reload(option), where option = false. this should not trigger any properties reset to default. i will check it over the weekend.@ilovefb2k
2-2: add separate padding options for right and for bottom : Done. please find the script attached. There may be likely bugs cause i am in a rush.
4- It is fantastic that you can play around with that. I humbly raise an idea to calculate x0,y0 as per image attached. It should be easy for you to catch up.
2-1) Properties still reset sometimes.
2-2) Thanks for adding margin properties for top and bottom. I asked this just for consistency since I always set them to 0.
The alignment option works great. I always put it to Center. It rises an issue though. When the available height is greater than needed the vu meter is aligned correctly. However (after adjusting PivotPointX and PivotPointY) at high output the needle displays under the allotted space for the VU meter. and under the opaque L_2 png. See attached screenshot (needles in red to show the issue).
As you can see in the screenshot the original VU meter resizes automatically to use full available space.
Is this functionality you are going to look into as well?
I realize that angle calculations will become more complicated.
Another nice feature of the original VU meter is that you can adjust sensibility my using control mousewheel. which would be a great feature instead of entering a fixed value in properties.
Thx
Def
Thank you for your feedback.
I have tried some approaches tonight to get the skin stretching (as @oops does with vu_vis_meter 'unlock aspect ratio') but ended up with almost nothing but a small progress. How hard we have tried, we could consume a lot of CPU power. I will have more details later on in the hope that someone will help.
Regarding your feedback:
1- Properties still reset sometimes: We removed the window.Reload() method but alert users to restart fb2k.
2- Adding margin properties for top and bottom: It is very nice to know that. I have just refactored the script as I did it in a rush last time.
3- The needle displays under the allotted space for the VU meter: I also noted this early on, as a weird tail. This is a set combined of INI, background, and cover, and it is there because I do not fully understand the algorithm drawing the needle curve. For now, we have to erase the needle's 'tail' a little bit. I tried, and it worked. Well-noted this point. As you pointed out, a stretching layout will address this problem, and I tried to add that feature to the script. Please refer to my next post for more detail.
4- Adjust sensitivity by using the control mouse wheel: As needle decay speed is dictated by AIMP VU Meter's INI file, I would leave it as it is supposed to be, in my humble opinion. User input is needed only if the MobilityNegative option is missing from INI.
Regards and wish you a nice weekend.
@ilovefb2k
18
General Audio / MOVED: Custom album list view
Last post by korth -19
AAC - Tech / Re: AAC frame lengths
Last post by Klymins -See Reply#12. And, I currently don't really have the ability to improve something that complex, I just hope I'll have the ability to do that in the future.It is really difficult to develop a new codec or at least take an existing codec to a more advanced level. Unfortunately, considering what you have written on this and other topics, this task seems truly impossible for you.
Yes, but only for now.
20
General - (fb2k) / Custom album list view
Last post by zelarra -I noticed that the custom view for the album list that you helped me get removes the folders I don't want, but not the songs.
This is it:
$directory(%path%,3)|$directory(%path%,2)|$if($or($strstr(%directory%,Infancia),$strstr(%directory%,Navidad),$strstr(%directory%,Varios)),,$directory(%path%,1)|[%title%])
The folders I don't want to show the songs are those three that you can see in the if.
Can anyone help me?