# deftoku - music video renderer

a music video renderer web app. import audio, pick a visualizer, and export visuals as a video. inspired by [trill](https://trill.wisp.place)!

![cd-top visualizer preview](./cd-top.png)

## features

- **multiple silly visualizers**
- **import audio**: any format your browser supports
- **export video**: renders to webm and mp4
- **configurable output**: resolution (240p–1080p), aspect ratio (16:9, 4:3, 1:1), framerate (24/30/60 fps), and quality presets

## stack

- [deno](https://deno.com) runtime
- typescript
- html5 canvas for rendering
- [esbuild](https://esbuild.github.io) for bundling
- custom fft for frequency extraction

## running

```sh
install deno
deno task dev    # start dev server at http://localhost:8000
deno task build  # bundle to dist/dist.js
deno task deploy # creates deploy folder ready for uploading
```

### whats that name?

deftones + kessoku band = deftoku :)

thank you [jess](https://bsky.app/profile/did:plc:qfb53ybdf6lqlv34k4wxfkvg) for coming up with/letting me use this name!

### this code is kinda bad!

yup!
