Mercurial > hg > beatroot-vamp
comparison BeatRootProcessor.h @ 8:f04f87b5e643
Add agent list class, and continue plodding through
author | Chris Cannam |
---|---|
date | Fri, 30 Sep 2011 11:37:25 +0100 |
parents | 02d388f98c23 |
children | 4f6626f9ffac |
comparison
equal
deleted
inserted
replaced
7:3c11becfc81a | 8:f04f87b5e643 |
---|---|
126 | 126 |
127 public: | 127 public: |
128 | 128 |
129 /** Constructor: note that streams are not opened until the input | 129 /** Constructor: note that streams are not opened until the input |
130 * file is set (see <code>setInputFile()</code>). */ | 130 * file is set (see <code>setInputFile()</code>). */ |
131 BeatRootProcessor() { | 131 BeatRootProcessor(float sr) : |
132 sampleRate(sr) { | |
132 frameRMS = 0; | 133 frameRMS = 0; |
133 ltAverage = 0; | 134 ltAverage = 0; |
134 frameCount = 0; | 135 frameCount = 0; |
135 hopSize = 0; | 136 hopSize = 0; |
136 fftSize = 0; | 137 fftSize = 0; |