Skip to content

Commit c06cba7

Browse files
authored
Merge pull request #331 from showlabor/master
Adjust feedback for algorithm 32 in Mk I engine
2 parents e912f5c + 3fcef28 commit c06cba7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/EngineMkI.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,10 @@ void EngineMkI::render(int32_t *output, FmOpParams *params, int algorithm, int32
338338
params[1].phase += params[1].freq << LG_N; // yuk, hack, we already processed op-5
339339
op++; // ignore next operator;
340340
break;
341+
case 31 :
342+
// one operator feedback, process exception for ALGO 32
343+
compute_fb(outptr, param.phase, param.freq, gain1, gain2, fb_buf, min((feedback_shift+2), 16), add);
344+
break;
341345
default:
342346
// one operator feedback, normal process
343347
compute_fb(outptr, param.phase, param.freq, gain1, gain2, fb_buf, feedback_shift, add);

0 commit comments

Comments
 (0)