Loading [MathJax]/extensions/TeX/AMSsymbols.js
LAL 7.7.0.1-00ddc7f
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Audio.h
Go to the documentation of this file.
1/*
2* Copyright (C) 2007 Jolien Creighton
3*
4* This program is free software; you can redistribute it and/or modify
5* it under the terms of the GNU General Public License as published by
6* the Free Software Foundation; either version 2 of the License, or
7* (at your option) any later version.
8*
9* This program is distributed in the hope that it will be useful,
10* but WITHOUT ANY WARRANTY; without even the implied warranty of
11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12* GNU General Public License for more details.
13*
14* You should have received a copy of the GNU General Public License
15* along with with program; see the file COPYING. If not, write to the
16* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17* MA 02110-1301 USA
18*/
19
20/* vim: set noet ts=4 sw=4: */
21
22#ifndef AUDIO_H
23#define AUDIO_H
24
25#include <lal/LALDatatypes.h>
26
27#if defined(__cplusplus)
28extern "C" {
29#elif 0
30} /* so that editors will match preceding brace */
31#endif
32
33/**
34 * \defgroup Audio_h Header Audio.h
35 * \ingroup lal_support
36 * \author Creighton, J. D. E.
37 *
38 * \brief Routines for exporting time series data as sound files.
39 *
40 * ### Synopsis ###
41 *
42 * \code
43 * #include <lal/Audio.h>
44 * \endcode
45 *
46 * Supported formats are AU and WAVE. AIFF is not supported at this time.
47 *
48 * This code is based on code written by Paul Bourke. See:
49 * http://local.wasp.uwa.edu.au/~pbourke/dataformats/au/
50 * http://local.wasp.uwa.edu.au/~pbourke/dataformats/wave/
51 *
52 */
53/** @{ */
54/** Records a time series as a .wav audio file */
56
57/** Records a time series as a .wav audio file */
59
60/** Records a time series as a .au audio file */
62
63/** Records a time series as a .au audio file */
65
66/** @} */
67
68#if 0
69{ /* so that editors will match succeeding brace */
70#elif defined(__cplusplus)
71}
72#endif
73
74#endif /* AUDIO_H */
int XLALAudioAURecordREAL8TimeSeries(FILE *fp, REAL8TimeSeries *series)
Records a time series as a .au audio file.
Definition: Audio.c:360
int XLALAudioWAVRecordREAL8TimeSeries(FILE *fp, REAL8TimeSeries *series)
Records a time series as a .wav audio file.
Definition: Audio.c:289
int XLALAudioWAVRecordREAL4TimeSeries(FILE *fp, REAL4TimeSeries *series)
Records a time series as a .wav audio file.
Definition: Audio.c:254
int XLALAudioAURecordREAL4TimeSeries(FILE *fp, REAL4TimeSeries *series)
Records a time series as a .au audio file.
Definition: Audio.c:325
Time series of REAL4 data, see DATATYPE-TimeSeries types for more details.
Definition: LALDatatypes.h:570
Time series of REAL8 data, see DATATYPE-TimeSeries types for more details.
Definition: LALDatatypes.h:580
FILE * fp
Definition: tconvert.c:105