DSP envelopes: Difference between revisions

From SNESdev Wiki
Jump to navigationJump to search
(starting page, creating attack table)
 
(→‎ADSR Envelope Timings: decay, release)
Line 2: Line 2:


== ADSR Envelope Timings ==
== ADSR Envelope Timings ==
{|
|


{| class="wikitable"
{| class="wikitable"
Line 41: Line 44:
|}
|}


TODO Decay, Release
|
 
{| class="wikitable"
! colspan=2 | ADSR Decay
|-
! D !! Time (ms)
|-
| 0 || 1200
|-
| 1 || 740
|-
| 2 || 440
|-
| 3 || 290
|-
| 4 || 180
|-
| 5 || 110
|-
| 6 || 74
|-
| 7 || 37
|}
 
|
 
{| class="wikitable"
! colspan=4 | ADSR Release
|-
! R !! Time (ms) !! R !! Time (ms)
|-
| $00 || Infinite || $10 || 1200
|-
| $01 || 38000    || $11 || 880
|-
| $02 || 28000    || $12 || 740
|-
| $03 || 24000    || $13 || 590
|-
| $04 || 19000    || $14 || 440
|-
| $05 || 14000    || $15 || 370
|-
| $06 || 12000    || $16 || 290
|-
| $07 || 9400    || $17 || 220
|-
| $08 || 7100    || $18 || 180
|-
| $09 || 5900    || $19 || 150
|-
| $0A || 4700    || $1A || 110
|-
| $0B || 3500    || $1B || 92
|-
| $0C || 2900    || $1C || 74
|-
| $0D || 2400    || $1D || 55
|-
| $0E || 1800    || $1E || 37
|-
| $0F || 1500    || $1F || 18
|}
 
|}


== Gain Timings ==
== Gain Timings ==

Revision as of 05:59, 5 October 2022

Timings of the S-SMP DSP envelope and gain.

ADSR Envelope Timings

ADSR Attack
A Time (ms)
$0 4100
$1 2600
$2 1500
$3 1000
$4 640
$5 380
$6 260
$7 160
$8 96
$9 64
$A 40
$B 24
$C 16
$D 10
$E 6
$F 0
ADSR Decay
D Time (ms)
0 1200
1 740
2 440
3 290
4 180
5 110
6 74
7 37
ADSR Release
R Time (ms) R Time (ms)
$00 Infinite $10 1200
$01 38000 $11 880
$02 28000 $12 740
$03 24000 $13 590
$04 19000 $14 440
$05 14000 $15 370
$06 12000 $16 290
$07 9400 $17 220
$08 7100 $18 180
$09 5900 $19 150
$0A 4700 $1A 110
$0B 3500 $1B 92
$0C 2900 $1C 74
$0D 2400 $1D 55
$0E 1800 $1E 37
$0F 1500 $1F 18

Gain Timings

TODO