UNPKG

webdaw-modules

Version:

a set of modules for building a web-based DAW

16 lines (15 loc) 445 B
import { AnchorData } from "./getPlayheadAnchorData"; import { LoopData } from "./types"; declare type Args = { ticks: number; millis: number; endMillis: number; currentAnchor: AnchorData | null; anchors: AnchorData[]; loops: LoopData[]; }; export declare const getCurrentAnchor: ({ ticks, millis, endMillis, currentAnchor, anchors, loops, }: Args) => { anchor: AnchorData | null; updated: boolean; }; export {};