Showing the changes to python (1 of 12 files). Show all
Unified · Split
| @@ -37,7 +37,7 @@ freqs[ pointer : pointer + partition ] = 1480 · 36 unmodified lines | ||
| 37 | 37 | |
| 38 | 38 | pointer += partition |
| 39 | 39 | pointer += partition |
| 40 | −freqs[ pointer : pointer + partition ] = 400 + 5 * np.random.random(sin_length/8) | |
| 40 | +freqs[ pointer : pointer + partition ] = 400 + 5 * np.random.random(sin_length//8) | |
| 41 | 41 | |
| 42 | 42 | a = build_sinusoid(sin_length, freqs, samplerate) |
| 43 | 43 | |