Skip to content

Instantly share code, notes, and snippets.

@ericbolo
Created August 4, 2016 11:53
Show Gist options
  • Save ericbolo/596cf7436173cadb3171f37ac9b0d279 to your computer and use it in GitHub Desktop.
Save ericbolo/596cf7436173cadb3171f37ac9b0d279 to your computer and use it in GitHub Desktop.
Visualize volume of sound devices with Pulse Audio and the pavumeter command

Introduction

This shows you how to see the live volume of sound devices on Linux. I've tested this on Raspbian Jessie.

Steps

Make sure PulseAudio is running

pulseaudio -D

Find name of source you want to record

pactl list source short

Run pavumeter

pavumeter alsa_input.usb-0d8c_C-Media_USB_Headphone_Set-00-Set.analog-mono ** Message: Starting in playback mode. ** Message: Using device 'alsa_input.usb-0d8c_C-Media_USB_Headphone_Set-00-Set.analog-mono'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment