Skip to main content
Recent Posts
1
Off-Topic / Request for help on my own skin
Last post by Loigzorn -
Hello everyone,

I'm new to this forum as I`m to foobar2000.
In the last few weeks I took my first steps to create my first own Skin and atm it looks likes in the picture below.
I do like how it looks but I think I have some kind of bug in my coding. Right now I'm at a point where I don't know how to solve it on my own. So I hope you can take a look at it. The problem is: sometimes if a new song starts or if I start playing a different playlist it switches to one of the other views. For example form "Playlist" to "Bio".

The related code looks like this:
Code: [Select]
$puts(back.color,42-44-46) 
$puts(font.color,215-215-215)
$puts(font_dark.color,85-85-85)
$puts(button_h.color,0-250-206)
$puts(button.color,0-235-191)

//--MAIN PANEL SWITCHER

$ifequal($get_ps_global(showpanel),1,
$showpanel_c(Playlist,1)
$showpanel_c(Lyrics,1)
$showpanel_c(PlayItem,1)
$puts(PlaylistButton,$get(button.color)),
$showpanel_c(Playlist,0)
$puts(PlaylistButton,100-100-100))

$ifequal($get_ps_global(showpanel),2,
$showpanel_c(Bio,1)
$showpanel_c(Lyrics,1)
$showpanel_c(PlayItem,1)
$puts(BioButton,$get(button.color)),
$showpanel_c(Bio,0)
$puts(BioButton,100-100-100))

$ifequal($get_ps_global(showpanel),3,
$showpanel_c(Youtube,1)
$showpanel_c(Lyrics,0)
$showpanel_c(PlayItem,0)
$puts(YoutubeButton,$get(button.color)),
$showpanel_c(Youtube,0)
$puts(YoutubeButton,100-100-100))

$textbutton(20,20,100,50,Playlist,Playlist,SETGLOBAL:showpanel:1;
REFRESH,
fontcolor:245-245-245 brushcolor:$get(PlaylistButton),
fontcolor:255-255-255 brushcolor:$get(button_h.color))

$textbutton(135,20,100,50,Bio,Bio,SETGLOBAL:showpanel:2;
REFRESH,
fontcolor:245-245-245 brushcolor:$get(BioButton),
fontcolor:255-255-255 brushcolor:$get(button_h.color))

$textbutton(250,20,100,50,Youtube,Youtube,SETGLOBAL:showpanel:3;
REFRESH,
fontcolor:245-245-245 brushcolor:$get(YoutubeButton),
fontcolor:255-255-255 brushcolor:$get(button_h.color))


The first time this bug occurred was as I implemented the second panel switcher on the left side. It is written on a differnet layer so I dont know why they should be related to each other in any way.

Thank you for your time :)

Loigzorn

2
3rd Party Plugins - (fb2k) / Re: Columns UI
Last post by TheQwertiest -
@musicmusic : Thanks for all the work on CUI! I've tried using the latest v1.0.0 version and wanted to share a bit of feedback - in the preferences menu there a lot of space taken by the sub-headers on the page and a lot of unused space in general.

Most obvious example is the Layout page:
Spoiler (click to show/hide)
- A lot of space is taken by the "Layout" text, which could be otherwise used for displaying the layout tree.
- A lot of empty space is on the right side of the layout tree (i.e. where all checkboxes are): the checkboxes could be safely moved further on the right.

And a small suggestion: is it possible to add ability to mark panels with labels in the layout tree (e.g. "Panel Stack Splitter (Library Switcher)", or "JScript Panel (Menu)")? It's getting a bit hard to organize the panels when there are a lot of them, and all their displayed names are the same...
4
General - (fb2k) / Re: Album art column, is it possible?
Last post by Littlesloth -
Hello,
the initial post it from 2012 and I think it is still not possible to display albumart thumb ungrouped as an coulumn.

For me it would be sufficient to get the information "artwork count" like media monkey, Mediatogger, MP3Tag or Jaikoz does it.
It looks like Foobar has NO possibility to add columns with artwork info like width, height, artwork type, number of artwork, size of artwork, linked artwork etc.
The absolute minimum would be to get the information "artwork count embedded"

Best,
Fred
5
General - (fb2k) / Re: [Request] View ReplayGain Track Gain True Peak Levels in Playlist as dB
Last post by darkflame23 -
For me it comes down to the fact that loudness standards and metering have been adopted by the film and broadcast industries (and to a lesser, but growing extent, audio engineers), and it is a far better gauge of perceived loudness than VU, peak, RMS or so called "DR" figures ever were. So while it might seem like a fad, for me it's actually a much more useful measurement, as I am balancing the track to track loudness on albums on a daily basis.

Being able to see the LUFS integrated figures for tracks in the FB playlist is great (I could finally ditch that horrible, buggy DR component), and being able to see the over-sampled TP level in dB would just be the icing on the cake. ;)

So is it possible?
6
3rd Party Plugins - (fb2k) / Re: iPod manager
Last post by musicmusic -
There's nothing particularly special about the download, so that shouldn't really be happening.

I would try disabling anything that could interfere with the download (internet security software etc.), try a different browser, computer and/or internet connection.

If you are still aren't having any luck, press F12 on the download page, switch to the Network tab and start the download. There should be an entry for the download in the network log – select it and post a screenshot. Also right-click and select 'Save all as HAR' and post that file.
7
General - (fb2k) / Re: How to sort multiple syntax at the same time/in one line?
Last post by fyrstormer -
When sorting a multi-column list by clicking on the column headers , you start with the last column you want to sort by. In my case it's:

4. Track #
3. Album Name
2. Year
1. Artist Name

The reason for this is because the list items with the same value in field 3 will maintain their previous order from when they were sorted by field 4, and then the list items with the same value in field 2 will maintain their previous order from when they were sorted by fields 3 and 4, etc., so the sorted fields are "nested" from the inside out.

But when you can specify all of the fields you want to sort by at the beginning of the process, you start with the first field you want to sort by, and the sorting algorithm nests them together from the outside in.
8
Scientific Discussion / Re: What bit-depth is required for low frequency sine
Last post by fyrstormer -
I'm not sure why bit-depth would affect regeneration of a pure sinewave. D/A converters inherently use the mathematical properties of a pure sinewave as their model for interpolating missing data between samples. Even if the hardware designer wanted the D/A converter to produce a stepped waveform instead, the resistance and inductance of the wires carrying the output signal would round-off the edges of the stepped waveform to make it more sinusoidal. Hypothetically you could record a pure sinewave at a bit-depth of 1 and any D/A converter worth paying for should still be able to reconstruct a pure sinewave from the recording.

In fact, at the hardware level, this is precisely how PWM D/A converters work -- a bit value of 1 tells the D/A converter to increase the slope of the output waveform by a fixed rate, and a bit value of 0 tells the D/A converter to decrease the slope of the output waveform by a fixed rate. (alternating bits of 1 and 0 tell the D/A converter to not change the slope of the output waveform at all, by effectively cancelling each other out.)

In this way, a stream of 1's and 0's can describe a waveform of any shape -- the maximum detail of the output waveform is affected only the the sample rate, not the bit depth. Granted, digital audio is generally recorded and played using PCM instead of PWM, but the basic idea remains the same. So your pure sinewave should be able to be accurately encoded at any bit-depth, provided the sample rate is at least 2x the frequency of the sinewave.
9
Opus / Re: Opus 1.3-rc
Last post by jmvalin -
Quote
Opus release 1.3-rc2
...
Please don't do that. I realize how tempting it is to scoop everyone in announcing a release before the maintainers do, but it's not helping. These are "tentative" tags and tarballs. They may be released as is or they may not if we find build issues while finishing the release. We uploaded them in advance to minimize the risk of screwing up during the release, but if it's no longer possible to do that, then we'll have to upload everything at once, increasing the odds of messing up. Yes, Opus 1.2-rc2 is coming, but it's not all wrapped up and announced for a reason. Please respect that.
10
Audio Hardware / Re: Replacement for Sandisk Clip+
Last post by artnoi -
I had a clip+ too but too bad it died.
This time I didn't want to pay the premium for a brand-new device from 2009 or so, so I decided to go with Chinese player and here I got the Shanling M0. Although it's made by another "audiophile" company, this time I don't feel like being robbed for snake oil.

It has 2Vrms voltage output, and near-zero output impedance perfect for any loads.
And yes they have 2-way Bluetooth functionality with AAC!

The price I paid was around $99 which was equal to a refurbed Clip+ shipped to Thailand.

No Rockbox anyway :(

https://www.head-fi.org/threads/new-shanling-m0-nano-size-touch-screen-ldac-aptx-bt-usb-dac-transport-and-ess-sabre-es9218p-fw-2-1.874859/
SimplePortal 1.0.0 RC1 © 2008-2018