ludennis / SPPP

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

Cut Tail According to Note Duration #8

Closed ludennis closed 6 years ago

ludennis commented 6 years ago

ss 2018-01-16 at 11 26 41

ludennis commented 6 years ago
if note_dur > long_note_dur #say 500ms
    cut_tail(150) #cut tail for 150ms
elif short_note_dur < note_dur < long_note_dur #50ms and 500ms
    cut_tail(note_dur * .1 ) #cut tail by percentage
else 
    cut_tail(30) #and don't apply minimum note if note is super short (even if the note has a length of 1ms)
ludennis commented 6 years ago

Close to refer to issue13