开发者askpext在Hacker News分享了自主开发的HERTZ项目,这是一款网页版数字音频工作站(DAW),功能上类似于Audacity但采用极简设计[1]。该工具基于Web Audio API和FFmpeg.wasm构建,采用"零服务器"架构,所有音频处理完全在客户端浏览器内进行,无需将数据上传至云端[1]。
HERTZ的核心功能包括多格式转换(支持WAV、MP3、M4A、OGG)、非破坏性编辑、数字信号处理以及MP3编码输出[1]。该工具内置了优化的人声处理链,包括EQ模块(80Hz截断频率,Q值1.4)、压缩器(阈值-20.0dB,比率3.1:1)和限制器[1]。通过在浏览器端处理所有音频,HERTZ具有低延迟、零带宽成本和增强隐私保护等优势[1]。
项目已在GitHub开源发布,地址为https://github.com/askpext/hertz.git[1]。该工具需要Node.js 18.x及以上版本,并要求浏览器支持WebAssembly,包括Chrome 90+、Firefox 90+、Safari 15+等[1]。服务器部署时需配置COOP/COEP安全头(跨域开启者策略和跨域嵌入者策略)[1]。
A developer known as askpext has unveiled HERTZ, an open-source web-based digital audio workstation designed as a lightweight alternative to Audacity.[1] The tool leverages Web Audio API and FFmpeg.wasm to bring audio editing capabilities directly to the browser, employing a "zero-server" architecture where all processing occurs client-side in WebAssembly.[1]
HERTZ supports multiple audio formats including WAV, MP3, M4A, and OGG, with non-destructive editing and digital signal processing capabilities.[1] The application includes an optimized vocal processing chain featuring an equalizer with an 80 Hz cutoff frequency and Q value of 1.4, followed by a compressor configured with a threshold of -20.0 dB and 3.1:1 ratio, and a limiter.[1] By eliminating server uploads, HERTZ offers advantages in latency reduction, zero bandwidth costs, and enhanced privacy protection.[1]
The project requires Node.js 18.x or later and a WebAssembly-compatible browser such as Chrome 90+, Firefox 90+, or Safari 15+.[1] Server deployment necessitates configuration of COOP and COEP security headers (Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy).[1] The source code is available on GitHub at https://github.com/askpext/hertz.git.[1]