Closed ludennis closed 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)
Close to refer to issue13