IT++ Logo Newcom Logo

audiofile.cpp File Reference

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

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

Go to the source code of this file.

Namespaces

namespace  itpp

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.


Detailed Description

Implementation of audio Audio classes and functions.

Author:
Tobias Ringstrom
Date
2007-04-18 08:58:29 +0200 (Wed, 18 Apr 2007)
Revision
1013

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

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.cpp.

SourceForge Logo

Generated on Sat Aug 25 23:40:58 2007 for IT++ by Doxygen 1.5.2