I wanted to have my linux box support 2 sound cards at once - one for a cuckoo clock like chime and one for music. ALSA did the trick. But I had to mess around a bit.
Creating a wave
sox -t .nul /dev/zero output.wav synth 2 sine create 440
-- MattWalsh - 17 Aug 2004