0

it puts out something like "Playing WAVE 'sounds/mailbox/mailbox-closed.wav' : Signed 16 bit Little Endian, Rate 11025 hz, Mono" I don't need it.

2

It's in the manual:

   -q --quiet
          Quiet mode. Suppress messages (not sound :))

So, for example:

aplay -q python_games/match0.wav

has no output. Note, the output is to stderr, so it can be also suppressed with:

aplay python_games/match0.wav 2>/dev/null
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.