Mercurial > hg > svcore
comparison data/model/NoteData.h @ 863:1f98e28f70c6 tonioni
Toward using a sample mixer (with arbitrary frequency target) instead of dssi player plugin
author | Chris Cannam |
---|---|
date | Tue, 07 Jan 2014 10:57:28 +0000 |
parents | d6bd5751b8f6 |
children | 9196cff56abe |
comparison
equal
deleted
inserted
replaced
859:13803edd513d | 863:1f98e28f70c6 |
---|---|
24 isMidiPitchQuantized(true), velocity(_vel) { }; | 24 isMidiPitchQuantized(true), velocity(_vel) { }; |
25 | 25 |
26 size_t start; // audio sample frame | 26 size_t start; // audio sample frame |
27 size_t duration; // in audio sample frames | 27 size_t duration; // in audio sample frames |
28 int midiPitch; // 0-127 | 28 int midiPitch; // 0-127 |
29 //!!! float: -> what else would this change? | |
29 int frequency; // Hz, to be used if isMidiPitchQuantized false | 30 int frequency; // Hz, to be used if isMidiPitchQuantized false |
30 bool isMidiPitchQuantized; | 31 bool isMidiPitchQuantized; |
31 int velocity; // MIDI-style 0-127 | 32 int velocity; // MIDI-style 0-127 |
32 }; | 33 }; |
33 | 34 |