Atari sounds in command line

I’m very bad at sound programming. Basically what I have an application in a command line program that makes sound effects, but right now I just use the “Beep” function to make low or high pitched sounds. I want to make something that sounds like an atari or NES explosion sound. Something like this (doesn’t have to be very similar):

http://www.entertonement.com/clips/srrcppfntz–Bomb-Sound-EffectNintendo-Entertainment-System-Super-Mario-Bros-3-

Is it possible? Some code would be very appreciated :slight_smile: