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
3
3rd Party Plugins - (fb2k) / Re: De-emphasis components
Last post by SHM-CD -
In regards to CD De-emphasis:

You may be interested in this video by Gary Galo.

RED-BOOK DE-EMPHASIS USING THE IZOTOPE RX EQ MODULE presented by Gary Galo

https://www.youtube.com/watch?app=desktop&v=WL2t0X8Mb-w

He suggests F = 5780 Hz, Gain = -5.2 dB, Q = 0.5, for his de-emphasis parameters.

Using foo_dsp_effect 0.50 beta 7: IIR Filter, I added these parameters to the High shelf filter option and converted a known pre-emphasis CD. I have no idea whether these parameters match what Gary Galo is doing since I don't know the inner workings of foo_effect_dsp. I just listened to and compared replay gain data in Foobar2000 between this and th default CD De-emphasis filter for fun. I think Gary Galo had his filter graphed out going from 1 to 100 kHz.

I have no expertise in this area but maybe someone would like to investigate this.

Thanks
SHM-CD
4
General - (fb2k) / How to use custom sorting on a Filter without changing the text displayed (CUI)?
Last post by aelklirion -
I have two filters, one for the artist, the other for the albums, so when I select an artist on the first filter, all their albums appear on the second filter. I went to Preferences->Display->Columns UI->Filters->Fields and changed the Album field to $year(%date%) - %album%, so the albums appear in the order of their release year. But say I have an artist with 3 albums, but each album has 3 versions. They appear like this:

2000 - Album 1
2000 - Album 1 (Instrumental)
2000 - Album 1 (Remaster)
2004 - Album 2
2004 - Album 2 (Instrumental)
2004 - Album 2 (Remaster)
2007 -Album 3
2007 -Album 3 (Instrumental)
2007 -Album 3 (Remaster)

I want them to appear like this:

2000 - Album 1
2004 - Album 2
2007 -Album 3
2000 - Album 1 (Remaster)
2004 - Album 2 (Remaster)
2007 -Album 3 (Remaster)
2000 - Album 1 (Instrumental)
2004 - Album 2 (Instrumental)
2007 -Album 3 (Instrumental)

I created a tag called "type", corresponding to each version. So the first 3 have 1 for type, the Remasters are 2, and the Instrumental versions are 3. By changing the Album field to $rgb(255,255,255)%type%$rgb(0,0,0)$year(%date%) - %album% (the Filter's background color is white), I get to use the type tag for sorting in the filter while keeping it invisible. However, when I select an album, the color of the text changes to white when the blue selection rectangle appears around it (an expected behavior from my Color settings), and the type tag becomes black for some reason, making it visible again. So is there a way to either:

1) Add some conditional statement to my currently $rgb(255,255,255)%type%$rgb(0,0,0)$year(%date%) - %album% so that the color of the type tag changes to the background selection color when the album is changed. I've used conditional statements for a few things, e.g. $if(%playback_time%,%playback_time% / %length%,) on Text Display to ensure I don't get ?? / ?? when no song is playing, I'd just need to know the condition for "is selected".

2) Sort the albums in the filter by type and then year without having to include the type tag in the field. This works for the playlist view, I changed the pattern under Filters->Behavior->"Sort tracks added when added to a playlist by:" to %album artist% - %type% - %date% - %album% - %discnumber% - %tracknumber% - %title%. This would be preferable, since I also want the albums to appear as "album name (year)", not "year - album name" like I have now. Also, there are 3 colors involved here: my layout background color, which is white, the active selection rectangle, which is blue, and the "non-active" selection rectangle, i.e. what the blue changes to when I select a song in the playlist view from the album I have selected (grey in my case). So 1) probably wouldn't work unless I can add two conditionals or something.
5
General - (fb2k) / Re: HDCD Alterative?
Last post by Cannonaire -
I am certain I need it. 181 tracks in my collection are HDCD, spanning several of my favorite albums, including two albums and several singles from my favorite artist.
6
General Audio / Re: Can SoX handle float file with volume over 0dBFS?
Last post by Kraeved -
New day, new discoveries on Hydrogen. Now I have found out that mighty SoX does not work internally with floating point. One might think this feature should be prioritized as soon as possible, but the latest version 14.4.2 has been frozen for 8 years already. “Life will never be the same again”.
7
3rd Party Plugins - (fb2k) / Re: JScript Panel
Last post by marc2k3 -
Everyone else handles that gracefully so I guess I should as well...

3.4.9
Quote
Update window.GetFontCUI to gracefully handle a font with zero size being defined in the Preferences.

https://github.com/jscript-panel/release/releases

BTW, the most likely cause of it being borked was using foo_ui_hacks.

edit: most components didn't have to do anything because GDI fonts default to something sane if source properties are nonsense.

I'm storing the font name as a string and using numbers for other properties like weight, size etc. Passing a size of zero to this method caused the error.

https://learn.microsoft.com/en-us/windows/win32/api/dwrite/nf-dwrite-idwritefactory-createtextformat


8
MP3 - Tech / Re: Clipping in MP3
Last post by DVDdoug -
Quote
I see the solution was to use MP3Gain app. I tried it and didn't understand its relevance in this case. It allows me to considerably lower the volume of an audio file (so-called 'apply Track gain', much like Replaygain does) or raise it without going above zero (so-called 'apply Max No-clip gain'), but I didn't find how to make clipping disappear only without making the rest of the sound too quiet or too loud. That is, if lossless TP is -1.5dB and MP3 TP is 1.5dB, make the latter slightly below 0, not say -7dB. And if lossless TP is -15dB and MP3 TP is -13.5dB, then do not touch it at all.
By default, MP3Gain (and ReplayGain) will avoid clipping.   (There is an option to turn that off.)

Quote
I tried it and didn't understand its relevance in this case. It allows me to considerably lower the volume of an audio file (so-called 'apply Track gain', much like Replaygain does) or raise it without going above zero (so-called 'apply Max No-clip gain'
It can go up or down depending on the target loudness (which is calibrated to a dB SPL reference).   Because most commercial recordings (including quiet-sounding ones) are 0dB normalized and can't be increased without clipping, the target loudness tends to LOWER the volume of MOST recordings so everything can be volume matched.

Quote
but I didn't find how to make clipping disappear only without making the rest of the sound too quiet or too loud.
The whole idea is make the volume of all songs about the same.   Some quiet songs should be boosted but most will be lowered.

Note that (unlike ReplayGain) MP3Gain works in 1.5dB steps because the MP3 volume can be adjusted in 1.5dB steps without decompressing-recompressing.  That means you can usually volume-match to within 0.75dB.

Quote
That is, if lossless TP is -1.5dB and MP3 TP is 1.5dB, make the latter slightly below 0, not say -7dB. And if lossless TP is -15dB and MP3 TP is -13.5dB, then do not touch it at all.
"True Peak" is an estimate of the peak in the reconstructed analog waveform.  (i.e. inter-sample peaks).  It doesn't (necessarily) exist in the digital data.  I assume the analog side of most DACs can go over 0dB without clipping and I don't worry about it.  It's the digital data that's hard-limited to 0dB. 

...As far as I know, any clipping resulting the MP3 "accidently" going over 0dB (as a compression artifact) is not audible.    I've never heard it and I've never heard about it being tested.  If you're hearing a compression artifact it's probably something else, and by choosing MP3 you've already accepted a lossy (imperfect) format.  ;)
9
MP3 - Tech / Re: Clipping in MP3
Last post by Kraeved -
Oh, so I'm not alone in this quest of dealing with MP3 clipping.

Quote
I often come across 44 kHz 16 bit lossless songs with True Peak between -0.5dB and 0dB, which is calculated using the recommended EBUR128 of Foobar2000 player. When converting to MP3 using LAME, I see that True Peak changes noticeably, it becomes between+0.5dB and +1.5dB, sometimes even higher. By trial and error, I found that using a preamp of -1.5dB in the conversion chain helps keeping True Peak in MP3 files around 0. But it's a manual method, more suitable when all songs to be converted have no headroom to spare, and if any song has enough headroom on its own, its volume seems to be reduced for nothing. So what is the best course of action here, or am I worrying in vain?

I see the solution was to use MP3Gain app. I tried it and didn't understand how to automate the workflow properly. It allows me to considerably lower the volume of an audio file ('apply Track gain', much like Replaygain does) or raise it without going above zero ('apply Max No-clip gain'). But how to automatically process only clipped MP3 without making the rest of them sound too quiet or too loud? That is, if lossless TP is -1.5dB and MP3 TP is 1.5dB, make the latter slightly below 0, not say -7dB. And if lossless TP is -15dB and MP3 TP is -13.5dB, then do not touch it at all.

For example, LAME 3.99.5 has an option --clip-detect which offers a proper --scale # flag after processing an audio file to eliminate the clipping if one is detected, but, as you may guess, it requires two manual passes.

Perhaps, Foobar's DSP component called ReplayGain Alternative might be the very answer?

10
Support - (fb2k) / Re: Widows 11 - Audio Tray desync
Last post by verbal_666 -
Installed a clean version of W11, and the issue was solved.
I also resolved a great issue with Bluetooth 5.x in W11 when upgrading from W10.
I can say upgrading W10 to W11 is a bad process, it's full of problems after... install a clean fresh W11 👍