A max patch for a friend's musical project