Initial commit: 基于旋律的音乐哼唱检索系统 (Query by Humming)

This commit is contained in:
2026-09-08 17:48:49 +08:00
commit 4b9766db02
83 changed files with 17965 additions and 0 deletions
+560
View File
@@ -0,0 +1,560 @@
{
"best_top1": 0.7829457364341085,
"config_diff": {
"transpose_span": 2,
"w_dtw": 0.7,
"w_index": 0.3
},
"history": [
{
"config": {
"sample_rate": 16000,
"band_low_hz": 60.0,
"band_high_hz": 2000.0,
"band_order": 4,
"denoise_window": 3,
"target_rms": 0.06,
"trim_threshold_db": -45.0,
"trim_padding_ms": 50.0,
"frame_ms": 48.0,
"hop_ms": 10.0,
"fmin_hz": 70.0,
"fmax_hz": 1000.0,
"yin_threshold": 0.12,
"yin_max_cmndf": 0.55,
"voicing_conf": 0.5,
"voicing_db_below_peak": -45.0,
"median_filter_frames": 7,
"octave_fold_low": 9.0,
"octave_fold_high": 15.0,
"split_semitones": 0.8,
"min_note_ms": 70.0,
"bridge_gap_ms": 60.0,
"merge_semitones": 0.5,
"repeat_merge_semitones": 0.35,
"max_notes": 600,
"interval_clip": 12.0,
"contour_jump": 0.75,
"candidates_min": 40,
"candidates_per_sqrt": 7.0,
"candidate_score_floor": 0.1,
"full_scan_below_songs": 60,
"contour_variants_max": 40,
"dtw_pitch_free_band": 0.3,
"dtw_pitch_cap": 10.0,
"dtw_dur_cap": 2.5,
"dtw_pitch_weight": 1.0,
"dtw_dur_weight": 0.7,
"transpose_range": 24,
"transpose_span": 4,
"transpose_candidates": 8,
"dtw_score_lambda": 0.6,
"dtw_max_cells": 4000000,
"w_dtw": 0.8,
"w_index": 0.2,
"top_k": 10
},
"top1": 0.7596899224806202
},
{
"config": {
"sample_rate": 16000,
"band_low_hz": 60.0,
"band_high_hz": 2000.0,
"band_order": 4,
"denoise_window": 3,
"target_rms": 0.06,
"trim_threshold_db": -45.0,
"trim_padding_ms": 50.0,
"frame_ms": 48.0,
"hop_ms": 10.0,
"fmin_hz": 70.0,
"fmax_hz": 1000.0,
"yin_threshold": 0.12,
"yin_max_cmndf": 0.55,
"voicing_conf": 0.5,
"voicing_db_below_peak": -45.0,
"median_filter_frames": 7,
"octave_fold_low": 9.0,
"octave_fold_high": 15.0,
"split_semitones": 0.8,
"min_note_ms": 70.0,
"bridge_gap_ms": 60.0,
"merge_semitones": 0.5,
"repeat_merge_semitones": 0.35,
"max_notes": 600,
"interval_clip": 12.0,
"contour_jump": 0.75,
"candidates_min": 40,
"candidates_per_sqrt": 7.0,
"candidate_score_floor": 0.1,
"full_scan_below_songs": 60,
"contour_variants_max": 40,
"dtw_pitch_free_band": 0.3,
"dtw_pitch_cap": 10.0,
"dtw_dur_cap": 2.5,
"dtw_pitch_weight": 1.0,
"dtw_dur_weight": 0.7,
"transpose_range": 24,
"transpose_span": 4,
"transpose_candidates": 8,
"dtw_score_lambda": 0.6,
"dtw_max_cells": 4000000,
"w_dtw": 0.7,
"w_index": 0.3,
"top_k": 10
},
"top1": 0.7751937984496124
},
{
"config": {
"sample_rate": 16000,
"band_low_hz": 60.0,
"band_high_hz": 2000.0,
"band_order": 4,
"denoise_window": 3,
"target_rms": 0.06,
"trim_threshold_db": -45.0,
"trim_padding_ms": 50.0,
"frame_ms": 48.0,
"hop_ms": 10.0,
"fmin_hz": 70.0,
"fmax_hz": 1000.0,
"yin_threshold": 0.12,
"yin_max_cmndf": 0.55,
"voicing_conf": 0.5,
"voicing_db_below_peak": -45.0,
"median_filter_frames": 7,
"octave_fold_low": 9.0,
"octave_fold_high": 15.0,
"split_semitones": 0.8,
"min_note_ms": 70.0,
"bridge_gap_ms": 60.0,
"merge_semitones": 0.5,
"repeat_merge_semitones": 0.35,
"max_notes": 600,
"interval_clip": 12.0,
"contour_jump": 0.75,
"candidates_min": 40,
"candidates_per_sqrt": 7.0,
"candidate_score_floor": 0.1,
"full_scan_below_songs": 60,
"contour_variants_max": 40,
"dtw_pitch_free_band": 0.3,
"dtw_pitch_cap": 10.0,
"dtw_dur_cap": 2.5,
"dtw_pitch_weight": 1.0,
"dtw_dur_weight": 0.7,
"transpose_range": 24,
"transpose_span": 4,
"transpose_candidates": 8,
"dtw_score_lambda": 0.6,
"dtw_max_cells": 4000000,
"w_dtw": 0.7,
"w_index": 0.3,
"top_k": 10
},
"top1": 0.7751937984496124
},
{
"config": {
"sample_rate": 16000,
"band_low_hz": 60.0,
"band_high_hz": 2000.0,
"band_order": 4,
"denoise_window": 3,
"target_rms": 0.06,
"trim_threshold_db": -45.0,
"trim_padding_ms": 50.0,
"frame_ms": 48.0,
"hop_ms": 10.0,
"fmin_hz": 70.0,
"fmax_hz": 1000.0,
"yin_threshold": 0.12,
"yin_max_cmndf": 0.55,
"voicing_conf": 0.5,
"voicing_db_below_peak": -45.0,
"median_filter_frames": 7,
"octave_fold_low": 9.0,
"octave_fold_high": 15.0,
"split_semitones": 0.8,
"min_note_ms": 70.0,
"bridge_gap_ms": 60.0,
"merge_semitones": 0.5,
"repeat_merge_semitones": 0.35,
"max_notes": 600,
"interval_clip": 12.0,
"contour_jump": 0.75,
"candidates_min": 40,
"candidates_per_sqrt": 7.0,
"candidate_score_floor": 0.1,
"full_scan_below_songs": 60,
"contour_variants_max": 40,
"dtw_pitch_free_band": 0.3,
"dtw_pitch_cap": 10.0,
"dtw_dur_cap": 2.5,
"dtw_pitch_weight": 1.0,
"dtw_dur_weight": 0.7,
"transpose_range": 24,
"transpose_span": 4,
"transpose_candidates": 8,
"dtw_score_lambda": 0.6,
"dtw_max_cells": 4000000,
"w_dtw": 0.7,
"w_index": 0.3,
"top_k": 10
},
"top1": 0.7751937984496124
},
{
"config": {
"sample_rate": 16000,
"band_low_hz": 60.0,
"band_high_hz": 2000.0,
"band_order": 4,
"denoise_window": 3,
"target_rms": 0.06,
"trim_threshold_db": -45.0,
"trim_padding_ms": 50.0,
"frame_ms": 48.0,
"hop_ms": 10.0,
"fmin_hz": 70.0,
"fmax_hz": 1000.0,
"yin_threshold": 0.12,
"yin_max_cmndf": 0.55,
"voicing_conf": 0.5,
"voicing_db_below_peak": -45.0,
"median_filter_frames": 7,
"octave_fold_low": 9.0,
"octave_fold_high": 15.0,
"split_semitones": 0.8,
"min_note_ms": 70.0,
"bridge_gap_ms": 60.0,
"merge_semitones": 0.5,
"repeat_merge_semitones": 0.35,
"max_notes": 600,
"interval_clip": 12.0,
"contour_jump": 0.75,
"candidates_min": 40,
"candidates_per_sqrt": 7.0,
"candidate_score_floor": 0.1,
"full_scan_below_songs": 60,
"contour_variants_max": 40,
"dtw_pitch_free_band": 0.3,
"dtw_pitch_cap": 10.0,
"dtw_dur_cap": 2.5,
"dtw_pitch_weight": 1.0,
"dtw_dur_weight": 0.7,
"transpose_range": 24,
"transpose_span": 4,
"transpose_candidates": 8,
"dtw_score_lambda": 0.6,
"dtw_max_cells": 4000000,
"w_dtw": 0.7,
"w_index": 0.3,
"top_k": 10
},
"top1": 0.7751937984496124
},
{
"config": {
"sample_rate": 16000,
"band_low_hz": 60.0,
"band_high_hz": 2000.0,
"band_order": 4,
"denoise_window": 3,
"target_rms": 0.06,
"trim_threshold_db": -45.0,
"trim_padding_ms": 50.0,
"frame_ms": 48.0,
"hop_ms": 10.0,
"fmin_hz": 70.0,
"fmax_hz": 1000.0,
"yin_threshold": 0.12,
"yin_max_cmndf": 0.55,
"voicing_conf": 0.5,
"voicing_db_below_peak": -45.0,
"median_filter_frames": 7,
"octave_fold_low": 9.0,
"octave_fold_high": 15.0,
"split_semitones": 0.8,
"min_note_ms": 70.0,
"bridge_gap_ms": 60.0,
"merge_semitones": 0.5,
"repeat_merge_semitones": 0.35,
"max_notes": 600,
"interval_clip": 12.0,
"contour_jump": 0.75,
"candidates_min": 40,
"candidates_per_sqrt": 7.0,
"candidate_score_floor": 0.1,
"full_scan_below_songs": 60,
"contour_variants_max": 40,
"dtw_pitch_free_band": 0.3,
"dtw_pitch_cap": 10.0,
"dtw_dur_cap": 2.5,
"dtw_pitch_weight": 1.0,
"dtw_dur_weight": 0.7,
"transpose_range": 24,
"transpose_span": 2,
"transpose_candidates": 8,
"dtw_score_lambda": 0.6,
"dtw_max_cells": 4000000,
"w_dtw": 0.7,
"w_index": 0.3,
"top_k": 10
},
"top1": 0.7829457364341085
},
{
"config": {
"sample_rate": 16000,
"band_low_hz": 60.0,
"band_high_hz": 2000.0,
"band_order": 4,
"denoise_window": 3,
"target_rms": 0.06,
"trim_threshold_db": -45.0,
"trim_padding_ms": 50.0,
"frame_ms": 48.0,
"hop_ms": 10.0,
"fmin_hz": 70.0,
"fmax_hz": 1000.0,
"yin_threshold": 0.12,
"yin_max_cmndf": 0.55,
"voicing_conf": 0.5,
"voicing_db_below_peak": -45.0,
"median_filter_frames": 7,
"octave_fold_low": 9.0,
"octave_fold_high": 15.0,
"split_semitones": 0.8,
"min_note_ms": 70.0,
"bridge_gap_ms": 60.0,
"merge_semitones": 0.5,
"repeat_merge_semitones": 0.35,
"max_notes": 600,
"interval_clip": 12.0,
"contour_jump": 0.75,
"candidates_min": 40,
"candidates_per_sqrt": 7.0,
"candidate_score_floor": 0.1,
"full_scan_below_songs": 60,
"contour_variants_max": 40,
"dtw_pitch_free_band": 0.3,
"dtw_pitch_cap": 10.0,
"dtw_dur_cap": 2.5,
"dtw_pitch_weight": 1.0,
"dtw_dur_weight": 0.7,
"transpose_range": 24,
"transpose_span": 2,
"transpose_candidates": 8,
"dtw_score_lambda": 0.6,
"dtw_max_cells": 4000000,
"w_dtw": 0.7,
"w_index": 0.3,
"top_k": 10
},
"top1": 0.7829457364341085
},
{
"config": {
"sample_rate": 16000,
"band_low_hz": 60.0,
"band_high_hz": 2000.0,
"band_order": 4,
"denoise_window": 3,
"target_rms": 0.06,
"trim_threshold_db": -45.0,
"trim_padding_ms": 50.0,
"frame_ms": 48.0,
"hop_ms": 10.0,
"fmin_hz": 70.0,
"fmax_hz": 1000.0,
"yin_threshold": 0.12,
"yin_max_cmndf": 0.55,
"voicing_conf": 0.5,
"voicing_db_below_peak": -45.0,
"median_filter_frames": 7,
"octave_fold_low": 9.0,
"octave_fold_high": 15.0,
"split_semitones": 0.8,
"min_note_ms": 70.0,
"bridge_gap_ms": 60.0,
"merge_semitones": 0.5,
"repeat_merge_semitones": 0.35,
"max_notes": 600,
"interval_clip": 12.0,
"contour_jump": 0.75,
"candidates_min": 40,
"candidates_per_sqrt": 7.0,
"candidate_score_floor": 0.1,
"full_scan_below_songs": 60,
"contour_variants_max": 40,
"dtw_pitch_free_band": 0.3,
"dtw_pitch_cap": 10.0,
"dtw_dur_cap": 2.5,
"dtw_pitch_weight": 1.0,
"dtw_dur_weight": 0.7,
"transpose_range": 24,
"transpose_span": 2,
"transpose_candidates": 8,
"dtw_score_lambda": 0.6,
"dtw_max_cells": 4000000,
"w_dtw": 0.7,
"w_index": 0.3,
"top_k": 10
},
"top1": 0.7829457364341085
},
{
"config": {
"sample_rate": 16000,
"band_low_hz": 60.0,
"band_high_hz": 2000.0,
"band_order": 4,
"denoise_window": 3,
"target_rms": 0.06,
"trim_threshold_db": -45.0,
"trim_padding_ms": 50.0,
"frame_ms": 48.0,
"hop_ms": 10.0,
"fmin_hz": 70.0,
"fmax_hz": 1000.0,
"yin_threshold": 0.12,
"yin_max_cmndf": 0.55,
"voicing_conf": 0.5,
"voicing_db_below_peak": -45.0,
"median_filter_frames": 7,
"octave_fold_low": 9.0,
"octave_fold_high": 15.0,
"split_semitones": 0.8,
"min_note_ms": 70.0,
"bridge_gap_ms": 60.0,
"merge_semitones": 0.5,
"repeat_merge_semitones": 0.35,
"max_notes": 600,
"interval_clip": 12.0,
"contour_jump": 0.75,
"candidates_min": 40,
"candidates_per_sqrt": 7.0,
"candidate_score_floor": 0.1,
"full_scan_below_songs": 60,
"contour_variants_max": 40,
"dtw_pitch_free_band": 0.3,
"dtw_pitch_cap": 10.0,
"dtw_dur_cap": 2.5,
"dtw_pitch_weight": 1.0,
"dtw_dur_weight": 0.7,
"transpose_range": 24,
"transpose_span": 2,
"transpose_candidates": 8,
"dtw_score_lambda": 0.6,
"dtw_max_cells": 4000000,
"w_dtw": 0.7,
"w_index": 0.3,
"top_k": 10
},
"top1": 0.7829457364341085
},
{
"config": {
"sample_rate": 16000,
"band_low_hz": 60.0,
"band_high_hz": 2000.0,
"band_order": 4,
"denoise_window": 3,
"target_rms": 0.06,
"trim_threshold_db": -45.0,
"trim_padding_ms": 50.0,
"frame_ms": 48.0,
"hop_ms": 10.0,
"fmin_hz": 70.0,
"fmax_hz": 1000.0,
"yin_threshold": 0.12,
"yin_max_cmndf": 0.55,
"voicing_conf": 0.5,
"voicing_db_below_peak": -45.0,
"median_filter_frames": 7,
"octave_fold_low": 9.0,
"octave_fold_high": 15.0,
"split_semitones": 0.8,
"min_note_ms": 70.0,
"bridge_gap_ms": 60.0,
"merge_semitones": 0.5,
"repeat_merge_semitones": 0.35,
"max_notes": 600,
"interval_clip": 12.0,
"contour_jump": 0.75,
"candidates_min": 40,
"candidates_per_sqrt": 7.0,
"candidate_score_floor": 0.1,
"full_scan_below_songs": 60,
"contour_variants_max": 40,
"dtw_pitch_free_band": 0.3,
"dtw_pitch_cap": 10.0,
"dtw_dur_cap": 2.5,
"dtw_pitch_weight": 1.0,
"dtw_dur_weight": 0.7,
"transpose_range": 24,
"transpose_span": 2,
"transpose_candidates": 8,
"dtw_score_lambda": 0.6,
"dtw_max_cells": 4000000,
"w_dtw": 0.7,
"w_index": 0.3,
"top_k": 10
},
"top1": 0.7829457364341085
},
{
"config": {
"sample_rate": 16000,
"band_low_hz": 60.0,
"band_high_hz": 2000.0,
"band_order": 4,
"denoise_window": 3,
"target_rms": 0.06,
"trim_threshold_db": -45.0,
"trim_padding_ms": 50.0,
"frame_ms": 48.0,
"hop_ms": 10.0,
"fmin_hz": 70.0,
"fmax_hz": 1000.0,
"yin_threshold": 0.12,
"yin_max_cmndf": 0.55,
"voicing_conf": 0.5,
"voicing_db_below_peak": -45.0,
"median_filter_frames": 7,
"octave_fold_low": 9.0,
"octave_fold_high": 15.0,
"split_semitones": 0.8,
"min_note_ms": 70.0,
"bridge_gap_ms": 60.0,
"merge_semitones": 0.5,
"repeat_merge_semitones": 0.35,
"max_notes": 600,
"interval_clip": 12.0,
"contour_jump": 0.75,
"candidates_min": 40,
"candidates_per_sqrt": 7.0,
"candidate_score_floor": 0.1,
"full_scan_below_songs": 60,
"contour_variants_max": 40,
"dtw_pitch_free_band": 0.3,
"dtw_pitch_cap": 10.0,
"dtw_dur_cap": 2.5,
"dtw_pitch_weight": 1.0,
"dtw_dur_weight": 0.7,
"transpose_range": 24,
"transpose_span": 2,
"transpose_candidates": 8,
"dtw_score_lambda": 0.6,
"dtw_max_cells": 4000000,
"w_dtw": 0.7,
"w_index": 0.3,
"top_k": 10
},
"top1": 0.7829457364341085
}
]
}