IT++ Logo
Classes | Namespaces | Functions
audiofile.h File Reference

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

#include <string>
#include <algorithm>
#include <itpp/base/vec.h>
#include <itpp/base/mat.h>
#include <itpp/base/binfile.h>
#include <itpp/srccode/audiosample.h>
#include <itpp/itexports.h>

Go to the source code of this file.

Classes

class  itpp::Audio_Stream_Description
 Description of audio stream. More...
 
class  itpp::SND_In_File
 Class to read audio data from au file. More...
 
class  itpp::SND_Out_File
 A class to write SND-files (the .au format) More...
 
class  itpp::SND_IO_File
 A class for doing both input and output of audio samples. More...
 

Namespaces

namespace  itpp
 itpp namespace
 

Functions

bool itpp::is_valid (const Audio_Stream_Description &d)
 validity check for stream description d
 
vec itpp::snd_read_channel (const char *fname, int ch=0)
 Read audio channel.
 
vec itpp::snd_read_channel (const char *fname, int ch, int len, std::streamoff beg=0)
 Read len audio channel samples starting at position beg.
 
mat itpp::snd_read (const char *fname)
 Read audio data.
 
mat itpp::snd_read (const char *fname, int len, std::streamoff beg=0)
 Read len audio samples starting at position beg.
 
bool itpp::snd_write_channel (const char *fname, const Audio_Stream_Description &descr, const vec &s, int ch=0)
 Write audio channel from vector s using stream description descr.
 
bool itpp::snd_write (const char *fname, const Audio_Stream_Description &descr, const mat &s)
 Write audio data.
 

Detailed Description

Definitions of audio Audio classes and functions.

Author
Tobias Ringstrom, Adam Piatyszek and Andy Panov

Copyright (C) 1995-2013 (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/.


Definition in file audiofile.h.

SourceForge Logo

Generated on Sat May 25 2013 16:32:26 for IT++ by Doxygen 1.8.2