Skip to content
This repository has been archived by the owner on Jan 7, 2018. It is now read-only.

Commit

Permalink
Fix note dropping bug... I hope.
Browse files Browse the repository at this point in the history
  • Loading branch information
fincs committed Jul 15, 2011
1 parent 7633a57 commit 8a15962
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -16,7 +16,7 @@ How to build
To do
-----

- The channel allocation system sometimes drops notes where the official code doesn't.
- Note dropping bug appears to be gone... I hope.
- Some SSEQ commands are not implemented yet (modulation, portamento, pitch sweep): please help!

Thanks to:
Expand Down
2 changes: 1 addition & 1 deletion arm7/source/sseq.arm.c
Expand Up @@ -123,7 +123,7 @@ int ds_freechn2(int prio)
if (!SCHANNEL_ACTIVE(i) && ADSR_ch[i].state != ADSR_START)
return i;
for(i = 0; i < 16; i ++)
if (ADSR_ch[i].ampl < (-75*128) && ADSR_ch[i].state == ADSR_RELEASE)
if (ADSR_ch[i].state == ADSR_RELEASE)
return i;
for(i = 0; i < 16; i ++)
if (ADSR_ch[i].prio < prio)
Expand Down

0 comments on commit 8a15962

Please sign in to comment.