EnglishFrenchSpanish

OnWorks favicon

tonedebug - Online in the Cloud

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

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


tonedebug - Test parameters for the libvpb programmable tone detector

SYNOPSIS


tonedebug [options]

DESCRIPTION


The tonedebug utility assists with quickly testing tone detector parameters against the
signals they are intended to detect. It has three main modes of operation for testing
single continuous or pulsed tones, or for testing a set of tones specified in the
environment.

OPTIONS


The following common options apply for all modes:

--card number
Explicitly select the card to test. Default is card 0.

--port number
Explicitly select the port to test. Default is port 0 of the card being tested.

-w wavfile
Specify a wav file to play the tones from. For OpenLine and OpenSwitch cards it
should be played to an FXO port with no phone line connected, and the tone detector
will process the reflected signal from the hybrid circuit. The OpenPCI cards have
almost no echo from this circuit, but an on hook phone connected to an FXS port
should produce a detectable echo signal.

-s filename.c
Writes out a C function that can be included in your own code to configure the tone
generator with the settings being tested.

Environment options
To run tonedebug using the settings specified with the VPB_TONE environment variables,
call it with the -e option. For example:

$ tonedebug -e --port 4 -w my.wav

Will use the enviroment settings to try and detect tones from my.wav played into port 4 of
card 0. There are no other options specific to this mode.

Continuous tone options
If passed the -c option, then the tonedebug utility will test parameters suitable for a
continuous tone. For example:

$ tonedebug -c 425 100 2000 -w dialtone.wav -t dial

Will try to detect 2 seconds of 425Hz tone from dialtone.wav, played into port 0 of card
0. If it succeeds it will report a dial event. The following additional options may be
used in this mode:

-c center-freq bandwidth duration
Specifies the primary tone characteristics, its frequency and bandwidth in Hz. and
its minimum duration in milliseconds.

-d center-freq2 bandwidth2
Specifies the second tone of a multi-frequency tone.

-q twist
Specifies the twist of a multi-frequency tone.

-n snr Specifies the acceptable signal to noise ratio, in dB.

-t dial | busy | ringback
Specifies the name of a predefined tone to replace with the given settings.

Pulsed tone options
The -p options will enable testing for pulsed tones. In addition to the common options
and the options for continuous tones, the following options are supported in this mode:

-p center-freq bandwidth on-time
Specifies the primary tone characteristics, its frequency and bandwidth in Hz. and
its 'on' time in milliseconds.

-off off-time
The 'off' time of the pulse in milliseconds.

Use tonedebug 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