THS Class Reference

#include <hs.h>

Collaboration diagram for THS:
Collaboration graph

Public Member Functions

 THS (int aM, int aFr)
 
 THS (THS *HS)
 
 THS (THS *HS, double start, double end)
 
int StartPos ()
 
int EndPos ()
 
int EndPosEx ()
 
int StdOffst ()
 
void ClearBufM ()
 
void Resize (int aM, int aFr, bool copydata=false, bool forcealloc=false)
 
int WriteHdrToStream (TStream *Stream)
 
int ReadHdrFromStream (TStream *Stream)
 
int WriteAtomToStream (TStream *Stream, atom *atm)
 
int ReadAtomFromStream (TStream *Stream, atom *atm)
 
int WriteToStream (TStream *Stream)
 
int ReadFromStream (TStream *Stream)
 

Data Fields

int Channel
 
int M
 
int Fr
 
atom ** Partials
 
int * BufM [128]
 
int isconstf
 
double ** startamp
 
int st_start
 
int st_offst
 
int st_count
 

Detailed Description

THS is the data structure hosting a harmonic sinusoid representation. Its key members include the number of partials, number of frames, and all its atoms (sinusoid parameters of all partials at measurement points).


The documentation for this class was generated from the following files: