HoerTech-gGmbH / jack_playrec

jack_playrec provides an interface for synchronous recording/playback via the JACK Audio Connection Kit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JACK_PLAYREC

jack_playrec provides an interface for synchronous recording/playback via the JACK Audio Connection Kit. In addition to the cli a Matlab wrapper is provided.

Installation of pre-compiled packages

See INSTALLATION.md

Compiling from source

See COMPILATION.md

Command line interface

Usage:

jack_playrec [options] input.wav [ ports [...]]

Matlab wrapper

Usage:

[y,fs,bufsize,load,xruns,sCfg] = jack_playrec( x, ... );

Examples:

Display list of valid key/value pairs:

jack_playrec help

Playback of MATLAB matrix x on hardware outputs (one column per channel):

jack_playrec( x );

Playback of MATLAB data via user defined ports:

jack_playrec( x, 'output', csOutputPorts );

Synchronouos playback and recording of MATLAB vector:

[y,fs,bufsize] = jack_playrec( x, 'output', csOutputPorts, 'input', csInputPorts );

Synchronouos playback and recording, with jack transport:

[y,fs,bufsize] = jack_playrec( x, 'input', csInputPorts, 'starttime', transportStart );

Synchronouos playback and recording, in freewheeling mode:

[y,fs,bufsize] = jack_playrec( x, 'input', csInputPorts, 'freewheeling', true );

If csOutputPorts and csInputPorts are a single string, a single port name is used. If they are a cell string array, the number of channels in x has to match the number of elements in csOutputPorts, and the number of channels in y will match the number of channels in csInputPorts. If the argument is a numeric vector, then the physical ports (starting from 1) are used.

jack_playrec was isolated and renamed from the tascar_jackio tool of the Toolbox for Acoustic Scene Creation and Rendering TASCAR (https://github.com/HoerTech-gGmbH/tascar), written by Giso Grimm.

About

jack_playrec provides an interface for synchronous recording/playback via the JACK Audio Connection Kit.

License:GNU General Public License v3.0


Languages

Language:C++ 42.5%Language:Makefile 38.6%Language:MATLAB 10.7%Language:Shell 5.1%Language:NSIS 3.1%