/ simulated_instruments / recorder
Sign in
simulated_instruments / recorder
recorder / instrument / knobs.ts
10 lines · 429 BCodeBlameHistory
80e74e9Add instrument/: the recorder behind the track-render interfaceJeremy Magland 1// Curated knob declarations, in their own module so the app-facing
2// index.ts can import them without pulling numbl into the main bundle.
3import type { KnobSpec } from './types.ts';
5export const RECORDER_KNOBS: KnobSpec[] = [
6 { key: 'attack_ms', label: 'attack (ms)', min: 2, max: 60, default: 12 },
7 { key: 'release_ms', label: 'release (ms)', min: 5, max: 80, default: 25 },
8];
10export type RecorderVariant = 'recorder';
↑↓ move↵openescclose