Document graph widget
This commit is contained in:
@@ -635,13 +635,14 @@ void graphModel::smoothNonCyclic()
|
||||
emit samplesChanged(0, length()-1);
|
||||
}
|
||||
|
||||
//makes a cyclic convolution.
|
||||
void graphModel::convolve(const float *convolution, const int convolutionLength, const int centerOffset)
|
||||
void graphModel::convolve(const float *convolution,
|
||||
const int convolutionLength, const int centerOffset)
|
||||
{
|
||||
// store values in temporary array
|
||||
QVector<float> temp = m_samples;
|
||||
const int graphLength = length();
|
||||
float sum;
|
||||
// make a cyclic convolution
|
||||
for ( int i = 0; i < graphLength; i++ )
|
||||
{
|
||||
sum = 0;
|
||||
|
||||
Reference in New Issue
Block a user