/** Timing and dynamic controls for each expressive take. */ export interface PerformerProfile { /** Peak proportional change in beat length across a phrase. */ rubato: number; /** Peak correlated change in beat length between takes. */ drift: number; /** Strength of the phrase's dynamic arch and the player's attack variation. */ swell: number; touch: number; /** Amount of tempo-dependent eighth-note swing, from straight (0) to full (1). */ swing: number; /** Positive emphasizes the beat, negative the offbeat, as a percentage of written velocity. */ beatAccent: number; /** Lead part's downbeat displacement as a signed fraction of a beat. */ pocket: number; /** Fraction of the principal note available to an unmeasured grace group. */ grace: number; /** Maximum separation of a chord’s first and last fingers, in seconds. Zero selects a block attack. */ chordSpread?: number; } /** Starting points for listening and customization. All share the same transformation. */ export declare const performerProfiles: { readonly human: { readonly chordSpread: 0.008; readonly rubato: 0.006; readonly drift: 0.004; readonly swell: 1; readonly touch: 2; readonly swing: 0; readonly beatAccent: 0.5; readonly pocket: 0; readonly grace: 0.21; }; readonly bach: { readonly chordSpread: 0.007; readonly rubato: 0.021; readonly drift: 0.014; readonly swell: 3; readonly touch: 3; readonly swing: 0; readonly beatAccent: 7; readonly pocket: 0; readonly grace: 0.14; }; readonly chopin: { readonly chordSpread: 0.016; readonly rubato: 0.105; readonly drift: 0.035; readonly swell: 9; readonly touch: 5; readonly swing: 0; readonly beatAccent: 1; readonly pocket: 0; readonly grace: 0.22; }; readonly ragtime: { readonly chordSpread: 0.008; readonly rubato: 0.006; readonly drift: 0.008; readonly swell: 2; readonly touch: 3; readonly swing: 0; readonly beatAccent: -3; readonly pocket: 0; readonly grace: 0.13; }; readonly blues: { readonly chordSpread: 0.014; readonly rubato: 0.024; readonly drift: 0.018; readonly swell: 4; readonly touch: 5; readonly swing: 0.9; readonly beatAccent: -2; readonly pocket: 0.055; readonly grace: 0.16; }; readonly parker: { readonly chordSpread: 0.013; readonly rubato: 0.012; readonly drift: 0.015; readonly swell: 3; readonly touch: 5; readonly swing: 1; readonly beatAccent: -5; readonly pocket: 0.032; readonly grace: 0.11; }; readonly robot: { readonly chordSpread: 0; readonly rubato: 0; readonly drift: 0; readonly swell: 0; readonly touch: 0; readonly swing: 0; readonly beatAccent: 0; readonly pocket: 0; readonly grace: 0.25; }; }; /** Written rhythmic feel overrides the preset independently of who is playing. */ export type SwingSetting = 'eighths' | 'off'; /** Names accepted by both the score language and the player. */ export type PerformerName = keyof typeof performerProfiles; export declare function isPerformerName(name: string): name is PerformerName;