Skip to content

Commit 6580446

Browse files
committed
Fixed stft bug in mixture on REPET page
1 parent 6eff906 commit 6580446

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

book/first_steps/repetition.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@
217217
"fg_mask_arr = fg_mask.mask\n",
218218
"\n",
219219
"# Multiply the masks to the magnitude spectrogram\n",
220+
"mix.stft()\n",
220221
"mix_mag_spec = mix.magnitude_spectrogram_data\n",
221222
"bg_no_phase_spec = mix_mag_spec * bg_mask_arr\n",
222223
"fg_no_phase_spec = mix_mag_spec * fg_mask_arr\n",
@@ -1076,7 +1077,7 @@
10761077
"name": "python",
10771078
"nbconvert_exporter": "python",
10781079
"pygments_lexer": "ipython3",
1079-
"version": "3.9.2"
1080+
"version": "3.8.1"
10801081
}
10811082
},
10821083
"nbformat": 4,

0 commit comments

Comments
 (0)