The ARSS

Main Page | Download | Code | Examples | Documentation | MFAQ | Roadmap
C:\msys\home\arss\clean code for 0.2d2\gpl.c.html
/* The Analysis & Resynthesis Sound Spectrograph
Copyright (C) 2005-2008 Michel Rouzic

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 Street, Fifth Floor, Boston, MA  02110-1301, USA.*/
C:\msys\home\arss\0.2 source\sound_io.h.html
#ifndef H_SOUND_IO
#define H_SOUND_IO

#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>

#include "util.h"

extern void in_8(FILE *wavfile, double **sound, int32_t samplecount, int32_t channels);
extern void out_8(FILE *wavfile, double **sound, int32_t samplecount, int32_t channels);
extern void in_16(FILE *wavfile, double **sound, int32_t samplecount, int32_t channels);
extern void out_16(FILE *wavfile, double **sound, int32_t samplecount, int32_t channels);
extern void in_32(FILE *wavfile, double **sound, int32_t samplecount, int32_t channels);
extern void out_32(FILE *wavfile, double **sound, int32_t samplecount, int32_t channels);
extern double **wav_in(FILE *wavfile, int32_t *channels, int32_t *samplecount, int32_t *samplerate);
extern void wav_out(FILE *wavfile, double **sound, int32_t channels, int32_t samplecount, int32_t samplerate, int32_t format_param);
extern int32_t wav_out_param();

#endif


This site is in hiatus. Last updated on February 23rd, 2009
©2007-2009 Michel Rouzic