Giter Club home page Giter Club logo

audio-tool's Introduction

OMAP audio-tool
---------------

The audio-tool is a swiss-army knife for testing and using audio on
OMAP.  It includes the ability to play and record simple wave files,
play test tones and impulses, and manipulate the ALSA mixer.

There also includes a "legacy mode" for backwards-compatibility with
the tinyalsa utils.

MANIFEST
--------

As stated before, the goal is to have ONE binary, 'audio-tool'.  But
for now we have:

TARGET BINARIES:

    audio-tool - The main audio-tool tool.

HOST BINARIES:

    generate-wave-tables - Generates C-source output with look-up tables
        for various waveforms.

BUILDING
--------

The Makefile builds statically linked binaries for the target
platform.  The binaries for the host platform are usually dynamically
linked.

To build for the host PC, do this:

   $ make

To build for the target device, do this:

   $ export CROSS_COMPILE=/path/to/arm-none-linux-gnueabi-
   $ make ARCH=arm

...and push the binaries to the device.

LEGACY MODE
-----------

The audio-tool may be used as a drop-in replacement for the tinyalsa
utils by creating symlinks to audio-tool.  In this mode, it accepts
the exact same command-line syntax as those tools.  To use this mode,
then you need to do this on your target device.

    # which audio-tool
    /usr/bin/audio-tool
    # ln -s audio-tool /usr/bin/tinyplay
    # ln -s audio-tool /usr/bin/tinycap
    # ln -s audio-tool /usr/bin/tinymix

You can then use those tools as you always have (with some of the
enhanced parameters that the audio team has been using interally, such
as the '-t duration' parameter.

LICENSING
---------

BSD (3-clause)

IDEAS AND FUTURE DIRECTIONS
---------------------------

* On unit tests, android's test tool looks for the last output
  line instead of the OS return code for pass/fail.  Make sure
  that we're compatible with that.

* Add support for using the mmap() API in the tests and/or
  play/cap.

* Support UCM

* Test multi-port configurations (e.g. play a system tone during
  mm playback.  Capture/playback at the same time over misc. ports.

audio-tool's People

Contributors

sideb0ard avatar simonrules avatar broonie avatar johngro avatar gabrbedd avatar plbossart avatar kyoungpark avatar lrg-ti avatar

Stargazers

Barry Gu avatar

Watchers

 avatar James Cloos avatar

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.