Control Flocks that make sounds in iOS (all written in c++)