Git Product home page Git Product logo

jack_playrec's Introduction

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.

jack_playrec's People

Contributors

gisogrimm avatar hendrikkayser avatar pmaanen avatar tobiasherzke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

micahvdm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.