Skip to content

Commit

Permalink
HPCP: improve description for size parameter (#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbogdanov committed Mar 18, 2024
1 parent cdc7700 commit 98ae2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/spectral/hpcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class HPCP : public Algorithm {
}

void declareParameters() {
declareParameter("size", "the size of the output HPCP (must be a positive nonzero multiple of 12)", "[12,inf)", 12);
declareParameter("size", "the size of the output HPCP (defines bin resolution, must be a positive nonzero multiple of 12)", "[12,inf)", 12);
declareParameter("referenceFrequency", "the reference frequency for semitone index calculation, corresponding to A3 [Hz]", "(0,inf)", 440.0);
declareParameter("harmonics", "number of harmonics for frequency contribution, 0 indicates exclusive fundamental frequency contribution", "[0,inf)", 0); // 8 for chord estimation
declareParameter("bandPreset", "enables whether to use a band preset", "{true,false}", true);
Expand Down

0 comments on commit 98ae2b0

Please sign in to comment.