shithub: aubio

Download patch

ref: 5b1cbbcfa9ce3ea302d40a630f09c95389c0276b
parent: 967e4041f21d7eec9db319db98a37489aa19460c
parent: 1929be4c880ca872dd79f0d8dfa77145721d1b52
author: Paul Brossier <piem@piem.org>
date: Wed Jun 20 22:48:08 EDT 2018

Merge branch 'ancorcruz-master'

--- a/python/demos/demo_pitch_sinusoid.py
+++ b/python/demos/demo_pitch_sinusoid.py
@@ -37,7 +37,7 @@
 
 pointer += partition
 pointer += partition
-freqs[ pointer : pointer + partition ] = 400 + 5 * np.random.random(sin_length/8)
+freqs[ pointer : pointer + partition ] = 400 + 5 * np.random.random(sin_length//8)
 
 a = build_sinusoid(sin_length, freqs, samplerate)