Beginner sound question - trying to replicate a sound

Hi, even it is true that you can play any sound with my SimpleSDAudio library, but for such an simple sound like shown in the video it should be possible to generate it by a little bit of C code. I think your example is not so wrong, but play a bit more with the parameters. Instead of using tone (8, a, del); use something like tone (8, a); delayMicroseconds(1000); to adjust the tone-length manually. The next parameters are the high- and lowrange variables, try to adjust them first to get some of the same lowest and highest tone. If the tone rise/drowning is still not fast enough, try to adjust the for-loop -- instead of a++ try something like a+=3 or more for quicker variation.

All that involves some kind of trying, you have to play a little to find a nice sound. If it is not close enough to the movie and you wish the original sound you have to go with a sample-based variant. If the sound is not longer than a second you could use a sample-player library or example that embeds the sample in the source code so you don't need an SD-card, but the quality is often very limited then.