Changeset 1929be4 for python


Ignore:
Timestamp:
May 15, 2018, 8:24:55 PM (7 years ago)
Author:
Ancor Cruz <hello@ancorcruz.com>
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:
5b1cbbc
Parents:
967e404
Message:

python/demos/demo_pitch_sinusoid.py: use to yield an integer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/demos/demo_pitch_sinusoid.py

    r967e404 r1929be4  
    3838pointer += partition
    3939pointer += partition
    40 freqs[ pointer : pointer + partition ] = 400 + 5 * np.random.random(sin_length/8)
     40freqs[ pointer : pointer + partition ] = 400 + 5 * np.random.random(sin_length//8)
    4141
    4242a = build_sinusoid(sin_length, freqs, samplerate)
Note: See TracChangeset for help on using the changeset viewer.