This isn’t very well documented, but if you want to toggle mute on your mic, run this:
pactl set-source-mute @DEFAULT_SOURCE@ toggle
All tools expand in functionality until they’re Turing complete.
Ah, memories! Recall writing a simple emulator for a subset of the 68000 instruction set once upon a time. Certainly one of the less sucky 16-bit processors.
I was looking for some way of quickly dashing out melodies on the command line for playback similar to the old PLAY statement in GW-BASIC, but there doesn’t seem to be anything like that.
The closest I’ve been able to come to is using abcMIDI to accept a melody in abc notation and generate a MIDI file, and then having timidity play it back.
That means I have to learn abc notation.