Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Digital audio ouput - why no volume control??

This is a problem that has been around for a while (ie. pre-Leopard).

Why is there *no global volume control* when using digital audio output? This includes the inability to mute the output as well as adjust the volume with either the keyboard or the apple remote.

It is *particularly annoying* with Leopard's Front Row as music is not being played via iTunes anymore so I can't use the iTunes volume control...

Please fix this Apple, it can't be that hard. There is no logical reason for disabling volume control for digital outpu!

Thanks,

Paul Martin

iMac (20") Intel, Mac OS X (10.5)

Posted on Nov 2, 2007 2:57 PM

Reply
15 replies

Nov 28, 2007 2:39 AM in response to nitramluap

How would you suggest they make the digital sound quieter? Make the 1s and 0s smaller?

Think about it - its a stream of digital information, not an analogue wave form that you can make bigger or smaller with more or less current.

It is up the receiving device which is decoding the digital information and using an amplifier to produce an analogue waveform out to speakers to set the volume...

If you are talking about airtunes through airport express - the volume control is being passed on to the amplifier in the airport express...

Nov 28, 2007 2:39 AM in response to nitramluap

This item probably won't be addressed. Its been there since the inception of OSX. The third party device is expected to control the volume. Digital control is not like firewire or usb, both of these can be controlled through software programming. If you ever find a way then by all means patent the idea and share your millions with us.

Nov 28, 2007 2:46 AM in response to enjayjay

Umm.... OK... I'm assuming you're trying to be helpful and not patronising.

To counter:
By your logic, if using digital output, all volumes on the computer would be normalised, but they are not.

I am using digital audio out from the iMac *and I can still control the volume of various applications* (ie. the DVD player, EyeTV, etc) before it is outputted to the digital output. Therefore, why can't there be a global volume output control for the *system volume* before the digital out?

It IS possible, actually and its omission makes no sense.

Paul Martin

Message was edited by: nitramluap

Nov 28, 2007 4:43 AM in response to DonH49

Well I connect my iMac to my surround sound system using an optical cable, which makes use of the digital-out signal, and as Paul says, the volume control in iTunes does indeed alter the volume being played, so the volume must be being carried along with the digital signal. I can see no reason why a system-wide volume control could not work.

Nov 28, 2007 5:17 AM in response to nitramluap

nitramluap wrote:
It IS possible, actually and its omission makes no sense.


Yes, it is possible but it isn't desirable. Here's why:

For any linear digital audio encoding process, the bit depth determines the resolution of the volume levels the format can reproduce. For example, for 16 bit audio there are 65536 possible volume levels between dead silent & the absolute maximum possible level (digital clipping). For 24 bit audio there are about 16.7 million levels.

So let's say that you want to turn down the volume at the digital output. The only way to do this is by throwing away all of those levels louder than the desired volume by scaling the output to what is effectively a lower bit depth. One half as loud means the most significant bit ("MSB") will never be a one; half that loud & the next MSB won't be used, & so on.

At first, this doesn't seem so bad but the problem is the human ear doesn't interpret "one half as loud" as you might think: hearing is logarithmic (which is why we usually use the logarithmic unit "dB" to measure it), so a sound that is 1/2 the intensity of maximum is only slightly quieter to the ear. Depending on the maximum level the digital input device can produce, it could easily be necessary to scale the digital output to one ten thousandth or less of the maximum output just to achieve a comfortable level, & to scale it much smaller still for background music levels.

So, for an effective volume control with a usable range from "very quiet" to "full tilt" you would really be going from "miserably inadequate resolution" to "high quality resolution."

If you want to hear just how miserable sounding the quiet settings would be, & you have any sound editing software that can change digital volume levels of samples, try this:

Select a short sample & reduce it by 40 dB. Save it & then renormalize that saved sample to full scale. Listen to the result & compare it to the original. Not too pleasant, is it?

Nov 28, 2007 12:36 PM in response to macpiciu

Only the iPod HiFi speakers.

I was using just a standard 3.5mm stereo cable before but the incessant popping and clicking (particularly when waking from sleep mode) was annoying.

I use the iMac instead of a TV, DVD, DTT, etc etc in the lounge and the only remote I want to use is the Apple remote. It all works well except for controlling the system volume. This makes Front Row useless as I can't change the volume (or mute it)...

Maybe if they just allowed Front Row to have a pre-output volume control - that would solve the only problem I have.

I think I might just go back to the cable and hope that Leopard has fixed the popping...

Paul Martin

Nov 28, 2007 12:41 PM in response to R C-R

I can reproduce what you say when using Soundtrack Pro but not when I'm using the volume on the iMac with the digital output.

I tried playing a CD with iTunes volume at full and my external speakers to a reasonable level. Then I reversed this and had iTunes playing the CD at the lowest volume and then I turned up the speakers until the music was the same volume as before - sounded identical.

Why don't they just add an option under 'Sound Preferences' which allows pre-output system volume control ON/OFF? A choice would be nice.

I don't know... I just want to be able to control the volume in Front Row without needing another remote. I like the way I can listen to music, watch TV, DVDs, etc with just one tiny white remote control...

I'm ditching the optical out and using the old 3.5mm stereo cable. I'll just have to put up with the popping.

Paul Martin

Nov 28, 2007 6:55 PM in response to Froglet

Froglet wrote:
... as Paul says, the volume control in iTunes does indeed alter the volume being played, so the volume must be being carried along with the digital signal.


Most digital audio formats do not support encoding volume level as metadata, so there is no way to implement a standardized, global digital audio volume control for a standard S/PDIF output, period. There are only four bits available for this use in the standard & they are rarely used for metadata, especially in consumer gear.

The audio can be scaled digitally, but as previously described, this is a low fidelity approach not suitable for general use.

Nov 29, 2007 8:15 AM in response to nitramluap

Maybe if they just allowed Front Row to have a pre-output volume control - that would solve the only problem I have.


If you are referring to a volume control that varies the volume of the digital S/PDIF output, you are again asking for something that can't be done without a huge hit on fidelity. S/PDIF is capable of high fidelity because it transmits audio at 20 bit resolution. This means there are about one million (2 to the 20th power) possible audio levels each sample can have, 16 times better than CD quality resolution.

So (one again), if you want to reduce the maximum volume by 1/2, you can transmit numbers no greater than about 500,000 on the S/PDIF output. In effect, that reduces the resolution by one bit. The same is true for greater volume reductions: 1/4 of max uses only the lower 18 bits, 1/8 of max uses only the lower 17 bits, & so on. And because the ear responds to the log of signal intensity, you will need to provide reductions of at least several thousand times to create a useful volume control. It should be obvious that very quickly, the effective resolution drops below CD quality & keeps going down the quieter you want the volume control to be capable of.

The way around this is to transmit the digital signal at full resolution, decode it, & apply an analog volume control to the output ... exactly what the iPod HiFi does when you use the remote to control its volume. Your problem, of course, is that the remote does not have the ability to control more than one Apple device at a time, so you need two remotes, a learning remote, or some similar solution.

Dec 25, 2007 10:21 PM in response to nitramluap

As far as I can tell, the ability to control the digital output volume level is neither an unreasonable ask nor is it impossible to achieve without impact on resolution etc.

If you use the DVD Player and output audio via a digital interface you can .... change the volume level using the DVD Player's volume control!

The issue here is consistency.

This may sound odd, but I'm trying to achieve something similar, in that I only want to use the Apple Remote for day-to-day access of TV (don't get me started on the lack of DTT Controller integration opportunities with Front Row), iTunes and DVD Player.

I want the audio from EyeTV to come from my Mac (analog) and everything else to go via an EDIROL UA1D USB digital audio interface into my hi-fi system.

Infuriatingly, there appears to be no way to differentially set the DVD or iTunes outputs in Front Row to the digital out, and further, the Apple Remote's volume controls don't operate the DVD Player's volume control, lazily defaulting to the system output.

The more I read these posts and try to explain what I'm trying to achieve, the more I realise how much of a tangle this has become.

Here's the rub:

- I would like to see a standard means of selecting the default Audio Output should exist for each application that makes any sort of noise (including Front Row!) just like when selecting a Printer, for example.

- I'd then like to see the Apple Remote volume honor that selection when operated.

Digital audio ouput - why no volume control??

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.