Skip to content

Commit

Permalink
pitchwheel rst fix, version
Browse files Browse the repository at this point in the history
  • Loading branch information
Tronix286 committed Oct 17, 2022
1 parent c18669a commit 98df897
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.err
*.obj
*.mid
*.map
Expand Down
7 changes: 6 additions & 1 deletion CMS.C
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ void cmsReset(unsigned short port)
cms_synth[i].voice = 0;
cms_synth[i].velocity = 0;
}
for (i=0;i<MAX_CMS_CHANNELS;i++)
for (i=0;i<16;i++)
{
channelpitch[i] = 8192;
}
Expand Down Expand Up @@ -636,6 +636,11 @@ void cmsController(unsigned char channel, unsigned char id, unsigned char val)
cms_synth[i].voice = 0;
cms_synth[i].velocity = 0;
}
if (id==121)
{
for (i=0;i<16;i++)
channelpitch[i] = 8192;
}
}
}

Expand Down
Binary file modified DOSMID.EXE
Binary file not shown.
4 changes: 2 additions & 2 deletions VERSION.H
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
* Copyright (C) 2018 Mateusz Viste
*/

#define PVER "0.9.5/CMS"
#define PDATE "2014-2018"
#define PVER "0.9.6/CMS"
#define PDATE "2014-2022"

0 comments on commit 98df897

Please sign in to comment.