alsa-lib

Audio and MIDI library providing sound functionality for Linux systems

brewmacoslinux
Try with needOr install directly
Source

About

Provides audio and MIDI functionality to the Linux operating system

Commands

aplayarecordamixeralsamixer

Examples

Play an audio file$ aplay /path/to/audio.wav
Record audio to a file$ arecord -d 10 -f cd output.wav
Adjust volume levels from command line$ amixer set Master 75%