Granular synthesis on a real-time input