IT++ Logo
Namespaces | Functions

audiofile.cpp File Reference

Implementation of audio Audio classes and functions. More...

#include <itpp/srccode/audiofile.h>
#include <itpp/base/converters.h>
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  itpp
 

\


Functions

static short itpp::double_to_short (double x)
static signed char itpp::double_to_char (double x)
bool itpp::raw16le_read (const char *fname, vec &v)
 Read raw 16-bin little endian audio data.
bool itpp::raw16le_read (const char *fname, vec &v, int beg, int len)
 Read raw 16-bin little endian audio data.
bool itpp::raw16le_write (const char *fname, const vec &v, bool append=false)
 Write raw 16-bin little endian audio data.
bool itpp::raw16be_read (const char *fname, vec &v)
 Read raw 16-bin big endian audio data.
bool itpp::raw16be_read (const char *fname, vec &v, int beg, int len)
 Read raw 16-bin big endian audio data.
bool itpp::raw16be_write (const char *fname, const vec &v, bool append=false)
 Write raw 16-bin big endian audio data.
bool itpp::snd_read (const char *fname, vec &v)
 Read SND audio data.
bool itpp::snd_read (const char *fname, vec &v, int beg, int len)
 Read SND audio data.
bool itpp::snd_write (const char *fname, const vec &v, int rate=8000, SND_Format::data_encoding e=SND_Format::enc_linear16)
 Write SND audio data.

Detailed Description

Implementation of audio Audio classes and functions.

Author:
Tobias Ringstrom and Adam Piatyszek

-------------------------------------------------------------------------

IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions

Copyright (C) 1995-2008 (see AUTHORS file for a list of contributors)

This program is free software; you can redistribute it and/or modfy it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it 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.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

-------------------------------------------------------------------------

Definition in file audiofile.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
SourceForge Logo

Generated on Wed Mar 2 2011 22:05:28 for IT++ by Doxygen 1.7.3