Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Davilarek committed Apr 7, 2024
1 parent 5fc20dd commit 3f15dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basic_pitch/note_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def get_pitch_bends(
note events with pitch bends
"""
window_length = n_bins_tolerance * 2 + 1
freq_gaussian = scipy.signal.gaussian(window_length, std=5)
freq_gaussian = scipy.signal.windows.gaussian(window_length, std=5)
note_events_with_pitch_bends = []
for start_idx, end_idx, pitch_midi, amplitude in note_events:
freq_idx = int(np.round(midi_pitch_to_contour_bin(pitch_midi)))
Expand Down

0 comments on commit 3f15dd5

Please sign in to comment.