Modified ADSR envelope, seems to work better.

This commit is contained in:
Bobbi Webber-Manners 2022-11-25 21:56:55 -05:00
parent 002c0b79df
commit ec02d0cc41
7 changed files with 1 additions and 1 deletions

Binary file not shown.

0
ensq_freq_table Executable file → Normal file
View File

0
extract Executable file → Normal file
View File

0
import Executable file → Normal file
View File

View File

@ -732,7 +732,7 @@ ADSRPHASE STX OSCNUM
:S1 TYA ; Change/step -> A :S1 TYA ; Change/step -> A
CLC CLC
ADC CURRAMP,X ; Add change to current amp ADC CURRAMP,X ; Add change to current amp
BCS :CLAMP ; If overflow, clamp to target * BCS :CLAMP ; If overflow, clamp to target
CMP :TARGET ; Compare with target CMP :TARGET ; Compare with target
BCS :CLAMP ; If target < sum, clamp to target BCS :CLAMP ; If target < sum, clamp to target
BRA :UPDATE BRA :UPDATE

0
mame_applecorn Executable file → Normal file
View File

0
mock_freq_table Executable file → Normal file
View File