Abstract: A method of real-time customization of an audio stream includes retrieving a set of parameters related to a current state of a device, determining a pattern, tempo, background loop, pitch, and number of foreground notes for the audio stream based upon the set of parameters, and creating an audio stream based upon the determination.