Sometimes you want to sound to get a random pitch that follows a musical scale, for example for an instrument sound. In this case, you can determine what random picth values you want to accept by using the AISAC's random function.