processing/processing-sound

Implement start-to-finish on-the-fly playback for large audio files

开放

#88 创建于 2023年9月21日

 (0 条评论) (0 个反应) (0 位负责人)Java (49 个派生)auto 404
enhancementhelp wanted

仓库指标

星标
 (163 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

The current SoundFile implementation decodes and loads the entire content of the audio file into RAM, which is the only reliable way to allow low-level buffer access, editing and scrubbing.

A currently unsupported use case is straightforward on-the-fly playback of long audio files that are too big to be kept in memory. This should be feasible by implementing a wrapper around the current JavaSound decoding functionality in SoundFile and packing it inside a UnitGenerator that passes the incrementally decoded audio to JSyn for immediate playback. (Pausing and restarting could even be supported, just no scrubbing/skipping or editing.)

贡献者指南