/ music / double-pendulum
Sign in
music / double-pendulum
double-pendulum / src / compositions / c04-descent / index.ts
16 lines · 571 BCodeBlameHistory
f7d91baAdd composition 4: crashJeremy Magland 1import type { Composition } from "../../core/composition.ts";
75ca48aOverhaul playback: background-computed, buffered, one clockJeremy Magland 2import { createStreamPiece, type StreamDef } from "../../stream/piece.ts";
f7d91baAdd composition 4: crashJeremy Magland 3import defaults from "./defaults.json";
75ca48aOverhaul playback: background-computed, buffered, one clockJeremy Magland 4import { estimateLength, layout } from "./layout.ts";
f7d91baAdd composition 4: crashJeremy Magland 5import { schema } from "./schema.ts";
75ca48aOverhaul playback: background-computed, buffered, one clockJeremy Magland 6import { descentView } from "./view.ts";
8const def: StreamDef = { id: "04-descent", schema, layout, estimateLength, view: descentView };
f7d91baAdd composition 4: crashJeremy Magland 9
e8001dcRename composition 4: crash → descentJeremy Magland 10export const descent: Composition = {
e8001dcRename composition 4: crash → descentJeremy Magland 12 title: "descent",
f7d91baAdd composition 4: crashJeremy Magland 13 schema,
14 defaults,
75ca48aOverhaul playback: background-computed, buffered, one clockJeremy Magland 15 create: (view, params) => createStreamPiece(def, view, params),
f7d91baAdd composition 4: crashJeremy Magland 16};
↑↓ move↵openescclose