# Moonlit

> Slowed/nightcore effects for your favorite YouTube & TikTok videos

- **Year**: 2023
- **Links**: [GitHub](https://github.com/bgwastu/moonlit), [Listen to music](https://moonlit.wastu.net)

I'm kind of a weird person who can only focus when listening to nightcore or slowed+reverb looped music. So I built a music player that lets me customize playback speed and reverb in real-time.

## Features

- Change playback speed and reverb effect in real-time
- 3 default modes (slowed, normal, speed up) with a customizable mode
- Custom background for personalized aesthetics
- YouTube integration with quick link (youtubelit.com)

## The backstory

I used to reverse-engineer my audio driver just to access the legacy Realtek HD Audio Manager. It was the only way to change output audio pitch manually. I even wrote [a simple script](https://github.com/bgwastu/ytnc_cli) to convert YouTube songs into nightcore, but it was painfully slow and not very customizable.

At first, I was very reliant on AudioContext API for everything. But then I realized I could just use playback speed on the video element and only use AudioContext for reverb. Much simpler.

Building this taught me how audio and frequencies work, and more importantly, not to waste time writing features that nobody (including myself) would actually use.
