Mercurial > hg > svapp
comparison align/DTW.h @ 771:1d6cca5a5621 pitch-align
Allow use of proper sparse models (i.e. retaining event time info) in alignment; use this to switch to note alignment, which is what we have most recently been doing in the external program. Not currently producing correct results, though
author | Chris Cannam |
---|---|
date | Fri, 29 May 2020 17:39:02 +0100 |
parents | f32df46d0c84 |
children | 8280f7a363d1 |
comparison
equal
deleted
inserted
replaced
770:486add472c3f | 771:1d6cca5a5621 |
---|---|
187 } | 187 } |
188 } | 188 } |
189 } | 189 } |
190 }; | 190 }; |
191 | 191 |
192 inline std::ostream &operator<<(std::ostream &s, const RiseFallDTW::Value v) { | |
193 return (s << | |
194 (v.direction == RiseFallDTW::Direction::None ? "=" : | |
195 v.direction == RiseFallDTW::Direction::Up ? "+" : "-") | |
196 << v.distance); | |
197 } | |
198 | |
192 #endif | 199 #endif |