Skip to content

Commit

Permalink
feat: fine tuned lip sync
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepat0 committed Oct 15, 2024
1 parent 6905874 commit 5d71023
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/context/visemeContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ interface VisemeContextType {

const VisemeContext = createContext<VisemeContextType | undefined>(undefined);

const VISEME_SMOOTHING = 0.5;
const VISEME_SMOOTHING = 0.3;
const DEFAULT_VISEME_DURATION = 0.1;
const MINIMUM_ELAPSED_TIME = 0.01;
const VISEME_SPEED_FACTOR = 0.95;
const AUDIO_PLAYBACK_RATE = 0.95;
const VISEME_BASE_SPEED = 0.95;
const VISEME_SPEED_FACTOR = 1;
const AUDIO_PLAYBACK_RATE = 1;
const VISEME_BASE_SPEED = 1;

const VISEME_MAP: { [key: number]: string } = {
0: 'viseme_sil',
Expand Down

0 comments on commit 5d71023

Please sign in to comment.