comparison align/Aligner.h @ 753:31289e8592c7 pitch-align

Switch to using the pulled-out TransformAligner and ExternalProgramAligner
author Chris Cannam
date Fri, 24 Apr 2020 14:38:22 +0100
parents
children 6429a164b7e1
comparison
equal deleted inserted replaced
752:32654e402f8b 753:31289e8592c7
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2
3 /*
4 Sonic Visualiser
5 An audio file viewer and annotation editor.
6 Centre for Digital Music, Queen Mary, University of London.
7
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2 of the
11 License, or (at your option) any later version. See the file
12 COPYING included with this distribution for more information.
13 */
14
15 #ifndef SV_ALIGNER_H
16 #define SV_ALIGNER_H
17
18 #include <QString>
19
20 #include "data/model/Model.h"
21
22 class Aligner : public QObject
23 {
24 Q_OBJECT
25
26 public:
27 virtual ~Aligner() { }
28
29 virtual bool begin(QString &error) = 0;
30
31 signals:
32 /**
33 * Emitted when alignment is successfully completed. The reference
34 * and toAlign models can be queried from the alignment model.
35 */
36 void complete(ModelId alignmentModel); // an AlignmentModel
37 };
38
39 #endif