ludennis / SPPP

Self-playing piano parser
MIT License
0 stars 1 forks source link

Change constants: #15

Open likevvii opened 6 years ago

likevvii commented 6 years ago

alt text

HLD_DLY > NORMAL_POWER_DUR = 85 
HLD_DLY_PWR > LOW_POWER = 92
HIGH_POWER_DUR = 5
HIGH_POWER = 195

MIN_RELEASE_TIME > MIN_GAP_DUR = 40

MULTIPLIER_SUGGESTED_DUR > MULTIPLIER_DESIRED_MIN_NOTE_DUR = 2.4 
MULTIPLIER_SUGGESTED_RELEASE_TIME > MULTIPLIER_DESIRED_GAP_DUR = 4
MULTIPLIER_SPLIT_RELEASE_TIME > MULTIPLIER_SPLIT_GAP_RATIO = .62

SUGGESTED_RELEASE_TIME > DESIRED_GAP_DUR
SUGGESTED_DUR > DESIRED_NOTE_DUR
NORMAL_POWER_DUR = 85 
LOW_POWER = 92
HIGH_POWER_DUR = 5
HIGH_POWER = 195

MIN_GAP_DUR = 40

MULTIPLIER_DESIRED_MIN_NOTE_DUR = 2.4 
MULTIPLIER_DESIRED_GAP_DUR = 4
MULTIPLIER_SPLIT_GAP_RATIO = .62

DESIRED_GAP_DUR = MIN_GAP_DUR * MULTIPLIER_DESIRED_GAP_DUR
DESIRED_NOTE_DUR = NORMAL_POWER_DUR * MULTIPLIER_DESIRED_MIN_NOTE_DUR
ludennis commented 6 years ago

constants updated