30extern long dvreadfirst(
spDVector vector,
long shift,
long length,
int swap,
int double_flag, FILE *fp);
31extern long dvreadsfirst(
spDVector vector,
long shift,
long length,
int swap, FILE *fp);
32extern long dvreaddfirst(
spDVector vector,
long shift,
long length,
int swap, FILE *fp);
33extern long dvreadframe(
spDVector vector,
long shift,
long length,
int swap,
int double_flag, FILE *fp);
34extern long dvreadsframe(
spDVector vector,
long shift,
long length,
int swap, FILE *fp);
35extern long dvreaddframe(
spDVector vector,
long shift,
long length,
int swap, FILE *fp);
36extern long dvwriteframe(
spDVector vector,
long shift,
long length,
int swap,
int double_flag, FILE *fp);
37extern long dvwritesframe(
spDVector vector,
long shift,
long length,
int swap, FILE *fp);
38extern long dvwritedframe(
spDVector vector,
long shift,
long length,
int swap, FILE *fp);
123#define xsvreadsvector(filename, swap) xsvreadssignal((filename), 0, (swap))
126#define xlvreadlvector(filename, swap) xlvreadlsignal((filename), 0, (swap))
129#define xfvreadfvector(filename, swap) xfvreadfsignal((filename), 0, (swap))
135#define xdvreaddvector(filename, swap) xdvreaddsignal((filename), 0, (swap))
141#define xdvreadsvector(filename, swap) xdvreadssignal((filename), 0, (swap))
147#define xdvreadlvector(filename, swap) xdvreadlsignal((filename), 0, (swap))
153#define xdvreadfvector(filename, swap) xdvreadfsignal((filename), 0, (swap))
157#define svwritesvector(filename, vector, swap) svwritessignal(filename, vector, swap)
160#define lvwritelvector(filename, vector, swap) lvwritelsignal(filename, vector, swap)
163#define fvwritefvector(filename, vector, swap) fvwritefsignal(filename, vector, swap)
170#define dvwritedvector(filename, vector, swap) dvwritedsignal(filename, vector, swap)
177#define dvwritesvector(filename, vector, swap) dvwritessignal(filename, vector, swap)
184#define dvwritelvector(filename, vector, swap) dvwritelsignal(filename, vector, swap)
191#define dvwritefvector(filename, vector, swap) dvwritefsignal(filename, vector, swap)
196extern spSVectors xsvsreadsvectors(
const char *filename,
long num_vector,
int swap);
197extern spLVectors xlvsreadlvectors(
const char *filename,
long num_vector,
int swap);
198extern spFVectors xfvsreadfvectors(
const char *filename,
long num_vector,
int swap);
199extern spDVectors xdvsreaddvectors(
const char *filename,
long num_vector,
int swap);
201extern long svswritesvectors(
const char *filename, spSVectors vecs,
int swap);
202extern long lvswritelvectors(
const char *filename, spLVectors vecs,
int swap);
203extern long fvswritefvectors(
const char *filename, spFVectors vecs,
int swap);
204extern long dvswritedvectors(
const char *filename, spDVectors vecs,
int swap);
287extern spSMatrices xsmsreadsmatrices(
const char *filename,
long nmat,
long ncol,
int swap);
288extern spLMatrices xlmsreadlmatrices(
const char *filename,
long nmat,
long ncol,
int swap);
289extern spFMatrices xfmsreadfmatrices(
const char *filename,
long nmat,
long ncol,
int swap);
290extern spDMatrices xdmsreaddmatrices(
const char *filename,
long nmat,
long ncol,
int swap);
291extern spDMatrices xdmsreadsmatrices(
const char *filename,
long nmat,
long ncol,
int swap);
292extern spDMatrices xdmsreadlmatrices(
const char *filename,
long nmat,
long ncol,
int swap);
293extern spDMatrices xdmsreadfmatrices(
const char *filename,
long nmat,
long ncol,
int swap);
295extern spBool smswritesmatrices(
const char *filename, spSMatrices xs,
int swap);
296extern spBool lmswritelmatrices(
const char *filename, spLMatrices xs,
int swap);
297extern spBool fmswritefmatrices(
const char *filename, spFMatrices xs,
int swap);
298extern spBool dmswritedmatrices(
const char *filename, spDMatrices xs,
int swap);
299extern spBool dmswritesmatrices(
const char *filename, spDMatrices xs,
int swap);
300extern spBool dmswritelmatrices(
const char *filename, spDMatrices xs,
int swap);
301extern spBool dmswritefmatrices(
const char *filename, spDMatrices xs,
int swap);
467extern void svsfdump(spSVectors vecs, FILE *fp);
468extern void lvsfdump(spLVectors vecs, FILE *fp);
469extern void fvsfdump(spFVectors vecs, FILE *fp);
470extern void dvsfdump(spDVectors vecs, FILE *fp);
490#define smdump(mat) smfdump(mat, (stdout))
493#define lmdump(mat) lmfdump(mat, (stdout))
496#define fmdump(mat) fmfdump(mat, (stdout))
499#define dmdump(mat) dmfdump(mat, (stdout))
505extern spBool dvsupportaudiofile(
const char *filename,
const char *plugin_name);
506extern spDVector xdvreadaudiofileex(
const char *filename,
const char *plugin_name,
507 double *samp_freq,
int *samp_bit,
int *num_channel,
double weight,
508 spDVectorCallbackFunc func,
void *data);
509extern spDVector xdvreadaudiofile(
const char *filename,
const char *plugin_name,
510 double *samp_freq,
int *samp_bit,
int *num_channel,
double weight);
511extern long dvwriteaudiofileex(
spDVector x,
const char *filename,
const char *plugin_name,
512 double samp_freq,
int samp_bit,
int num_channel,
double weight,
513 spDVectorCallbackFunc func,
void *data);
514extern long dvwriteaudiofile(
spDVector x,
const char *filename,
const char *plugin_name,
515 double samp_freq,
int samp_bit,
int num_channel,
double weight);
523#if !defined(SP_DISABLE_ABBREVIATION)
525#define xreadssignal xsvreadssignal
526#define xreaddsignal xdvreaddsignal
527#define writessignal svwritessignal
528#define writedsignal dvwritedsignal
530#define xreadsvector xsvreadsvector
531#define xreaddvector xdvreaddvector
532#define writesvector svwritesvector
533#define writedvector dvwritedvector
535#define xreadlmatrix xlmreadlmatrix
536#define xreaddmatrix xdmreaddmatrix
537#define writelmatrix lmwritelmatrix
538#define writedmatrix dmwritedmatrix
540#define readdvector_txt dvreaddvector_txt
541#define xreaddvector_txt xdvreaddvector_txt
542#define writedvector_txt dvwritedvector_txt
float fvmaxamp(spFVector vec)
spFMatrix xfmreadfmatrix(const char *filename, long ncol, int swap)
spBool fvwritefsignal(const char *filename, spFVector vector, int swap)
spDVector xdvreaddvector_txt(const char *filename)
spFVector xfvextractchannel(spFVector x, int channel, int num_channel)
spSVector xsvreadssignal(const char *filename, long headlen, int swap)
spBool fmwritefmatrix(const char *filename, spFMatrix mat, int swap)
spDMatrix xdmreadlmatrix(const char *filename, long ncol, int swap)
double dvadjustamp(spDVector vec, double amp)
spLVector xlvreadcol_txt(const char *filename, int col)
spBool fvreadcol_txt(const char *filename, int col, spFVector vector)
spLVector xlvreadlsignal(const char *filename, long headlen, int swap)
spDVector xdvreadcol_txt(const char *filename, int col)
spBool dvwritedsignal(const char *filename, spDVector vector, int swap)
spDVector xdvreadssignal(const char *filename, long headlen, int swap)
spBool lvreadcol_txt(const char *filename, int col, spLVector vector)
void lvnfdump(FILE *fp,...)
void fvdump(spFVector vec)
spSMatrix xsmreadsmatrix(const char *filename, long ncol, int swap)
spDVector xdvreaddsignal(const char *filename, long headlen, int swap)
spBool fvreadfvector_txt(const char *filename, spFVector vector)
void svdump(spSVector vec)
spBool dmwritesmatrix(const char *filename, spDMatrix mat, int swap)
spBool dvwritessignal(const char *filename, spDVector vector, int swap)
spDMatrix xdmreadsmatrix(const char *filename, long ncol, int swap)
spBool dmwritefmatrix(const char *filename, spDMatrix mat, int swap)
spBool lvwritelvector_txt(const char *filename, spLVector vector)
spBool dmwritelmatrix(const char *filename, spDMatrix mat, int swap)
spBool svreadsvector_txt(const char *filename, spSVector vector)
spFVector xfvreadcol_txt(const char *filename, int col)
float fvlimitamp(spFVector vec, float amp)
spBool svwritesvector_txt(const char *filename, spSVector vector)
void dmfdump(spDMatrix mat, FILE *fp)
spBool dvreadcol_txt(const char *filename, int col, spDVector vector)
spBool svreadcol_txt(const char *filename, int col, spSVector vector)
void fvfdump(spFVector vec, FILE *fp)
spBool svwritessignal(const char *filename, spSVector vector, int swap)
spSVector xsvreadcol_txt(const char *filename, int col)
void smfdump(spSMatrix mat, FILE *fp)
spBool lmwritelmatrix(const char *filename, spLMatrix mat, int swap)
spDMatrix xdmreadfmatrix(const char *filename, long ncol, int swap)
spDMatrix xdmreaddmatrix(const char *filename, long ncol, int swap)
void fmfdump(spFMatrix mat, FILE *fp)
spBool dvwritefsignal(const char *filename, spDVector vector, int swap)
spDVector xdvextractchannel(spDVector x, int channel, int num_channel)
spDVector xdvreadfsignal(const char *filename, long headlen, int swap)
spBool dmwritedmatrix(const char *filename, spDMatrix mat, int swap)
spBool dvwritedvector_txt(const char *filename, spDVector vector)
spBool lvreadlvector_txt(const char *filename, spLVector vector)
spBool lvwritelsignal(const char *filename, spLVector vector, int swap)
spBool smwritesmatrix(const char *filename, spSMatrix mat, int swap)
spBool dvreaddvector_txt(const char *filename, spDVector vector)
spFVector xfvreadfvector_txt(const char *filename)
float fvadjustamp(spFVector vec, float amp)
void dvdump(spDVector vec)
void svfdump(spSVector vec, FILE *fp)
spDVector xdvreadlsignal(const char *filename, long headlen, int swap)
void dvnfdump(FILE *fp,...)
spFVector xfvreadfsignal(const char *filename, long headlen, int swap)
void dvfdump(spDVector vec, FILE *fp)
spLMatrix xlmreadlmatrix(const char *filename, long ncol, int swap)
void lmfdump(spLMatrix mat, FILE *fp)
spBool dvwritelsignal(const char *filename, spDVector vector, int swap)
spLVector xlvreadlvector_txt(const char *filename)
void fvnfdump(FILE *fp,...)
double dvmaxamp(spDVector vec)
spBool fvwritefvector_txt(const char *filename, spFVector vector)
void lvdump(spLVector vec)
double dvlimitamp(spDVector vec, double amp)
void lvfdump(spLVector vec, FILE *fp)
spSVector xsvreadsvector_txt(const char *filename)
void svnfdump(FILE *fp,...)
Matrix type that contains the elements of double type.
Definition matrix.h:152
Vector type that contains the elements of double type.
Definition vector.h:248
Matrix type that contains the elements of float type.
Definition matrix.h:117
Vector type that contains the elements of float type.
Definition vector.h:214
Matrix type that contains the elements of long type.
Definition matrix.h:82
Vector type that contains the elements of long type.
Definition vector.h:180
Matrix type that contains the elements of short type.
Definition matrix.h:47
Vector type that contains the elements of short type.
Definition vector.h:146