Changeset 34dca87


Ignore:
Timestamp:
Sep 4, 2017, 3:52:14 PM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
60583a3, e1d9cc3
Parents:
3c6a3c4
Message:

python/demos/demo_wav2midi.py: remove unused variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/demos/demo_wav2midi.py

    r3c6a3c4 r34dca87  
    4949def frames2tick(frames, samplerate=samplerate):
    5050    sec = frames / float(samplerate)
    51     tick = int(second2tick(sec, ticks_per_beat, tempo))
    52     return tick
    53 
    54 sec = 7
    55 previous_note = None
     51    return int(second2tick(sec, ticks_per_beat, tempo))
    5652
    5753last_time = 0
Note: See TracChangeset for help on using the changeset viewer.