EnglishFrenchSpanish

OnWorks favicon

adinrec - Online in the Cloud

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

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


adinrec
- record audio device and save one utterance to a file

SYNOPSIS


adinrec [options...] {filename}

DESCRIPTION


adinrec opens an audio stream, detects an utterance input and store it to a specified
file. The utterance detection is done by level and zero-cross thresholds. Default input
device is microphone, but other audio input source, including Julius A/D-in plugin, can be
used by using "-input" option.

The audio format is 16 bit, 1 channel, in Microsoft WAV format. If the given filename
already exists, it will be overridden.

If filename is "-" , the captured data will be streamed into standard out, with no header
(raw format).

OPTIONS


adinrec uses JuliusLib and adopts Julius options. Below is a list of valid options.

adinrec specific options
-freq Hz
Set sampling rate in Hz. (default: 16,000)

-raw
Output in raw file format.

JuliusLib options
-input {mic|rawfile|adinnet|stdin|netaudio|esd|alsa|oss}
Choose speech input source. Specify 'file' or 'rawfile' for waveform file. On file
input, users will be prompted to enter the file name from stdin.

´mic' is to get audio input from a default live microphone device, and 'adinnet' means
receiving waveform data via tcpip network from an adinnet client. 'netaudio' is from
DatLink/NetAudio input, and 'stdin' means data input from standard input.

At Linux, you can choose API at run time by specifying alsa, oss and esd.

-chunk_size samples
Audio fragment size in number of samples. (default: 1000)

-lv thres
Level threshold for speech input detection. Values should be in range from 0 to 32767.
(default: 2000)

-zc thres
Zero crossing threshold per second. Only input that goes over the level threshold (-lv)
will be counted. (default: 60)

-headmargin msec
Silence margin at the start of speech segment in milliseconds. (default: 300)

-tailmargin msec
Silence margin at the end of speech segment in milliseconds. (default: 400)

-zmean
This option enables DC offset removal.

-smpFreq Hz
Set sampling rate in Hz. (default: 16,000)

-48
Record input with 48kHz sampling, and down-sample it to 16kHz on-the-fly. This option
is valid for 16kHz model only. The down-sampling routine was ported from sptk. (Rev.
4.0)

-NA devicename
Host name for DatLink server input (-input netaudio).

-adport port_number
With -input adinnet, specify adinnet port number to listen. (default: 5530)

-nostrip
Julius by default removes successive zero samples in input speech data. This option
stop it.

-C jconffile
Load a jconf file at here. The content of the jconffile will be expanded at this point.

-plugindir dirlist
Specify which directories to load plugin. If several direcotries exist, specify them by
colon-separated list.

ENVIRONMENT VARIABLES


ALSADEV
Device name string for ALSA. (default: "default")

AUDIODEV
Device name string for OSS. (default: "/dev/dsp")

LATENCY_MSEC
Input latency of microphone input in milliseconds. Smaller value will shorten latency
but sometimes make process unstable. Default value will depend on the running OS.

Use adinrec online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

Ad