JACK_REC(1)

πŸ“¦
version 4 Β· 2 versions
  • 4 Β· arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1 Β· opensuse-leap 16.0
, in arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

okay bestie, meet jack_rec β€” the JACK toolkit client for recording audio. πŸ’– This page is JACK_REC(1), from the General Commands Manual, and it's here to make recording audio from JACK ports feel like a group-chat side quest. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

jack_rec -f filename -d seconds [ -b bitdepth ] port1 [ port2 ... ]

πŸ’– DESCRIPTION πŸ’–

jack_rec is a basic, but useful audio recorder. It records audio from 1 or more JACK ports to a file on disk. 🫢

The file format is always RIFF/WAV, with samples stored as signed integers. The sample bit depth can be selected using the -b option. ✨

The file will have as many channels as there are ports specified on the command line β€” each channel will contain the data recorded from one port. So yes, if you list three ports, you get three channels, no cap. πŸ‘‘

The user should generally specify the duration (in seconds) using the -d option. If not specified, jack_rec will record until terminated by a signal (eg. from Ctrl-c). πŸ’€

⚠️ no -d? then it's record-until-signal hours, bestie. Ctrl-c is the exit button. 😭

This application is not intended to be a heavy duty audio recorder, and originated as an example client to show how to handle threading and disk I/O in a JACK client. However, it is a useful, simple recorder and is included in the JACK toolkit as a result. πŸŽ€

🎧 the flags + args, iykyk

  • -f filename β€” the filename from the synopsis; this is where the recording goes. πŸ’Ύ
  • -d seconds β€” duration in seconds. Generally specify this. If not specified, jack_rec records until a signal (eg. Ctrl-c). ⏱️
  • -b bitdepth β€” selects the sample bit depth. 🌈
  • port1 [ port2 ... ] β€” one or more JACK ports. Each port becomes its own channel in the output file. πŸŽ›οΈ

that's the whole vibe, bestie. this page's footer says source/version 4 and date 2022, so shoutout to the JACK toolkit for keeping this little example-recorder icon alive. πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from