Sure, go on then.
I am not aware of anything that exactly fits your need, but I can think of two cut and paste projects that cover the sound part without much happening in loop -
option 1 - RCArduino: The Must Build Arduino Project - The Illutron B
option 2 - RCArduino: Algorithmic Music On Arduino
Another option is to play back prerecorded audio from an SD Card, there are lots of examples for doing this.
There is also the mozzi library, I have not used it but people are excited by its potential
For connecting a speaker this is a minimal and highly effective option -
Duane B