24d6f5e42d775949e191122091826eefa7bf1246,docs/examples/plot_viterbi.py,,,#,27
Before Change
plt.plot(times, rms)
plt.axhline(0.02, color="r", alpha=0.5)
plt.xlabel("Time")
plt.ylabel("RMS")
plt.axis("tight")
plt.tight_layout()
// The red line at 0.02 indicates a reasonable threshold for silence detection.
After Change
plt.figure(figsize=(12, 6))
fig, ax = plt.subplots(nrows=2, sharex=True)
librosa.display.specshow(librosa.amplitude_to_db(S_full, ref=np.max),
y_axis="log", x_axis="time", sr=sr, ax=ax[0])
ax[0].label_outer()
ax[1].step(times, p>=0.5, label="Non-silent")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: librosa/librosa
Commit Name: 24d6f5e42d775949e191122091826eefa7bf1246
Time: 2020-06-27
Author: bmcfee@users.noreply.github.com
File Name: docs/examples/plot_viterbi.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 618588dcf98a32cc2c8e3d9e766b416ca8f3c9ac
Time: 2018-07-06
Author: jklymak@gmail.com
File Name: examples/subplots_axes_and_figures/figure_title.py
Class Name:
Method Name:
Project Name: nipy/dipy
Commit Name: 26359ea24696a73166f780643fb0f3a3d422a9c6
Time: 2019-04-14
Author: arokem@gmail.com
File Name: doc/examples/reconst_ivim.py
Class Name:
Method Name: