preload sound samples
fix ai effect calculation crash