Bit rate in source .wav files

How does studio handle source bit rates that don’t match the system mix rate?

e.g. We have .wav files which are 22khz and we are mixing at 48khz. Where does this conversion happen? At bank compile time? Runtime?

With the compressed audio formats studio is using, is there any quality loss from this conversion?

Hi Clint,

The answer will depend on the actual compression format. Uncompressed PCM in a bank will remain at the source sample rate. Vorbis banks will be resampled at build time to the nearest of 8, 11.025, 16, 22.05, 24, 32, 44.1, 48. AT9 will be resampled at build time to 48. XMA will be resampled at build time if it’s above 48, otherwise it will be encoded at the source rate. When the sounds are played at runtime that will be resampled from their bank rate to the system rate (plus any pitch changes applied).

The runtime resampling defaults to linear and can be changed using System::setSoftwareFormat(), the bank time resampling is spline.