generate audio streams with functions.