HeadlinesBriefing favicon HeadlinesBriefing.com

Voice Composer: Browser-based Pitch Detection for Live Coding

Hacker News: Front Page •
×

A new tool named Voice Composer has been introduced on Hacker News, offering browser-based pitch detection for music creation. Built by a developer seeking to bridge the gap between humming melodies and coding algorithmic patterns, it targets users of Strudel and TidalCycles. The tool utilizes TensorFlow.js and Web Audio API for real-time analysis entirely client-side, ensuring privacy.

It supports multiple algorithms: CREPE for accuracy, YIN for speed, FFT/HPS for harmonics, and AMDF for lightweight processing. Users can output visual piano rolls, MIDI files, or code. This innovation matters because it democratizes live coding for those lacking music theory knowledge, potentially expanding the user base for algorithmic music systems.

It serves as a foundational step toward a browser-based Digital Audio Workbench (DAW).