Skip to content

Concat 0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Oct 04:29
· 4 commits to main since this release

A corpus no longer has to be one folder, and you can now build one from a web page that runs Concat's own analysis in your browser. This release also fixes the freeze when switching modules mid-analysis, and keeps big corpora from overloading the audio thread.

Requires Schwung 1.3.0 or later. Tested on a Move running Schwung 1.5.0. Power-cycle the Move after installing.

Playing

  • View page: the corpus map on the screen (slices, your position and radius, a trail of played slices) with the Recipes browser on the jog wheel: Init, Cloud, Stutter, Drone, Scatter, Pitched, Mosaic, Sequence.
  • Scope (Folder / File): one sample can be the whole corpus. Default File.
  • Smooth (grain-to-grain continuity), Pos Jitter (random start inside a slice), Level Norm (evens out slices from different recordings).
  • Grains that loop their slice cross the seam with an equal-power fade.
  • A new Concat loads a first corpus by itself (the first sample of your first Samples folder).
  • Saturation is audible again.
  • Pages folded into Mod & Set; full parameter names (needs Schwung 1.3.0).

Corpus files

  • .concat files describe a corpus: several folders and samples, start and end points per sample, include and skip patterns, slicing settings, and which descriptors Concat uses. Pick one in Source like a sample.
  • Live reload. Edit the loaded file and Concat rebuilds it in the background while the old corpus keeps playing. A broken file keeps the old corpus and says why on the View page.
  • Per-file analysis cache. After an edit, only new or changed files are analysed again: a 9170-slice corpus went live in 8.6 s instead of 76 s.
  • AIFF samples now load, and folder contents load in name order on every device.

Corpus Builder (web page)

Open http://move.local:7700/api/remote-ui/module-assets/concat/builder/app.html in a desktop browser.

  • Browse your UserLibrary, drag samples and folders in (Ctrl+A selects a whole folder), audition with play and pause, open folders to hear and skip single samples.
  • Trim a sample on its waveform; click a slice to hear just that slice.
  • See and choose the descriptors, with statistics and histograms per corpus.
  • Explore the corpus on a 3-D map (Learned) or Concat's Raw X/Y map, coloured by source, by a descriptor, or by Concat's pad clusters. Click a dot to hear a slice.
  • Play the map like Concat: drag to fire grains with Concat's Density, Grain Size and K Nearest. Hold a pad in the pad grid to hear what that pad reaches in Map mode.
  • Record what you play and save the WAV to the Move, ready to add back into a corpus.
  • The page sees which track Concat is on and what it plays. Load on track N saves the corpus and makes Concat play it, with the analysis progress shown live.

The page runs Concat's decoder, slicer and descriptor code compiled to WebAssembly, so it shows what the Move computes: same slice boundaries, descriptors within 0.06% on real files, and a saved 9214-slice corpus built to exactly 9214 slices on the device.

Remote UI

In schwung-manager's Remote UI, Concat's track shows a small panel: the corpus playing and its status, a menu of corpus files to load, and a button to open the Corpus Builder. Switch Interface to Default at the top of the track for every knob.

Engine

  • Switching modules during an analysis no longer freezes the Move. It took up to 72 s; it now takes a few milliseconds.
  • Big corpora: on a 25,000-slice corpus at a 512 MB pool, the worst-case CPU per audio block went from 19 ms (more than six times the 2.9 ms budget) to under 2 ms.
  • Long files are decoded in 60 s windows, so a 30-minute MP3 no longer needs about 1 GB of RAM.
  • A failed analysis keeps the corpus that is playing, and the View page says what happened (out of memory, kept old, bad JSON: ..., kept old, 2 sources missing).
  • Pool Cap defaults to 128 MB (was 512).
  • Concat saves its settings as JSON; sets saved with 0.1.0 still load.

Known limits

  • Nothing cleans the analysis caches yet. Delete /data/UserData/schwung/concat-cache to reclaim the space; it rebuilds as needed.
  • In the Remote UI, the panel replaces the automatic knob list for Concat's track until you switch Interface to Default (the manager does not remember that choice).
  • The filter and Shape filter-envelope are global, not per-voice.