Mercurial > hg > svcore
comparison data/model/NoteModel.h @ 441:288f45533041
* Add region model and layer; improve assignment of model types to
feature extraction transforms with duration
author | Chris Cannam |
---|---|
date | Thu, 18 Sep 2008 16:08:14 +0000 |
parents | 7226ebac8bd3 |
children | 325112751f0e |
comparison
equal
deleted
inserted
replaced
440:5746c559af15 | 441:288f45533041 |
---|---|
19 #include "IntervalModel.h" | 19 #include "IntervalModel.h" |
20 #include "base/RealTime.h" | 20 #include "base/RealTime.h" |
21 #include "base/PlayParameterRepository.h" | 21 #include "base/PlayParameterRepository.h" |
22 | 22 |
23 /** | 23 /** |
24 * Note type for use in a SparseModel or SparseValueModel. All we | 24 * NoteModel -- a concrete IntervalModel for notes. |
25 * mean by a "note" is something that has an onset time, a single | 25 */ |
26 * value, and a duration. Like other points, it can also have a | 26 |
27 * label. With this point type, the model can be thought of as | 27 /** |
28 * representing a simple MIDI-type piano roll, except that the y | 28 * Note type for use in a sparse model. All we mean by a "note" is |
29 * coordinates (values) do not have to be discrete integers. | 29 * something that has an onset time, a single value, a duration, and a |
30 * level. Like other points, it can also have a label. With this | |
31 * point type, the model can be thought of as representing a simple | |
32 * MIDI-type piano roll, except that the y coordinates (values) do not | |
33 * have to be discrete integers. | |
30 */ | 34 */ |
31 | 35 |
32 struct Note | 36 struct Note |
33 { | 37 { |
34 public: | 38 public: |