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
Scientific Discussion / Re: Holographic Media for Analog Audio
Last post by saratoga -
The ray diagram in drawing one doesn't do the refraction at the lenses correctly.  It should look like this:



Since the reference field doesn't overlap with the object field on the recording media, this does not form a hologram.  Have you tried to build one of these devices?
2
3rd Party Plugins - (fb2k) / Re: Device-Priority-SMP
Last post by Defender -
Sorry I wasn't clear.

Ad 1) With selecting manually I mean click on the button that shows a dropdown of available output devives and then click (not SHIFT click) the output device you want to activate.

Ad 2) When switching to an available device you don't get a popup and playback just continues on the newly selected device. What I mean I want that behavior too when (instead of switching) the activated/playing external device is switched off.

Ad 3) Tested that already, but doesn't work for me. The JBL Charge is not only used by me and as such I don't want to switch automatically to it when it comes online. Might be one of my kids takimg a batch and wanting to stream to the JBL from their phone.

So what I'm looking for is select any available device I want (by clicking it; not SHIFT clicking it) and continue playing to the chosen device without a popup. Here is no issue at all because foobar does that by default if the device is available.

The issue is that when the external device that is being used for playback is switched off by pressing its power button, foobar responds with stopping playback and giving the popup when I use my code. What I want is that foobar just goes to an available fallback device and continues playback wiyhout the popup.

I tested my code with adding the following lines when a device suddenly is unavailable:
   fb.RunMainMenuCommand('Playback/Device/' + arr[1].name);
   if (fb.IsPlaying)   fb.PlayOrPause();
With this code the second output (PBS) is selected and if the switched off external device was playing the Play command is also executed but starts playing from the beginning of the track and always gives the popup.
Kind of weird that fb.IsPlaying is true when foobar obviously stopped playback.
 
When I use your button and have set it to Enable Auto Device ON, playback does continue on the device with the highest priority that is available, which is almost hat I want.
Unfortunately this only works the first time without the popup. And I have to switch devices by pressing SHIFT before selecting another device. If you don't hold shift while clicking another device it just reverts to the first highest priority available device.

Hope this makes it a bit clearer for you.
3
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
4
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.

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"

 
5
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.
6
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?
7
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?
8
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
9
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?
10
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)