import type { Composition } from "../../core/composition.ts"; import { createStreamPiece, type StreamDef } from "../../stream/piece.ts"; import defaults from "./defaults.json"; import { estimateLength, layout } from "./layout.ts"; import { schema } from "./schema.ts"; import { ensembleView } from "./view.ts"; const def: StreamDef = { id: "05-ensemble", schema, layout, estimateLength, view: ensembleView }; export const ensemble: Composition = { id: def.id, title: "ensemble", schema, defaults, create: (view, params) => createStreamPiece(def, view, params), };