Automated Granular Synthesis of Sound