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.
Recent Posts
1
Other Lossy Codecs / Re: lossyWAV 1.4.2 Development (was 1.5.0)
Last post by Porcus -
Yeah, so that is one where LossyWav doesn't zero out anything that wasn't already zero (you find F800 and 0800 all over, except some 0000 at the beginning) - so in one way it is off topic to a LossyWAV thread (my bad for bringing it up if so), and on the other it shows why there is LossyFLAC and LossyTAK, but not LossyAPE.

I do get the frog down to 224 399, attached. And WavPack down to 348 022.

HALAC doesn't have very expensive block headers?
2
3rd Party Plugins - (fb2k) / Re: JScript Panel script discussion/help
Last post by Defender -
@Marc2k3

Just asking ...

Until today everytime I made a minor change in my AudioControls button code I had to copy & apply this modified code to all 23 JS3 instances I have in my skin for AudioControls.
Today I moved the whole code (except for the two parameters I have to set per instance) to a single file that is now included per instance via the preprocessor.

So now only a reload via Shift-WinKey-Rightclick Reload per instance needs to be done when the central code is changed. Works like a charm and saves a lot of time.

Is there maybe also an (hidden/disabled?) option available to force all instances of JS3 panels to reload themselves upon one mouseclick? If not, would it be possible to implement that like for instance an extra option in Shift-WinKey-Rightclick menu or a separate special key/mouse command?
3
Other Lossy Codecs / Re: lossyWAV 1.4.2 Development (was 1.5.0)
Last post by Hakan Abbas -
Many thanks for the illuminating information Porcus. According to the sample music in the link you show, the test results are as follows. There is no difference between the normal state of music and the lossy of the state.
Code: [Select]
00 - Dan Worrall - I Won The Loudness War
Halac (2048) :    466,531
Tak (512)    :    685,202
Flac -8 (512):    904,162
Wma          :    917,077
Flac -0 (512):  1,121,225
Wavpack (512):  1,321,353
Ofr          :  1,991,918
Alac         :  3,215,927
Ape          :  7,597,601
Wav          : 15,211,284
4
3rd Party Plugins - (fb2k) / Re: Device-Priority-SMP
Last post by Defender -
@Regor

Lately I started experimenting a bit with external outputdevices like bluetooth headphones/jbl charge, which I can select with a (modified) JS3 output button.
Works fine.

When output is set to such a device and the external bluetooth output device is switched off I included code to automatically select the second OutputDevice (Primary Sound Driver).
This kinda works but foobar responds with stopping playback and opening it's preferences page to Preferences/Playback/Output (popup) already preset to the second output (according to my code), and I have to just click OK in this page and start playback from the beginning of the track that was playing manually.

Marc2k3 gave me the tip to check your Device-Priority-SMP-2.2.0 package.

Did some testing after removing all possible interfering JS3 outputbutton code from my skin.

SITUATION A
I have set Device 1 to Primary Sound Driver (PSD) and Device 2 to external JBL. Enable Auto Device ON.

Sequence:
0) Start fooBar. Switch external on.
1) Start playback on PSD, SHIFT switch to external, Playback continues on external. No unnecessary popup. All OK.
2) Switch off external. Playback continues on PSD. No unnecessary popup. All OK.
3) Switch on  external and SHIFT switch to external. Playback continues on external. No unnecessary popup. All OK.
4) Switch off external. Playback continues on PSD, but I get the unnecessary popup with device already preset to PSD. Need to click OK to make it disappear.
5) Repeat 3. Same result. All OK.
6) Repeat 4. Same result. Not OK.

Why is the popup only suppressed in the first sequence?

SITUATION B
I have set Device 1 to Primary Sound Driver (PSD) and Device 2 to external JBL. Enable Auto Device OFF.

Sequence:
0) Start fooBar. Switch external on.
1) Start playback on PSD, switch to external, Playback continues on external. No unnecessary popup. All OK.
2) Switch off external. Playback stops. Popup opens up with empty preset. Have to manually select PSD. And manually restart playback. Almost the same as what I already have in my JSP3 button (although JS3 button is already preset correctly).
3) Switch on  external and switch to external. Playback continues on external. No unnecessary popup. All OK.
4) Repeat 2. Same result. Not OK.

What I would like to achieve is a bit of a mix of current functionality:
1) I want to select outputdevices manually (without the need for SHIFT).
2) When switching to another device I don't want a popup and I want playback to continue (eg standard functionality already).
3) When the current (playing) outputdevice is switched off, I want foobar to switch to a previous defined fallback internal outputdevice and continue playback (when foobar was playing upon switching off) on that device without unnecessary popup.

Is this possible with your Device-Priority-SMP code?
5
foobar2000 mobile / Re: Stop playback after each track in Foobar2000 mobile
Last post by zeremy -
Workaround :

You could disable from settings - Advanced - Show playback screen upon selecting track to play.

You would then have your playlist visible, and be able to select whatever track you want to play with whatever you need ( stop after current)  or (onetrack) or (onetrack+repeat)



6
Other Lossy Codecs / Re: lossyWAV 1.4.2 Development (was 1.5.0)
Last post by Porcus -
The idea behind LossyWAV was to exploit FLAC's wasted bits feature. And IIRC the reason for 512 samples blocks, is that then the number of wasted bits can change rapidly enough as the signal does.
TAK handles wasted bits. MPEG-4 ALS does (but you need to invoke the "-l" switch). WavPack too - and it can also handle other "redundant LSBs patterns" ( https://hydrogenaud.io/index.php/topic,121770.msg1024689.html#msg1024689 , and WavPack's handling is also likely the reason why it does so well on the high resolution lossless corpus in ktf's test: see the Pokemon on page 7).

ALAC does not handle wasted bits. Either because ALAC generally sucks, or because Apple was worried about some patent.
Monkey's does not handle wasted bits. Unlike ALAC, which never was intended to be a heavy compressor, it is more of an oversight for Monkey's, I say: take a 16 bit signal, pad it to 24, and the ape compresses baaad.
OptimFROG does handle wasted bits, but it does not operate on such low block sizes. Indeed, both the animals seem to think that longer is better, and then there is this odd signal where they get outcompressed by FLAC's way to handle ultra-short changes in the signal. Here is one where OptimFROG does awesome, but only in its lightest mode (shortest blocks I guess): https://hydrogenaud.io/index.php/topic,124862.msg1038820.html#msg1038820
More: https://hydrogenaud.io/index.php/topic,122413.0.html
7
3rd Party Plugins - (fb2k) / Re: JScript Panel script discussion/help
Last post by Defender -
Well you probably can't suppress the preferences popup or close it automatically. You need to take steps to ensure that doesn't happen by switching devices or stopping playback before unplugging.
This only happens (in my JS3 code) when the active output device is switched off. Nothing crashes, but a bit silly to have to click OK in the popup and restart playback. Minor issue of course.

The SMP code is different from what I want. That code can be set to automatically switch to the external output device without popup when it comes online and switches back to a prioritized other device when the external device goes offline (half of the times without the popup).  There is a lot of code to resume playback (and prevent the popup?) after switching when the active device goes offline.

I do not want to switch to the external device automatically since that device can come online when somebody else as an example wants to stream from his phone to that particular external device.

However the SMP code has all the bits and pieces of the functionality to create what I'm looking for.

I'll do a post about this in the Device-Priority-SMP thread.
9
3rd Party Plugins - (fb2k) / Re: JScript Panel script discussion/help
Last post by Defender -
I don't have removable devices to test but maybe you can use this Spider Monkey Panel script.

https://github.com/regorxxx/Device-Priority-SMP
Thx for the tip.

Made a testversion in which I removed all JS3 panels with my outputdevice code and installed the SMP code.

With some caveats the SMP code foobar switches to another output device when external output is switched off and continues playing.
Issue is that the Preferences/Playback/Output page does also pop up sometimes (not always) and needs an OK.
So in short the functionality I need exists within foobar.

I would prefer for uniformity (look& feel) to add the necessary code to my existing JS3 button, but a quick look at the underlying SMP code kind of freaked me out to try myself.
10
Other Lossy Codecs / Re: lossyWAV 1.4.2 Development (was 1.5.0)
Last post by Hakan Abbas -
According to the compression results of me with the music in me, the situation is similar to the majority of the tests I have performed. Of course this is the first trial. Better can be done. Lossywav is activated as a special mode for now.
They also perform low performance as I don't understand the reason for Alac, Optimfrog and Ape.