audiofile.h File Reference

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

#include <itpp/base/vec.h>
#include <itpp/base/math/misc.h>
#include <fstream>

Go to the source code of this file.

Classes

class  itpp::Audio_File
 Base class - do not use this one!

ACTION: ADD DETAILED DOCUMENTATION FOR THIS CLASS!!!!!!!!!!! More...

class  itpp::SND_Format
 Base class for SND reading classes (the .au format)

ACTION: ADD DETAILED DOCUMENTATION FOR THIS CLASS!!!!!!!!!!! More...

class  itpp::SND_In_File
 A class to read SND-files (the .au format)

ACTION: ADD DETAILED DOCUMENTATION FOR THIS CLASS!!!!!!!!!!! More...

class  itpp::SND_Out_File
 A class to write SND-files (the .au format)

ACTION: ADD DETAILED DOCUMENTATION FOR THIS CLASS!!!!!!!!!!! More...

class  itpp::SND_IO_File
 This class is capable of doing both input and output.

ACTION: ADD DETAILED DOCUMENTATION FOR THIS CLASS!!!!!!!!!!! More...


Functions

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.
template<typename T >
itpp::read_endian (std::istream &s, bool switch_endian=false)
 Read binary data and optionally switch endianness.
template<typename T >
void itpp::write_endian (std::ostream &s, T data, bool switch_endian=false)
 Write binary data and optionally switch endianness.


Detailed Description

Definitions of audio Audio classes and functions.

Author:
Tobias Ringstrom and Adam Piatyszek
-------------------------------------------------------------------------

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

This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.

IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

IT++ 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 IT++. If not, see <http://www.gnu.org/licenses/>.

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


Generated on Tue Jun 2 10:02:13 2009 for mixpp by  doxygen 1.5.8