Here’s a little snippet of code to do Shepard Tones, ever rising ones in this case… easily adaptable to do ever-falling ones too.
Here’s the source code:
Call the static .Create() method, or else move the work it does to Start();
I’m using it in my Arcade Kurt Chroma Flow game mode: