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
3rd Party Plugins - (fb2k) / Re: JScript Panel script discussion/help
Last post by marc2k3 -
You can send notifications to other panels by triggering this from a button click or menu item...

https://jscript-panel.github.io/docs/namespaces/window/#windownotifyothersname-info

And listen in other panels with this...

https://jscript-panel.github.io/docs/callbacks/component/#on_notify_dataname-info

After checking the received message, used window.Reload()

https://jscript-panel.github.io/docs/namespaces/window/#windowreloadclear_properties
2
Scientific Discussion / Holographic Media for Analog Audio
Last post by Ennis -
Hello guys:

I am an audio engineer. A while back I started to investigate all possible methods of transduction to see if it was possible to make a better analogue format. And I ended up putting together an idea, which I expect everyone can enjoy once it's made. It uses a cymatic "speaker-mirror" (in my case I am using a PA tweeter for it, and I am actually using two drivers together), plus direct electronic modulation of the intensity of a laser; everything placed in a holographic matrix-array.

This way it might be possible to record an analog audio track in less space than in an audio track on sound-on-film, and with more fidelity. If the efficiency achieved is enough (which I believe to be possible) it might be then possible to record a long enough play-time in a record of the size of a CD or a vinyl record.

There is also the possibility of recording an audio master in photopolymer ink or similar -to apply to it a similar process of electroforming than to traditional record stampers and make vinyl records with it. Perhaps some materials could  be etched directly with the audio track.

The general idea is to record both vinyl and optical audio  The circuits for recording for either and for optical stereo are already being designed.

Apologies for making such a short post for something like this. I don't want to take much of your time, but you can PM me or inquire about anything in this post.

Here is a link to the Canadian Patent application for this (I want to request examination once the prototype is finished and tested) :

https://www.ic.gc.ca/opic-cipo/cpd/eng/patent/3170018/summary.html?query=holographic+analogue+audio&type=basic_search

I am aware of the long-lasting debate between digital vs analogue. I know that most people would think that I am another freak out there... but trust me this is being designed with science and good taste. And I expect one way or another to have something to show in a few months from now.

Please let me know what you think.

Best wishes,

Ennis




MOD: Removed "fundraiser for informational purposes"

 
3
3rd Party Plugins - (fb2k) / Re: Device-Priority-SMP
Last post by regor -
I will carefully check your post tomorrow (and test your steps), but to be honest foobar acts in a weird way many times when switching devices.

I mean... I added like 2 or 3 hacks to avoid situations like those you describe (popups), which work most of the time, but may fail in some cases. A proper plugin should be done as a component, since I can only work with a few tools being a JS script.

1) Is by definition not possible. Since... how do the script knows if your device change is due to an user interaction or any other thing?
2) I want that too hahhahaha but it is not easy.
3) That works fine in my setup in +90% of the cases with the current code. I play music on my PC, then switch on my Bluetooth speakers, foobar automatically plays on them, take a shower, switch off my Bluetooth speakers and music continues seamlessly on my PC. Reading your sequence, I think you are using it wrong. Device 1 should be External,. device 2 the PSD. So whenever device 1 is on, it's used automatically. If it's not available, it just uses the next one. Check that, since I think that's your problem, you are doing the inverse thing.
4
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?
5
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?
6
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
7
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?
8
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)



9
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
10
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.