EnglishFrenchSpanish

OnWorks favicon

alsaloop - Online in the Cloud

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

This is the command alsaloop 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


alsaloop - command-line PCM loopback

SYNOPSIS


alsaloop [-option] [cmd]

DESCRIPTION


alsaloop allows create a PCM loopback between a PCM capture device and a PCM playback
device.

alsaloop supports multiple soundcards, adaptive clock synchronization, adaptive rate
resampling using the samplerate library (if available in the system). Also, mixer controls
can be redirected from one card to another (for example Master and PCM).

OPTIONS


-h | --help

Prints the help information.

-g <file> | --config=<file>

Use given configuration file. The syntax of this file is simple: one line contains
the command line options for one job. The '#' means comment and rest of line is
ignored. Example:

# First line - comment, second line - first job
-C hw:1,0 -P hw:0,0 -t 50000 -T 1
# Third line - comment, fourth line - second job
-C hw:1,1 -P hw:0,1 -t 40000 -T 2

-d | --daemonize

Daemonize the main process and use syslog for messages.

-P <device> | --pdevice=<device>

Use given playback device.

-C <device> | --cdevice=<device>

Use given capture device.

-X <device> | --pctl=<device>

Use given CTL device for playback.

-Y <device> | --cctl=<device>

Use given CTL device for capture.

-l <latency> | --latency=<frames>

Requested latency in frames.

-t <usec> | --tlatency=<usec>

Requested latency in usec (1/1000000sec).

-f <format> | --format=<format>

Format specification (usually S16_LE S32_LE). Use -h to list all formats. Default
format is S16_LE.

-c <channels> | --channels=<channels>

Channel count specification. Default value is 2.

-c <rate> | --rate=<rate>

Rate specification. Default value is 48000 (Hz).

-n | --resample

Allow rate resampling using alsa-lib.

-A <converter> | --samplerate=<converter>

Use libsamplerate and choose a converter:

0 or sincbest - best quality
1 or sincmedium - medium quality
2 or sincfastest - lowest quality
3 or zerohold - hold zero samples
4 or linear - worst quality - linear resampling
5 or auto - choose best method

-B <size> | --buffer=<size>

Buffer size in frames.

-E <size> | --period=<size>

Period size in frames.

-s <secs> | --seconds=<secs>

Duration of loop in seconds.

-b | --nblock

Non-block mode (very early process wakeup). Eats more CPU.

-S <mode> | --sync=<mode>

Sync mode specification for capture to playback stream:
0 or none - do not touch the stream
1 or simple - add or remove samples to keep
both streams synchronized
2 or captshift - use driver for the capture device
(if supported) to compensate
the rate shift
3 or playshift - use driver for the playback device
(if supported) to compensate
the rate shift
4 or samplerate - use samplerate library to do rate resampling
5 or auto - automatically selects the best method
in this order: captshift, playshift,
samplerate, simple

-T <num> | --thread=<num>

Thread number (-1 means create a unique thread). All jobs with same thread numbers
are run within one thread.

-m <mixid> | --mixer=<midid>

Redirect mixer control from the playback card to the capture card. Format of mixid
is SRCID(PLAYBACK)[@DSTID(PLAYBACK)]:

"name='Master Playback Switch'@name='Another Switch'"
"name='PCM Playback Volume'"

Known attributes:

name - control ID name
index - control ID index
device - control ID device
subdevice - control ID subdevice
iface - control ID interface
numid - control ID numid

-O <ossmixid> | --ossmixer=<midid>

Redirect mixer control from the OSS Mixer emulation layer (capture card) to the
ALSA layer (capture card). Format of ossmixid is ALSAID[,INDEX]@OSSID:

"Master@VOLUME"
"PCM,1@ALTPCM"

Known OSS attributes:

VOLUME, BASS, TREBLE, SYNTH, PCM, SPEAKER, LINE, MIC, CD, IMIX, ALTPCM,
RECLEV, IGAIN, OGAIN, LINE1, LINE2, LINE3, DIGITAL1, DIGITAL2, DIGITAL3,
PHONEIN, PHONEOUT, VIDEO, RADIO, MONITOR

-v | --verbose

Verbose mode. Use multiple times to increase verbosity.

-U | --xrun

Verbose xrun profiling.

-W <timeout> | --wake=<timeout>

Set process wake timeout.

EXAMPLES


alsaloop -C hw:0,0 -P hw:1,0 -t 50000

Use alsaloop online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • 2
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 3
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 4
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 5
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 6
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • More »

Linux commands

  • 1
    4ti2-circuits
    4ti2-circuits
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-circuits
  • 2
    4ti2-genmodel
    4ti2-genmodel
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-genmodel
  • 3
    coriander
    coriander
    coriander - control and display dc1394
    camera images ...
    Run coriander
  • 4
    corkscrew
    corkscrew
    corkscrew - Tunnel TCP connections
    through HTTP proxies ...
    Run corkscrew
  • 5
    g.gisenvgrass
    g.gisenvgrass
    g.gisenv - Outputs and modifies the
    user�s current GRASS variable settings.
    Prints all defined GRASS variables if no
    option is given. KEYWORDS: general,
    settin...
    Run g.gisenvgrass
  • 6
    g.guigrass
    g.guigrass
    g.gui - Launches a GRASS graphical user
    interface (GUI) session. Optionally
    updates default user interface settings.
    KEYWORDS: general, GUI, user interface ...
    Run g.guigrass
  • More »

Ad