Moved some code from HSoM files to IO.Audio.Types and Control.SF.AuxFunctions