110-kenichi / mame

MAmidiMEmo
Other
77 stars 5 forks source link

ADSR control of PSG/WSG #6

Closed denjhang closed 2 years ago

denjhang commented 2 years ago

I know that PSG/WSG can only use software to control the volume envelope. However, the ADSR volume control of PSG/WSG is implemented in MML2VGM, which will make the sound more natural (compared to a pure volume change array)

110-kenichi commented 2 years ago

You mean the the MAmidiMEmo ADSR is not natural?

image

denjhang commented 2 years ago

I mean, add an ADSR envelope adjustment similar to FM for PSG. I know that PSG does not support hardware ADSR envelopes, but a software envelope suitable for PSG can be calculated by ADSR.Like in mml2vgm. 截图未命名0330125305

110-kenichi commented 2 years ago

Hmm...? Already exists ADSR( AR,DR,SL,RR ) for PSG and all Timbres, all Chips image

denjhang commented 2 years ago

Well, then I hope the PSG series can have a graphical adjustment window like FM.

110-kenichi commented 2 years ago

Ah, I see...

denjhang commented 2 years ago

I tested PSG's so-called ADSR and I found that it decayed too quickly, stopping almost immediately after the note ended. I wish PSG could also slowly decay volume after release like FM. like this.Wouldn't it be better if PSG also had these 6 FM parameters. 截图未命名0330184940

110-kenichi commented 2 years ago

You mean that RR is too fast even if you set RR value to 127?

denjhang commented 2 years ago

"FxS": { "$type": "AyFxSettings", "VolumeEnvelopes": "127 96 64 32 16 0", "Enable": true, "EnvelopeInterval": 150 } I found such a field in the library of the AY8910 presets, which appears to be a software volume envelope. After I removed it, ADSR finally worked.