fix Temporal::Beats::operator*
This commit is contained in:
parent
aa856b509c
commit
8b3e7fea37
@ -233,7 +233,7 @@ public:
|
|||||||
|
|
||||||
template<typename Number>
|
template<typename Number>
|
||||||
Beats operator*(Number factor) const {
|
Beats operator*(Number factor) const {
|
||||||
return Beats(_beats * factor, _ticks * factor);
|
return ticks ((_beats * PPQN + _ticks) * factor);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename Number>
|
template<typename Number>
|
||||||
|
Loading…
Reference in New Issue
Block a user