Skip to content

Commit a9b0278

Browse files
committed
feat(timeline): allow optional instrument UI parameters
1 parent c2db1c8 commit a9b0278

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/timeline/src/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,8 @@ export interface WavetableOscillator {
623623
*/
624624
export interface WavetableMidiInstrument {
625625
type: "wavetable";
626+
/** UI parameters from the WT-1 rack that are not part of the render core. */
627+
fableParams?: Record<string, number>;
626628
oscA: WavetableOscillator;
627629
oscB: WavetableOscillator;
628630
/** Sine sub-oscillator level, 0..1. */
@@ -653,6 +655,8 @@ export interface WavetableMidiInstrument {
653655
*/
654656
export interface BassMidiInstrument {
655657
type: "bass";
658+
/** UI parameters from the BL-1 rack that are not part of the render core. */
659+
fableParams?: Record<string, number>;
656660
table: MidiWavetableName;
657661
/** Morph position across the table's frames, 0..1. */
658662
position: number;
@@ -740,6 +744,8 @@ export interface DrumPad {
740744
*/
741745
export interface DrumMidiInstrument {
742746
type: "drum";
747+
/** UI parameters from the DR-1 rack that are not part of the render core. */
748+
fableParams?: Record<string, number>;
743749
/** The MIDI note pad 0 answers to. Pads run `baseNote`..`baseNote + 15`. */
744750
baseNote: number;
745751
pads: DrumPad[];

0 commit comments

Comments
 (0)