EnglishFrenchSpanish

Ad


OnWorks favicon

zita-a2j - Online in the Cloud

Run zita-a2j in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command zita-a2j that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


zita-a2j, zita-j2a - Use ALSA device as a Jack client, with resampling.

SYNOPSIS


zita-a2j [options]
zita-j2a [options]

DESCRIPTION


These two programs allow one to use an ALSA device as a Jack client, to provide additional
capture (zita-a2j) or playback (zita-j2a) channels. Functionally they are equivalent to
alsa_in and alsa_out that come with Jack, but they will provide much better audio quality.

The resampling ratio will typically be stable within a few parts per million and change
only very smoothly. Delay will be stable as well even under worse case conditions, e.g.
the Jack client running near the end of the cycle. There should be no perceptible loss of
quality at all. From version 0.6.0 it is also possible to disable resampling if the device
is word-clock synced.

The ALSA device should be a 'hw:' one, i.e. direct access to a soundcard and not an ALSA
'plug' device. A well-working Jack system is assumed, running in real-time mode.

The sample rate can be the same as Jack's one, or different. Minimum delay is obtained by
running the alsa device at a lower period size than Jack. This can be done safely as the
alsa thread will run at a higher priority, and apart from copying to an internal buffer no
work is done there. There are no restrictions on the product of period_size and
number_of_periods as there are for alsa_in and alsa_out.

Resampling is performed using the zita-resampler library. The -Q option sets the
resampling quality. The parameter value is half the length (i.e. the delay) of the
multiphase filter used for resampling, expressed in samples at the lower of the two sample
rates. This mainly affects the shape of the frequency response near the Nyquist frequency.
It is normally not necessary to use this option as an optimum value depending both the
sample rates is chosen automatically. The available range is 16..96.

The -S option disables resampling. This requires that the device is synced via word-clock
to the one used by Jack.

The -L option forces the ALSA interface to 2 channels and 16-bit sample format. This may
be required when a2j or j2a is used with ALSA's 'loop' device, if the other end doesn't
accept more than 2 channels or floating point samples. This option must not be used
otherwise.

Both programs will optionally print some information four times per second. The first
number is the average loop error over the last quarter second, in samples. It should be
reduced to small randowm values close to zero after 15 seconds or so. The second is the
dynamic correction factor of the nominal resampling ratio. This should converge to a value
close to one and not move much.

Small variations in these numbers will be seen when Jack apps are started or stopped. This
is normal. Anything else isn't - please report.

When starting, and in case of major trouble, the 'Starting synchronisation' message will
be printed. A restart can happen if there is a timeout on the Jack server, e.g. when a
client crashed or terminated in a dirty way.

Jack1 will skip one or more cycles when new apps are started, or when a large number of
port connections is done in a short time. This may interrupt the audio signal, but should
otherwise not have any ill consequences nor require a restart.

Both zita-a2j and zita-j2a will suspend operation while Jack is in 'freewheeling' mode.

OPTIONS


-h Print command line and options summary.

-j <name>
Jack client name [zita-a2j or zita-j2a].

-d <device>
ALSA device [none].

-r <rate>
Sample rate [48000].

-p <period>
Period size [256].

-n <nfrags>
Number of fragments [2].

-c <nchannels>
Number of channels [2].

-Q <quality>
Resampling quality [auto].

-S Word clock sync, disable resampling.

-I <samples> [0]
(zita-a2j only) Latency correction. The value is added to the latency property set
on the Jack ports.

-O <samples> [0]
(zita-j2a only) Latency correction. The value is added to the latency property set
on the Jack ports.

-L Force 2 channels and 16-bit sample format.

-v Print tracing information.

Use zita-a2j online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    SWIG
    SWIG
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    different...
    Download SWIG
  • 2
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 3
    archlabs_repo
    archlabs_repo
    Package repo for ArchLabs This is an
    application that can also be fetched
    from
    https://sourceforge.net/projects/archlabs-repo/.
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • 4
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • 5
    SCons
    SCons
    SCons is a software construction tool
    that is a superior alternative to the
    classic "Make" build tool that
    we all know and love. SCons is
    implemented a...
    Download SCons
  • 6
    PSeInt
    PSeInt
    PSeInt is a pseudo-code interpreter for
    spanish-speaking programming students.
    Its main purpose is to be a tool for
    learning and understanding the basic
    concep...
    Download PSeInt
  • More »

Linux commands

  • 1
    7z
    7z
    7z - A file archiver with highest
    compression ratio ...
    Run 7z
  • 2
    7za
    7za
    7za - A file archiver with highest
    compression ratio ...
    Run 7za
  • 3
    creepy
    creepy
    CREEPY - A geolocation information
    aggregator DESCRIPTION: creepy is an
    application that allows you to gather
    geolocation related information about
    users from ...
    Run creepy
  • 4
    cricket-compile
    cricket-compile
    cricket - A program to manage the
    collection and display of time-series
    data ...
    Run cricket-compile
  • 5
    g-wrap-config
    g-wrap-config
    g-wrap-config - script to get
    information about the installed version
    of G-Wrap ...
    Run g-wrap-config
  • 6
    g.accessgrass
    g.accessgrass
    g.access - Controls access to the
    current mapset for other users on the
    system. If no option given, prints
    current status. KEYWORDS: general, map
    management, p...
    Run g.accessgrass
  • More »

Ad