This commit is contained in:
Jade (Rose) Rowland 2025-07-05 00:39:23 -04:00
parent 688e275e0c
commit 4cc2de9b7e
4 changed files with 59 additions and 54 deletions

View file

@ -72,3 +72,7 @@ export const getSoundIndex = (n, numSounds) => {
export function cycleToSeconds(cycle, cps) {
return cycle / cps;
}
export function secondsToCycle(t, cps) {
return t * cps;
}