Skip to content

Commit

Permalink
Use verbose flag for getChromaComplexityTonal
Browse files Browse the repository at this point in the history
  • Loading branch information
lacimarsik committed Oct 29, 2016
1 parent 9f73ee1 commit f0f4690
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public ChromaComplexityTonalPlugin() {
}

public float getChromaComplexity(Chroma previousChroma, Chroma chroma) throws Chroma.WrongChromaSize {
return Chromanal.getChromaComplexityTonal(previousChroma, chroma);
return Chromanal.getChromaComplexityTonal(previousChroma, chroma, false);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ public void shouldGetChromaComplexityTonal() throws Chroma.WrongChromaSize {
// IGNORING CHORD TONES C, G
// D: 0.5 => 0
// Sum of Deltas: 0.8
assertEquals(0.8, Chromanal.getChromaComplexityTonal(chroma1, chroma2), 0.01);
assertEquals(0.8, Chromanal.getChromaComplexityTonal(chroma1, chroma2, false), 0.01);
}
}

0 comments on commit f0f4690

Please sign in to comment.