Sound Pitch

I’m using @Vega’s button class and this is the sound I put for when the button is touched.

sound(DATA, "ZgJAHgBXMkQ+ADBAAAAAAB6JPD9pkAY/fwA4UQA6f0BDAEBG")           

My question is that is there a way to call a random tone of this “pop” sound. Fo example, a high pop sound and a low pop sound. I know I could do math.random, but what do I put for the parameters.

Hi @veeeralp, can you recreate the sound using Sound Slider? (search for the thread with the code). Then you can tweak the StartFrequency variable between 0 and 1.

What you have there is already encoded, and is not easily decoded - but it is possible.