Mercurial > hg > svapp
comparison audioio/AudioGenerator.h @ 308:289d65722123 tonioni
More work on mixing and file i/o for sample stuff
author | Chris Cannam |
---|---|
date | Tue, 07 Jan 2014 15:50:04 +0000 |
parents | 6eb15c3aee0a |
children | 71050ffd0141 |
comparison
equal
deleted
inserted
replaced
307:6eb15c3aee0a | 308:289d65722123 |
---|---|
102 bool m_soloing; | 102 bool m_soloing; |
103 std::set<Model *> m_soloModelSet; | 103 std::set<Model *> m_soloModelSet; |
104 | 104 |
105 struct NoteOff { | 105 struct NoteOff { |
106 | 106 |
107 NoteOff(int _p, size_t _f) : pitch(_p), frame(_f) { } | 107 NoteOff(float _freq, size_t _frame) : frequency(_freq), frame(_frame) { } |
108 | 108 |
109 int pitch; | 109 float frequency; |
110 size_t frame; | 110 size_t frame; |
111 | 111 |
112 struct Comparator { | 112 struct Comparator { |
113 bool operator()(const NoteOff &n1, const NoteOff &n2) const { | 113 bool operator()(const NoteOff &n1, const NoteOff &n2) const { |
114 return n1.frame < n2.frame; | 114 return n1.frame < n2.frame; |