Skip to content

Commit

Permalink
Merge pull request #183 from snappizz/topic/vbap-interpolation-2
Browse files Browse the repository at this point in the history
VBAP: Fix stairstepping during modulation
  • Loading branch information
muellmusik authored Feb 2, 2018
2 parents 19bbd2a + 275f0c7 commit 9307b41
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/VBAPUGens/VBAP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,10 @@ static inline_functions void VBAP_next_simd(VBAP *unit, int inNumSamples)
nova::times_vec_simd(out, in, nextchanamp, inNumSamples);
} else {
float chanampslope = CALCSLOPE(nextchanamp, chanamp);
nova::times_vec_simd(out, in, nextchanamp, inNumSamples);
for (int j = 0; j < inNumSamples; j++) {
out[j] = in[j] * chanamp;
chanamp += chanampslope;
}
unit->m_chanamp[i] = nextchanamp;
}
}
Expand Down

0 comments on commit 9307b41

Please sign in to comment.