view WindowFunction.h @ 34:2b2e707c8c20

Test and error message for buffer overrun (in anticipation of actually fixing it!)
author Chris Cannam
date Thu, 04 Sep 2014 10:40:51 +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__) */