Mathematica supports state-of-the-art sound generation, providing both arbitrary waveform synthesis from functions and data, and symbolic note-based MIDI-style sound synthesis.
Play — play a function by taking it as the waveform for a sound
ListPlay — play a list of amplitude values
Sound — sound wrapper with timing information
SampledSoundList — sampled sound from a list of data
EmitSound — emit a symbolically specified sound
"MIDI" — music-oriented note format
SystemDialogInput — use your computer system to record a sound for input