feat(rivet): storyboard composition with flexible lengths and meters
Check and Windows preview / check (patina) (push) Successful in 3m59s
Check and Windows preview / check (rivet) (push) Successful in 2m2s
Check and Windows preview / previews (push) Successful in 1m8s
Independent plugin release / plan (push) Successful in 7s
Check and Windows preview / windows (push) Successful in 2m41s
Independent plugin release / build (push) Successful in 3m0s
Independent plugin release / publish (push) Successful in 9s

Rivet 0.4.0 tells a motif as a story. A timeline of blocks with roles
(statement, answer, departure, return, rest) replaces tasks, pins and
branches. Rivet writes each block from a motif and joins the seams with
a cut, breath, pickup or approach.

- Motifs of 1-8 bars in a bin of 16; storyboards up to 32 bars.
- Meters 2/4, 3/4, 4/4, 5/4, 6/8, 7/8 and 12/8 for import, writing,
  audition and export. Phrygian, harmonic minor and Mixolydian scales.
- Per-block options, Another take and Keep; templates for new boards.
- Editor rebuilt: motif bin, timeline, large piano roll, inspector,
  tabs for generation, harmony and sound roles, 32-step undo/redo.
- Sessions from 0.1-0.3 open as a storyboard from their source motif.
This commit is contained in:
nvrl committed 2026-11-06 02:15:18 +01:00
1 parent abd37fd4fe
commit f1366280ff
37 files changed
+3763 -2549

No files matched your search

+13 -13
View File
@@ -64,14 +64,12 @@ fn main() {
}
}
let shared = Arc::new(rivet_app::Shared::default());
let mut session = rivet_core::Session {
source: Some(rivet_core::demo_motif()),
..Default::default()
};
session.source.as_mut().unwrap().notes[0].locked = true;
session.regenerate().unwrap();
session.accept();
if std::env::args().any(|arg| arg == "--creative") {
let mut session = rivet_core::Session::demo();
session.motifs[0].phrase.notes[0].locked = true;
session.realize_all();
session.blocks[2].kept = true;
let creative = std::env::args().any(|arg| arg == "--creative");
if creative {
session.performance.mode = rivet_core::RoleMode::CallResponse;
session.performance.voices[0].name = "Glass question".into();
session.performance.voices[1].name = "Warm answer".into();
@@ -81,12 +79,8 @@ fn main() {
voice.controller.shape(2);
voice.attack_ms = 40;
}
session.save_gesture("Hover, then resolve", None).unwrap();
session.save_branch("Opening thought").unwrap();
session
.apply_move(rivet_core::CreativeMove::Thin, Some(1))
.unwrap();
}
let session_motif = session.motifs[0].id;
shared.replace(session).unwrap();
let ctx = egui::Context::default();
if patina {
@@ -95,6 +89,12 @@ fn main() {
editor::style(&ctx);
}
let mut state = editor::EditorState::default();
if creative {
state.tab = editor::Tab::Sound;
}
if std::env::args().any(|arg| arg == "--motif") {
state.focus = Some(editor::Focus::Motif(session_motif));
}
let mut textures = std::collections::HashMap::new();
let mut output = None;
for _ in 0..3 {