-------------------------------------------------------------------------
IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions
Copyright (C) 1995-2007 (see AUTHORS file for a list of contributors)
This program 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 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.h.
#include <itpp/base/vec.h>
#include <itpp/base/math/misc.h>
#include <fstream>
Go to the source code of this file.
Namespaces | |
namespace | itpp |
Classes | |
class | itpp::Audio_File |
Base class - do not use this one! More... | |
class | itpp::SND_Format |
Base class for SND reading classes (the .au format). More... | |
class | itpp::SND_In_File |
A class to read SND-files (the .au format). More... | |
class | itpp::SND_Out_File |
A class to write SND-files (the .au format). More... | |
class | itpp::SND_IO_File |
This class is capable of doing both input and output. 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> | |
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. |
Generated on Sun Dec 9 17:31:07 2007 for IT++ by Doxygen 1.5.4