Mercurial > hg > svapp
diff audioio/ContinuousSynth.h @ 323:5c69d40a0e30 tonioni
Added alternate waveforms for sonification. Created parameter m_wavetype in ContinuousSynth.
author | Rachel Bittner <rmb456@nyu.edu> |
---|---|
date | Sun, 12 Jan 2014 05:12:08 -0500 |
parents | 58582119c92a |
children | d2c13ec0f148 |
line wrap: on
line diff
--- a/audioio/ContinuousSynth.h Thu Jan 09 21:31:54 2014 +0000 +++ b/audioio/ContinuousSynth.h Sun Jan 12 05:12:08 2014 -0500 @@ -24,7 +24,7 @@ class ContinuousSynth { public: - ContinuousSynth(int channels, int sampleRate, int blockSize); + ContinuousSynth(int channels, int sampleRate, int blockSize, int waveType); ~ContinuousSynth(); void setChannelCount(int channels); @@ -56,6 +56,8 @@ double m_prevF0; double m_phase; + + int m_wavetype; }; #endif