mirror of
https://github.com/thestk/stk
synced 2026-01-13 21:11:53 +00:00
Version 4.4.1
This commit is contained in:
committed by
Stephen Sinclair
parent
eccd8c9981
commit
b6a2202011
@@ -260,7 +260,7 @@ StkFloat Granulate :: tick( unsigned int channel )
|
||||
// Accumulate the grain outputs.
|
||||
if ( grains_[i].state > 0 ) {
|
||||
for ( j=0; j<nChannels; j++ ) {
|
||||
sample = data_[ nChannels * grains_[i].pointer + j ];
|
||||
sample = data_[ nChannels * grains_[i].pointer + j ];
|
||||
|
||||
if ( grains_[i].state == GRAIN_FADEIN || grains_[i].state == GRAIN_FADEOUT ) {
|
||||
sample *= grains_[i].eScaler;
|
||||
|
||||
Reference in New Issue
Block a user