diff --git a/apps/mirex_2013/mirex_2013_hmm.mat b/apps/mirex_2013/mirex_2013_hmm.mat index 54740e8..50fc068 100644 Binary files a/apps/mirex_2013/mirex_2013_hmm.mat and b/apps/mirex_2013/mirex_2013_hmm.mat differ diff --git a/examples/models/hmm_boeck.mat b/examples/models/hmm_boeck.mat index 5ac7cf5..58766d9 100644 Binary files a/examples/models/hmm_boeck.mat and b/examples/models/hmm_boeck.mat differ diff --git a/examples/models/pf_boeck.mat b/examples/models/pf_boeck.mat index 5783bd0..04a9cae 100644 Binary files a/examples/models/pf_boeck.mat and b/examples/models/pf_boeck.mat differ diff --git a/src/BeatTrackingStateSpaceHMM2006.m b/src/BeatTrackingStateSpaceHMM2006.m index 0329d7c..9875dba 100644 --- a/src/BeatTrackingStateSpaceHMM2006.m +++ b/src/BeatTrackingStateSpaceHMM2006.m @@ -24,8 +24,7 @@ use_silence_state, store_proximity); obj.min_tempo_ss = floor(obj.convert_tempo_from_bpm(min_tempo_bpm)); obj.max_tempo_ss = ceil(obj.convert_tempo_from_bpm(max_tempo_bpm)); - obj.max_n_tempo_states = max(ones(obj.n_patterns, 1) * ... - State_space_params.n_tempi, obj.max_tempo_ss); + obj.max_n_tempo_states = max(obj.max_tempo_ss); obj.compute_state_mappings(); obj.n_position_states = State_space_params.max_positions; end