Page MenuHome

Change Audio defaults to 48000hz
Closed, ResolvedPublic

Description

Currently Blender uses 44100hz as its default sound output this creates some problems on some computers (See error message).

AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead

If 44100hz becomes the new default this removes the error message and clears things up for users. See T44416 T44334

Event Timeline

Aaron Carlisle (Blendify) set Type to Design.
Aaron Carlisle (Blendify) created this task.
Aaron Carlisle (Blendify) raised the priority of this task from to Needs Triage by Developer.

Is this useful information for users at all? Seems it's more confusing/annoying than useful. So maybe only show this in debug mode?

Ideally all these audio settings in the user preferences would just be automatically set to the appropriate value depending on the sound output device and the input audio file. I imagine there are very few users who understand what these settings do.

I'm not sure if it's possible to automate this entirely in practice, but certainly users aren't typically interested in getting 44.1kHz or 48kHz output specifically, they just want a reasonable default and don't need to see this warning.

Just to clarify: this message is printed by OpenAL soft and cannot be suppressed in the blender code. I think switching to 48 kHz as a default is the best solution and that's what the committed fix does. I was worried if we get the opposite error message now, with hardware only supporting 44.1 and not 48 kHz, but according to [1] this does not seem to be the case. In any case 48 kHz seems to be the superior default when I looked up the alternatives [2].

[1] https://en.wikipedia.org/wiki/44,100_Hz#Status
[2] https://en.wikipedia.org/wiki/Sampling_%28signal_processing%29#Sampling_rate

The default has been changed in the code, that means a fresh blender or factory reset of the user settings will have 48 kHz as sampling rate.

If you want to change it to some other value you can do so for playback in the User Preferences -> System -> Sound -> Sample Rate or for your scenes/renders in the Properties Panel -> Scene -> Audio -> Rate.

thank you very much!!