Skip to main content
Topic: [USELESS] volume in foobar (Read 12553 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[USELESS] volume in foobar

Reply #25
Just get foo_mixer (it controls the windows volume) and be done with it. No more lag.

[USELESS] volume in foobar

Reply #26
How often do you need to adjust the volume? ReplayGain should take care of files or albums being too quiet or too loud, while there is a dynamic compressor for other purposes.
[a href="index.php?act=findpost&pid=245356"][{POST_SNAPBACK}][/a]

I don't understand why everytime a users ask for a volume slide, somebody talks about replaygain.

Replaygain is very nice, but volume is needed anyway. Sometimes I want to listen music loudly and sometimes not, replaygain doesn't help here.

my 2ยข

[USELESS] volume in foobar

Reply #27
If he is using a large buffer size with the extended version of DirectSound v2, then he will experience output lag on top of DSP lag. I am not sure that DirectSound v2 needs a buffer as large as the fade durations, since the volume is handled by DirectSound itself.

I see you have the output buffer size set to 3150ms. See if reducing this to 150-200ms breaks fade on stop/pause/seek.

I mention ReplayGain to fill the need to change the volume when music forces you to. As for frequently lowering the volume, you can use my Mute DSP control, which can instantly attenuate to a specific level, independent of the volume control DSP. It is toggled by a menu item, which can be configured to a hotkey.

The reason volume control cannot easily be made realtime is because the output API would need to handle the task. That would be easy for DirectSound, where each output stream has its own volume level, but KS, ASIO, and even WaveOut would either need to scale to volume in realtime or adjust the system mixer level, which would affect everything going through the device.

A "possible" solution for realtime volume scaling in output would be for the output to buffer only 50-100ms of audio data, and handle this buffer in its own thread at highest or even realtime priority level, then buffer up to a second of audio data outside of this, and perform volume scaling as audio passes from the larger buffer to the smaller buffer. This is not a nice solution for independent near-realtime volume control.

[USELESS] volume in foobar

Reply #28
for instant volume changing, there's also the possibility to do this with foo_looks.
Hadda made a great skin (Foopilot One) that features instant volume changing and muting.

[USELESS] volume in foobar

Reply #29
Ahh the ongoing volume control discussion, i truly think there is only one way to get this discussion to stop

Q: is it at all possible to modify, say the foo_out_dsound_ex2.5, to just include a volume control internally. I think the only solution is to include the volume control directly in the output plugin.
The real problem is the delay, the actual gui volume slider isn`t even necessary, and if it is, it can`t be that hard to include.

[USELESS] volume in foobar

Reply #30
Ahh the ongoing volume control discussion, i truly think there is only one way to get this discussion to stop [a href="index.php?act=findpost&pid=245751"][{POST_SNAPBACK}][/a]

..and at this point I actually wish it'd be implemented just so people shut the flac up. Kind of like the seekbar "incident" back in the day.   
A riddle is a short sword attached to the next 2000 years.

[USELESS] volume in foobar

Reply #31

[USELESS] volume in foobar

Reply #32
Let me simplify this for bewildered new users who've waded through this topic without finding a clear answer.

[span style='font-size:13pt;line-height:100%']- Foobar2000 is a music player with no volume controller.
- In order to adjust the volume, you have to dig through the preferences.
- When you finally make your volume adjustment, there's a delay before it takes effect.[/span]

Foobar2000 looks like a very nice programme in other respects,  DSPs etc.

But what strain of lunacy, idiocy or cretinism made its programmers design a MUSIC PLAYER with NO VOLUME CONTROL???

To add insult to injury, it also seems clear that foobar users in this forum are bitterly impatient with anyone who complains or inquires about this basic deficiency.

"Why would you need to alter the volume?" they ask.

Well, why would you need brakes on a bike? What could possibly make you need a roof on your house? Why would you need to flush a crapper? Just imagine going to meet your girlfriends parents for the first time, needing the loo, only to find it missing its handle, and then upon embarrassedly inquiring where it might be located, to be met with incredulous expressions and told if you insisted on flushing it, you would have to remove the cistern's lid and fiddle with the ballcock.

It's bound to be apparent that I'm highly amused by this completely barmy piece of kit. I suggest, if you want this to ever become popular,

[span style='font-size:14pt;line-height:100%']1. Code in a volume control.

2. Make it respond instantly.

3. Show more courtesy to sane people.

[USELESS] volume in foobar

Reply #33
scarriple, you are wrong.

*surprise* There [span style='font-size:21pt;line-height:100%']is[/span] a volume control.

In order to adjust the volume, you have to press keypad + or -, or anything else you set as hotkeys. And add the volume control DSP to the DSP chain (I guess it's there by default)

You can set up foobar so you won't have a noticable delay. Without plugins. As I do. You can use the foo_mixer plugin and so the volume control will act the same way as with any windows app.

And more importantly, you should read at least one of the answers the developers gave to any of the zillion threads begging for a volume slider without reading the answers to a previous thread with the same topic.
Life is Real...
(But not in audio :) )

[USELESS] volume in foobar

Reply #34
To me foobar is a source, and I don't want to change the volume at the source. That's one of the main purposes of my amplifier(s).

Just the same situation as with the volume control on my stand alone CD-player, I don't need it.

I guess this thread is as good as closed now...


[USELESS] volume in foobar

Reply #35
Realtime independent volume control would only work for DirectSound. Every other output method would require a low latency base layer buffer, maintained by a high priority thread, while the higher latency buffering is handled at a higher level of the output. Volume would need to be applied to samples in software just like the DSP, only using this low latency proxy to the volume changes.

That, or it can adjust the system mixer, but then it has to be configured for whether it controls waveout or master volume, if either one exists for the selected device. It gets more complicated for ASIO or KS, which may or may not be affected by the mixer at all.

Winamp just has volume implemented in the output API, DirectSound outputs control independent DirectSound stream volume. WaveOut controls the device mixer settings. I don't know what ASIO does. An experimental KS output released on this forum (, not the Foobar2000 forum.) doesn't support volume control at all, so the in-player volume control has no effect.

"Works most of the time, good enough, right?" Maybe you should just use what works for you instead.

SimplePortal 1.0.0 RC1 © 2008-2020