EnglishFrenchSpanish

OnWorks favicon

soundtohnas - Online in the Cloud

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

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


soundtoh - convert a sound file to a C language header file

SYNOPSIS


soundtoh filename

DESCRIPTION


The soundtoh program will convert a sound file in a format supported by the Network Audio
System library into a header file suitable for use with the #include C pre-processor
directive. The resulting output is directed to the standard output. The output will look
something like:

/* bark */

#define barkDataFormat AuFormatULAW8
#define barkSampleRate 8000
#define barkNumTracks 1
#define barkNumSamples \
(sizeof(barkSamples) / sizeof(barkSamples[0]) / barkNumTracks)

static char *barkComment = "terrier bark";

static unsigned char barkSamples[] =
{
0x57, 0x52, 0x51, 0x55, 0x5d, 0x72, 0xe5, 0xdc,
0xdc, 0xe2, 0xed, 0x76, 0x61, 0x5b, 0x59, 0x5e,
.
.
.
0x66, 0xf0, 0xde, 0xe0, 0xf1, 0x6d, 0x67, 0x6a,
0x77, 0xee, 0xe5, 0xe6, 0xf1, 0x71, 0x6b,
};

16-bit samples will be converted appropriately depending upon the endianess of the host
machine.

Use soundtohnas online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 2
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 3
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • 4
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 5
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 6
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • More »

Linux commands

Ad