1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add compost chorus effect.

This commit is contained in:
bolero-MURAKAMI 2012-11-11 08:26:58 +09:00
parent c7e6be98bb
commit aca22bec98
4 changed files with 161 additions and 4 deletions

View file

@ -33,7 +33,7 @@ namespace sprout {
calc_2(Outdirected const& x, typename Outdirected::index_type m, value_type const& delta) const {
return m >= 0 && (m + 1 < x.base().get() || x.base().get() < 0)
? delta * x[m + 1 - x.index()] + (1 - delta) * x[m - x.index()]
: *x
: 0
;
}
template<typename Outdirected>