21#include "AudioBuffer.h"
Non-owning view over audio channel data.
Main namespace for the DSPark framework.
@ None
The curve as drawn: a brief move plays at part of its depth.
SampleLoopMode
How a zone loops.
@ Continuous
Loop for as long as the voice sounds, release included.
@ None
Play once to the end of the recording.
@ Sustain
Loop while the key is held, then play on past the loop end.
One zone, as the caller describes it.
int rootKey
MIDI key that plays it untransposed.
double velocityHigh
Highest velocity it answers, 0..1 (inclusive).
int64_t loopEnd
One past the last sample of the loop.
AudioBufferView< const T > audio
The recording (1 or more channels).
int64_t loopCrossfade
Crossfade length in samples (0 = hard loop).
int64_t startOffset
First sample played.
double pan
-1 left .. +1 right (balance for multichannel).
int64_t loopStart
First sample of the loop.
int keyLow
Lowest key it answers (inclusive).
double tuneCents
Fine tuning added to every note.
double sampleRate
Its sample rate.
double velocityLow
Lowest velocity it answers, 0..1 (inclusive).
int keyHigh
Highest key it answers (inclusive).