double soundTypeToVolume(SfxType type) { switch (type) { case SfxType.buttonTap: return 1.0; case SfxType.congrats: return 1.0; case SfxType.erase: return 1.0; } }