view WindowFunction.h @ 22:99380ba63be6

* Changed input of NoveltyCurve::spectrogramToNoveltyCurve() from transposed spe ctrogram to spectrogram * Collect spectrogram from process(), not transposed spectrogram * allowed OctaveDivider parameter to be any value in range, despite number of binumber of values in the range
author Carl Bussey <c.bussey@se10.qmul.ac.uk>
date Tue, 19 Aug 2014 16:52:19 +0100
parents 7680cc4c0073
children 4cf2d163127b
line wrap: on
line source
//
//  WindowFunction.h
//  Tempogram
//
//  Created by Carl Bussey on 26/06/2014.
//  Copyright (c) 2014 Carl Bussey. All rights reserved.
//

#ifndef __Tempogram__WindowFunction__
#define __Tempogram__WindowFunction__

#include <iostream>
#include <cmath>
#include <vector>

class WindowFunction{
public:
    static void hanning(float *signal, const unsigned int &N, const bool &normalise = false);
};

#endif /* defined(__Tempogram__WindowFunction__) */