Skip to content

guide library

Aisjam edited this page Nov 15, 2026 · 1 revision

Library and file browsers

Home · Section index

Working manual · 0.0.1-alpha · source snapshot 16 November 2026

Normal desktop and H700 launches use data beside the executable. An explicit --content-root still overrides this directory. assets remains the bundled runtime-resource tree. The SD-card launcher creates data, not data/Assets.

User categories: Samples, Projects, Instruments (.cti), Synths (.cts), Visualiser (.ctv), Artwork, Glyphs, Fonts, Themes, Scales, Presets, Exports, Received, Send and System. Presets/Project, Pattern, Effects and Synths retain project-template, pattern, effect and ensemble semantics. Individual VIS banks use Visualiser rather than Presets/VIS.

Individual synth presets save under Synths/<synth model>/, for example Synths/Drum Seven/S0.cts or Synths/PZAR/SYNTH-1.cts. Both normal saves and working-bank exports use these folders, created when saving. LOAD CTS starts in the model folder, falling back to an existing parent when needed. Parent navigation still reaches legacy loose presets; existing files are not moved. Drum Seven's import tool also writes its CTS into Synths/Drum Seven/. Sample paths and preset/project binary formats are unchanged.

Compatibility and migration

Startup prepareUserLibrary copies missing legacy data/Assets files to data, Presets/VIS to Visualiser, and bundled Samples/Projects/Synths into the user library. Default desktop launches also import the previous SDL preference-root library and settings. System/library-layout-v1 marks successful completion; it prevents future launches from reinstalling deleted user files. Failed migrations are logged and retried; originals, conflicts and crash staging are preserved. Large libraries take time on first launch. Migration runs on a filesystem worker while the main thread presents PREPARING YOUR LIBRARY and processes window events. Closing the window cancels between entries, preserving completed copies and originals; the next launch safely resumes. Windows migration uses extended paths for source, destination and staging, so long archive paths do not repeatedly fail the completion marker. Use the normal launcher, not the 30-second device-test launcher. This is non-destructive migration, not disk-space cleanup. No SD card is changed by building the application; migration runs when the new executable is launched.

New selections store data-relative paths such as Samples/kick.wav. Existing Assets/... references and serialized project bytes are not rewritten. Readers resolve them against the original override, data/Assets or bundled legacy library when present, then the flat data library. Original sources win when a migration destination conflicts. Do not remove original libraries until legacy projects are checked. CTP, CTL, CTI, CTS and publication formats are unchanged; Creative.Project.v1 and portable package layouts remain unchanged. Packages can therefore still contain Assets/Projects/Song.ctp internally.

Shared browser contract

AssetBrowserRequest owns root, allowed extensions, selection mode/limit, optional validation and inclusion predicates, show-all policy and optional project action. AssetBrowser::open supplies an initial directory beneath that root. Navigation never escapes it; results are relative to it. Locations are remembered per root, initial folder and extension set for the lifetime of the browser instance.

B moves to the parent, then cancels at root. Y refreshes. Select+X toggles all files; unsupported files remain disabled. Folders remain available regardless of file filters. System, _Backup, live CTL and staging entries are hidden. Symlink traversal remains prohibited. The folder limit is 4096 entries.

Sample selection starts in Samples and can reach Projects. Select+A on a disabled CTP requests Open Project through ProjectFiles confirmation; ordinary A cannot accidentally replace the project. File browsing itself never changes music state. Project Open/Save starts in Projects; Received is another starting location under the same data root. Instruments, synth/VIS banks, ensembles/templates and import browsers likewise use data-relative results. Theme selection uses the shared browser. Scale selection retains built-in scales and adds Browse User Files. Art Canvas Open/Bank/Palette uses the same browser with R1 switching User/Factory; Factory artwork Save routes to Save As in the user library.

Runtime VIS image catalogs and built-in theme palettes remain specialised selectors, not general file managers. The desktop authoring tools retain native file dialogs.

What should be here

Documentation still to add
Annotated current-build screenshots and a recorded controller walkthrough for this topic.

Evidence and verification

Repository sources used for this page:

  • docs/user-library.md

This is a documentation/source review, not a new runtime or hardware test. Physical response, screenshots and listening examples still need verification on a recorded build.

Clone this wiki locally