comparison transform/BeatDetectTransform.h @ 0:da6937383da8

initial import
author Chris Cannam
date Tue, 10 Jan 2006 16:33:16 +0000
parents
children d86891498eef
comparison
equal deleted inserted replaced
-1:000000000000 0:da6937383da8
1 /* -*- c-basic-offset: 4 -*- vi:set ts=8 sts=4 sw=4: */
2
3 /*
4 A waveform viewer and audio annotation editor.
5 Chris Cannam, Queen Mary University of London, 2005
6
7 This is experimental software. Not for distribution.
8 */
9
10 #ifndef _BEAT_DETECT_TRANSFORM_H_
11 #define _BEAT_DETECT_TRANSFORM_H_
12
13 #include "Transform.h"
14
15 //!!! This should be replaced by a plugin, when we have a plugin
16 // transform. But it's easier to start by testing concrete examples.
17
18 class DenseTimeValueModel;
19 class SparseOneDimensionalModel;
20
21 class BeatDetectTransform : public Transform
22 {
23 public:
24 BeatDetectTransform(Model *inputModel);
25 virtual ~BeatDetectTransform();
26
27 static TransformName getName();
28
29 protected:
30 virtual void run();
31
32 // just casts
33 DenseTimeValueModel *getInput();
34 SparseOneDimensionalModel *getOutput();
35 };
36
37 #endif
38