mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 04:44:33 +01:00
Audio files (WAV, AIFF, FLAC, MP3, OGG through JUCE's format manager) dropped anywhere on the editor, or loaded from the new sample browser (16 slots: pick, LOAD, CLEAR, name, length, channels), are made into sample objects on the message thread and handed to the audio thread by pointer; jiant_service runs on a 100 ms service timer. JIANT's own REC works: the master and tracks, and the input when the host gives the plugin its new Input bus (off by default, not on AU), resampled to 44.1 kHz with the output. The state embeds every slot's audio as FLAC (lossless) with its name and file, cached between saves. sample_check: a WAV dropped on the editor lands in slot 1 and SAMPLE plays it, REC MST records a bar into slot 2, a new instance restores both and plays them; plugin_check loads that state into the built VST3. The editor's fonts (DotGothic16, IBM Plex Mono, OFL) are embedded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq