SoundTouch 4 C

August 23, 2006

Author: jart — Originally Posted 1437 Days Ago Article Tags « asterisk c »

This is a library that provides a simple C interface to the soundtouch library. For an example of the use of this library, check out the Asterisk Voice Changer.

Download

[zip] soundtouch4c-0.5b.tar.gz (472KB, Released 2009-12-02)
[zip] libsoundtouch4c-0.4.tar.gz (301KB, Released 2007-07-05)
[zip] libsoundtouch4c-0.2.1.tar.gz (186KB, Released 2006-08-26)
[zip] libsoundtouch4c-0.2.tar.gz (292KB, Released 2006-08-23)
[txt] ChangeLog (1KB)

Installation

wget http://www.lobstertech.com/code/libsoundtouch4c/releases/libsoundtouch4c-0.4.tar.gz
tar -xzvf libsoundtouch4c-0.4.tar.gz
cd libsoundtouch4c-0.4
./configure --prefix=/usr
make
make install

Legal

libsoundtouch4c
Copyright (c) 2005-2007 Lobstertech, Inc. and Anthony Minessale II
Keep it Open Source Pigs

The program found on this page is free software and may be used, distributed, and modified under the terms of the GNU General Public License version 2.0.

This program is distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Comments

  1. Richard Lynch [website] on March 7, 2009 [Permalink]

    I'm having the devil of a time trying to compile libsoundtouch4.

    g++ -DPACKAGE_NAME=\"libsoundtouch4c\" -DPACKAGE_TARNAME=\"libsoundtouch4c\" -DPACKAGE_VERSION=\"0.4\" "-DPACKAGE_STRING=\"libsoundtouch4c 0.4\"" -DPACKAGE_BUGREPORT=\"jtunney@gmail.com\" -DPACKAGE=\"libsoundtouch4c\" -DVERSION=\"0.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_LIBSOUNDTOUCH=1 -I. -fpic -shared -Wall -O3 -Isrc -I/usr/local/include/soundtouch -I/usr/include/soundtouch -g -O2 -MT soundtouch4c.lo -MD -MP -MF .deps/soundtouch4c.Tpo -c src/soundtouch4c.cpp -fPIC -DPIC -o .libs/soundtouch4c.o
    In file included from /usr/local/include/soundtouch/STTypes.h:47,
    from /usr/local/include/soundtouch/FIFOSamplePipe.h:53,
    from /usr/local/include/soundtouch/SoundTouch.h:75,
    from src/soundtouch4c.h:21,
    from src/soundtouch4c.cpp:18:
    /usr/local/include/soundtouch/soundtouch_config.h:52:1: warning: "PACKAGE" redefined
    <command-line>: warning: this is the location of the previous definition
    /usr/local/include/soundtouch/soundtouch_config.h:55:1: warning: "PACKAGE_BUGREPORT" redefined
    <command-line>: warning: this is the location of the previous definition
    /usr/local/include/soundtouch/soundtouch_config.h:58:1: warning: "PACKAGE_NAME" redefined
    <command-line>: warning: this is the location of the previous definition
    /usr/local/include/soundtouch/soundtouch_config.h:61:1: warning: "PACKAGE_STRING" redefined
    <command-line>: warning: this is the location of the previous definition
    /usr/local/include/soundtouch/soundtouch_config.h:64:1: warning: "PACKAGE_TARNAME" redefined
    <command-line>: warning: this is the location of the previous definition
    /usr/local/include/soundtouch/soundtouch_config.h:67:1: warning: "PACKAGE_VERSION" redefined
    <command-line>: warning: this is the location of the previous definition
    /usr/local/include/soundtouch/soundtouch_config.h:76:1: warning: "VERSION" redefined
    <command-line>: warning: this is the location of the previous definition
    In file included from src/soundtouch4c.cpp:18:
    src/soundtouch4c.h:39: error: 'struct soundtouch' redeclared as different kind of symbol
    /usr/local/include/soundtouch/STTypes.h:62: error: previous declaration of 'namespace soundtouch { }'
    src/soundtouch4c.h:40: error: 'struct soundtouch' redeclared as different kind of symbol
    .
    .
    .

    Tried all kinds of combinations of versions of soundtouch and libsoundtouch4c as well as downgrading to gcc-4.2

    No luck so far.

    Has anybody done this since 2007?

  2. Ray on September 25, 2009 [Permalink]

    I'm having trouble making libsoundtouch4c too...

    Seems I'm getting the same errors as you Richard. Any resolution?

  3. oem on December 27, 2009 [Permalink]

    me too! :((((

  4. jart on December 27, 2009 [Permalink]

    Did you guys try the new beta build??

    You can also try grabbing the latest sauce here: http://bitbucket.org/jart/soundtouch4c/

Post Comment