mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-20 09:32:48 +01:00
New L0 crate anicraft-audio: WAV reader/writer, Ogg Vorbis (lewton) and MP3 (nanomp3) decoding with hard size caps and a panic guard, a pure stereo mixer (sample-exact at equal rates, Catmull-Rom resampling otherwise), waveform peaks and a device-independent Player. Document: Sound library items (the imported bytes, decoded once), a FrameSound on keyframes (Event/Start/Stop/Stream, repeat, loop), and sound::voices(), the pure layout of the movie's sounds in time. Commands: file.import_to_library, Import to Stage for sounds, sound.place/ set/remove/delete/rename, file.export_audio, and the soundtrack in file.export_video (Opus in WebM, AAC in MP4, by the user's ffmpeg).