Skip to content

Commit

Permalink
Trying out lower multiplicative buff, longer additive one.
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Feb 27, 2024
1 parent 71f1c77 commit d617247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/data/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export function charsPerSec(language: string) {

/** Estimate how many characters would cause an overflow of narration time */
export function maxCharsAllowed(language: string, start: number, end: number): number {
const mult_const: number = 1.1;
const time_buff: number = 0.5;
const mult_const: number = 1.05;
const time_buff: number = 1.0;
return mult_const * (charsPerSec(language) * (end - start + time_buff));
}

Expand Down

0 comments on commit d617247

Please sign in to comment.