Mercurial > hg > hv
annotate 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 |
rev | line source |
---|---|
xue@0 | 1 /* |
xue@0 | 2 Harmonic Visualiser |
xue@0 | 3 |
xue@0 | 4 An audio file viewer and editor. |
xue@0 | 5 Centre for Digital Music, Queen Mary, University of London. |
xue@0 | 6 This file copyright 2011 Wen Xue. |
xue@0 | 7 |
xue@0 | 8 This program is free software; you can redistribute it and/or |
xue@0 | 9 modify it under the terms of the GNU General Public License as |
xue@0 | 10 published by the Free Software Foundation; either version 2 of the |
xue@0 | 11 License, or (at your option) any later version. |
xue@0 | 12 */ |
xue@0 | 13 //--------------------------------------------------------------------------- |
xue@0 | 14 |
xue@0 | 15 #ifndef SUThreadH |
xue@0 | 16 #define SUThreadH |
xue@0 | 17 //--------------------------------------------------------------------------- |
xue@0 | 18 /* |
xue@0 | 19 SUThread.cpp implements the harmonic sinusoid synthesis thread used by the vibrato |
xue@0 | 20 analysis/synthesis and source-filter modelling demos of HV for real-time response. |
xue@0 | 21 */ |
xue@0 | 22 |
xue@0 | 23 #include <Classes.hpp> |
xue@0 | 24 #include "EventBoxUnit.h" |
xue@0 | 25 #include "VibratoDemoUnit.h" |
xue@0 | 26 |
xue@0 | 27 //--------------------------------------------------------------------------- |
xue@0 | 28 class TSUThread : public TThread |
xue@0 | 29 { |
xue@0 | 30 private: |
xue@0 | 31 protected: |
xue@0 | 32 void __fastcall Execute(); |
xue@0 | 33 public: |
xue@0 | 34 __fastcall TSUThread(bool CreateSuspended); |
xue@0 | 35 __fastcall ~TSUThread(); |
xue@0 | 36 THS* HS; |
xue@0 | 37 double *xrec; |
xue@0 | 38 __int16* data; |
xue@0 | 39 int dst; |
xue@0 | 40 int den; |
xue@0 | 41 bool sf; |
xue@0 | 42 }; |
xue@0 | 43 //--------------------------------------------------------------------------- |
xue@0 | 44 #endif |