Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
docs/sound.feature: SN2 lists what Stability's Community License asks of raea, which hands SAO on (the agreement and a NOTICE with its exact attribution beside the model, "Powered by Stability AI" where raea documents it, raea's own registration and revenue test) and leaves what applies to the person to be decided, including the integrated-product clause. SN7 counts a chord's notes as one onset, makes the guides' own example cues its first fixtures that must pass and a held pad its fixture that must fail, and marks its thresholds as a first guess. SN4 adds Mixkit to the packs never mirrored and GPL to what the catalogue never holds; SN6 names Roland's drum map and keeps a note with no note-off.
shinyobjectz43e35b2302af
diff --git a/docs/sound.feature b/docs/sound.featureindex e0ab13b9..03366ad7 100644--- a/docs/sound.feature+++ b/docs/sound.feature@@ -22,12 +22,27 @@ Feature: Sound for picture: the local models on any Mac, open libraries and packAnd a missing tool, a full disk or a failed download is named in the error with the one command that fixes itAnd it is proven from a release build on a fresh macOS user account, with the sizes it reports- Scenario: SN2. A model's licence is shown and kept- Given Stable Audio Open Small is under Stability AI's Community License, which isn't an open licence- When setup-audio installs a model- Then it prints the model's licence and where to read it, and writes it beside the model as LICENCE.txt- And `raea setup-audio --check` names each model's licence- And the person decides once whether SAO's sounds go into their commercial pieces, before the first one does+ Scenario: SN2. raea meets SAO's licence, and says what is left for the person+ Given Stable Audio Open Small is under Stability AI's Community License (stability.ai/community-license-agreement),+ which isn't an open licence, and raea hands the model on to everyone who uses raea, so the licence's duties for+ whoever distributes it, or a product that uses it, are raea's+ When setup-audio installs it+ Then it writes a copy of the agreement and a NOTICE file beside the model (~/.cache/raea-sao), the notice+ holding the attribution the licence gives word for word ("This Stability AI Model is licensed under the+ Stability AI Community License, Copyright © Stability AI Ltd. All Rights Reserved"), and saying that the+ model raea installs is a changed one and how (a Core ML conversion from a Hugging Face mirror)+ And raea shows "Powered by Stability AI" where it documents SAO (the manual's setup-audio page, the app's about+ page)+ And raea's maker has registered its commercial use with Stability, and knows the licence ends for raea when+ raea and its affiliates make more than USD 1 million a year, from anything, unless Stability grants it an+ enterprise licence+ And `raea setup-audio --check` names each model's licence and where its copy is+ And what applies to the person is decided and written in motion/sources.md: whether the licence's clause for+ someone who gets the model "as part of an integrated end user product" takes them out of its commercial+ section, and what remains (the outputs are theirs as far as the law allows; no training another generative+ model on them; Stability's acceptable use policy)+ And until then the guides tell the agent to name the licence and link it before an SAO sound goes into a+ commercial piece, and to say nothing about what it requires of the personScenario: SN3. The app offers the local models before a piece needs themGiven the raea app on a Mac without the models@@ -44,9 +59,11 @@ Feature: Sound for picture: the local models on any Mac, open libraries and packThen it downloads only that, once, into ~/.cache/raea-sounds, checked against a pinned SHA-256And it copies what the piece uses into media/ with its LICENCE.txt and the credit line it needsAnd it converts what raea can't read (Ogg, Opus) to WAV on the way in- And a pack whose licence forbids passing it on (Sonniss's bundles, Pixabay's sounds) is never mirrored: raea- links to it and indexes the person's own download- And nothing non-commercial, no-derivatives, Sampling+ or share-alike is in the catalogue+ And a pack whose licence forbids passing it on (Sonniss's bundles, Pixabay's and Mixkit's sounds) is never+ mirrored: raea links to it and indexes the person's own download+ And nothing non-commercial, no-derivatives, Sampling+, share-alike or GPL is in the catalogue+ And until it does, motion/sources.md gives a one-line fetch for every pack with a stable address, into+ ~/Music/raea-sounds/PACK/ with its licence beside itAnd Freesound is searched from raea only under a commercial licence for its API from Freesound's ownersScenario: SN5. A sampled instrument keeps its dynamics and round robins@@ -59,16 +76,25 @@ Feature: Sound for picture: the local models on any Mac, open libraries and packScenario: SN6. A MIDI file plays on sampled instrumentsGiven a MIDI file: a Groove MIDI drum performance, or a public-domain score exported from MuseScoreWhen a composition imports it (`import groove from "./media/grooves/funk-92.mid"`)- Then it gets the file's tracks and notes in raea/music's MidiFile shape, to play on Samplers and Players- And a General MIDI drum track maps onto a kit by note number+ Then it gets the file's tracks and notes in raea/music's MidiFile shape (parseMidi's), to play on Samplers and+ Players, the same shape motion/sources.md's converter writes as JSON today+ And a drum track maps onto a kit by note number, in General MIDI's map or a named kit's (Roland's, which+ Groove MIDI was recorded on, adds hi-hat edges at 22 and 26)+ And a note-on with no note-off ends where the file does, as the converter has it, instead of being droppedAnd a SoundFont bank (.sf2, .sf3) can play it in raea, without a render outside itRule: Music is composed for the cut, and a drone is caughtScenario: SN7. raea check says when a cue is a droneGiven a render whose music bus holds a cue longer than 15 s- When `raea check` measures it- Then it reports, by timecode, a cue whose lead has fewer than 5 distinct pitches in 8 bars, whose chord holds- longer than 2 bars, with fewer than 2 note onsets a beat across its parts, a velocity spread under 8 (of- 127), one timbre throughout, or an ending that fades rather than landing on a cut- And its thresholds are set from approved scores and known drones before it ranks anything above P3+ When `raea check` measures it from the render's note events+ Then it reports, by timecode, a cue that holds still, by these measures: the distinct pitches its lead plays in+ 8 bars, the longest any one chord holds, its note onsets a beat over 4 bars across all its parts (the notes of+ a chord struck together count as one onset, and a bar with no onset counts as a held one), the spread of its+ velocities, how many timbres it uses, and whether it ends on a cut or fades out+ And its first fixtures are the cues in the guides' own examples (motion/music's cue and game loop, motion/sound's+ cue, the game bench's loop), which must all pass whatever their length, and a held pad and a sine sub under+ a long reverb, which must fail+ And its thresholds are set from those fixtures, approved scores and known drones before it ranks anything above+ P3 (a first guess, not measured: under 5 lead pitches in 8 bars, a chord held past 2 bars, under 1 onset a+ beat, a velocity spread under 8 of 127)