Skip to content

Commit

Permalink
midi chn numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
vlazzarini committed Dec 17, 2017
1 parent 771d0e2 commit 53b3fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OOps/midiops.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ int massign_p(CSOUND *csound, MASSIGN *p)
printf("%lf \n", *p->iport);
resetCtls = (*p->iresetctls == FL(0.0) ? 0 : 1);
if (--chnl >= 0)
retval = m_chinsno(csound, chnl + (int) (*p->iport*MAXCHAN) - 1, (int) *p->insno, resetCtls);
retval = m_chinsno(csound, chnl + (int) (*p->iport*MAXCHAN), (int) *p->insno, resetCtls);
else {
for (chnl = 0; chnl < MAXCHAN*MAXPORT; chnl++) {
if (m_chinsno(csound, chnl, (int) *p->insno, resetCtls) != OK)
Expand Down

0 comments on commit 53b3fd7

Please sign in to comment.