view SUThread.h @ 1:f3fd4e19cec0 tip

first binary upload
author wenx <xue.wen@eecs.qmul.ac.uk>
date Wed, 10 Aug 2011 14:56:28 +0100
parents a6a46af64546
children
line wrap: on
line source
/*
    Harmonic Visualiser

    An audio file viewer and editor.
    Centre for Digital Music, Queen Mary, University of London.
    This file copyright 2011 Wen Xue.

    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. 
*/
//---------------------------------------------------------------------------

#ifndef SUThreadH
#define SUThreadH
//---------------------------------------------------------------------------
/*
  SUThread.cpp implements the harmonic sinusoid synthesis thread used by the vibrato
  analysis/synthesis and source-filter modelling demos of HV for real-time response.
*/

#include <Classes.hpp>
#include "EventBoxUnit.h"
#include "VibratoDemoUnit.h"

//---------------------------------------------------------------------------
class TSUThread : public TThread
{            
private:
protected:
  void __fastcall Execute();
public:
  __fastcall TSUThread(bool CreateSuspended);
  __fastcall ~TSUThread();
  THS* HS;
  double *xrec;
  __int16* data;
  int dst;
  int den;
  bool sf;
};
//---------------------------------------------------------------------------
#endif