Changeset f55630c for python


Ignore:
Timestamp:
Mar 26, 2019, 3:55:17 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
Children:
1dfe409, 3ed38e4, 439ba7b, 66fff6c, dfe6ab6
Parents:
22e3ef1
Message:

[py] fix note-off timings (closes #240, thanks to @chaoxinzheng)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/demos/demo_wav2midi.py

    r22e3ef1 rf55630c  
    6464        if new_note[2] > 0:
    6565            track.append(Message('note_off', note=int(new_note[2]),
    66                 velocity=127, time=0)
     66                velocity=127, time=delta)
    6767                )
    6868        track.append(Message('note_on',
Note: See TracChangeset for help on using the changeset viewer.