systap

command
v0.6.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command systap records macOS system or per-process audio output to a WAV file using Core Audio process taps.

Process taps (macOS 14.2+) are the modern, sanctioned in-process replacement for virtual audio loopback drivers (such as BlackHole or Audio Hijack).

Usage

systap -o out.wav [-pid N | -bundle com.brave.Browser] [-d 10s]

Options

-o string
	Output WAV file path ('-' for stdout). Default is "out.wav".
-pid int
	Target process ID to capture. Default 0 captures global system audio output.
-bundle string
	Target application bundle ID to capture (e.g. "com.brave.Browser").
-d duration
	Recording duration (e.g. 10s, 1m). Default 0 records until SIGINT/SIGTERM.
-rate int
	Sample rate in Hz. Default is 48000.
-channels int
	Number of audio channels. Default is 2.
-v
	Enable verbose progress output.

Permissions (TCC)

Capturing system or process audio requires the macOS System Audio Capture permission (NSAudioCaptureUsageDescription). When run for the first time, macOS will prompt the user to grant permission.

Command systap records macOS system audio output to a 48kHz WAV file using pure-Go Core Audio process taps.

Usage:

systap -o out.wav [-pid N | -bundle com.brave.Browser] [-d 10s]

Package main implements system and process audio recording on macOS using Core Audio process taps.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL