-
Notifications
You must be signed in to change notification settings - Fork 68
s+h value does not sample correctly #40
Copy link
Copy link
Open
Description
it losses value again when getting 0.
whats the problem here?
this.evaluate = function() {
var maxSize = this.getMaxInputSliceCount();
if (setIn.pinIsChanged() || inputIn.pinIsChanged()) {
for (var i=0; i<maxSize; i++) {
if (outputOut.values[i]==undefined) {
outputOut.setValue(i, 0.0);
}
if (Math.round(setIn.getValue(i))>=1) {
outputOut.setValue(i, inputIn.getValue(i));
}
}
outputOut.setSliceCount(maxSize);
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels