Motionz

Beat Grid

Place every press, pop and cut on a BPM grid, in frames.

remotion

Installation

Terminal
npx shadcn@latest add https://motionz.dev/r/beat.json

API

NameTypeDefaultDescription
beatAt(n, fps, bpm?)number–Frame of beat n. Halves and quarters allowed: 1.5 is the "and".
nextBeat(frame, fps, bpm?)number–First beat at or after a frame.
beatFrames(fps, bpm?)number–Frames in one beat (40 at 60fps, 90 BPM).
useBeat(bpm?){ frames, at, next }–The grid for the current composition's fps.