Hey thar... Those are my fingers you see in that video
I must say I have had great fun making this ammo counter thingie. So nice to depart from the usual drudgery of designing industrial control systems and such to do something whimsical
I've finished the sound chip system for it now, and it's winging its way to Canobi - you can expect a video from him in short order no doubt. We gave up trying to find a pre-built sound chip that worked just as we wanted, so I made my own from a dsPIC with built in DAC. It plays samples direct from internal flash memory, so there is no SD card to worry about, but that does mean you can't change the samples once programmed. The samples are only 8KHz, 16 bit mono, but that's fine for playing through a little 0.5W speaker embedded in a gun. It has the ability to play many many samples concurrently, but only a small amount of flash memory to store samples, so it's only got 4 in there at the moment. It does mean, however, that the pulse rifle plays a single sample once per round fired and overlays them on top of each other. Getting the right sound was a challenge - we tried chopping up samples from the movies, but none of them worked particularly well. It's a shame there is no one single gunshot from a PR anywhere in the movies. So, I managed to synthesize something that seems to work quite well.
It also has a grenade launch / explode sample pair, which are not a single sample but two individual samples. You fire the grenade with a thunk, then between 0.2s and 1.2s later (random time delay) the grenade explodes with a boom.
You also get a *click* when the magazine is empty...
Oh, and one more thing - while you're shooting the PR you get the odd random screech from an alien thrown in there too for extra realism.
I am planning on designing a properly integrated sound/counter board using a more powerful chip behind it that can store more samples, and have the full size dual 7 segment display on it - and all not much bigger than the display itself (the joys of surface mount components

) - that should fit snugly in any pulse rifle you care to make.
Here's a sample of the output from the current incarnation of the sound/counter combination.
http://scratchpad.majenko.co.uk/prsample.mp3
If you want the single shot (it sounds nothing like you'd expect), you can get it here:
http://scratchpad.majenko.co.uk/pr.wav
It was a single shot from a gattling cannon, with added brown noise, and some filtering. Then pitch shifted, and a phase effect added, and that's what it ended up as.
Oh, and from what I have experienced by examining the waveforms of the samples from the movies, although the gun is purportedly firing at 15 rounds per second, the sound effect is actually running at 20 rounds per second. It was that which had us both somewhat stumped with the samples for some time - nothing would sound quite right, chiefly because 15 RPS was just too slow. Crank the firing up to 20 RPS and it sounds sweet as a nut.