Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
felipetovarhenao committed Sep 21, 2023
2 parents b3219b2 + 0aa8deb commit 6b588ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/QuestionGen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class QuestionGen {
const isPitch = Math.random();
const noun = isPitch ? "pitch" : "interval";
const cents = Math.round(Math.random() * 11 + 1) * 100;
const denomArray = arithmSeries(1, 11);
const denomArray = arithmSeries(1, 13);
const bestRatio = FractionOp.decimalToFraction(centsToRatio(cents), denomArray);
const answer = FractionOp.toString(bestRatio);
const prompt = `Which of the following ${noun} ratios best approximates ${cents}¢?`;
Expand Down

0 comments on commit 6b588ad

Please sign in to comment.