instrument: latch the note done at the read-head run-off, fit the migrated fades, and lift the curve dial and overlay selection into pure modules
This commit is contained in:
@@ -29,9 +29,13 @@ bool ReaSamplerEditor::mouseDownWaveform(const FaceLayout& fl, int x, int y) {
|
||||
const OverlayArea overlay = waveformOverlayArea(fl.bands.waveform);
|
||||
|
||||
// Envelope nodes first (they sit on top of the markers), then the wave markers. With no
|
||||
// envelope overlay-active there are no nodes at all and the markers take every grab.
|
||||
// envelope overlay-active — or with its deck group's enable toggle off, which makes the
|
||||
// same params' knobs inert — there are no grabbable nodes and the markers take every grab.
|
||||
const double rate = liveSampleRate();
|
||||
if (rate > 0.0 && overlayEnv_ != OverlayEnv::kNone) {
|
||||
const bool nodesLive =
|
||||
overlayEnv_ != OverlayEnv::kNone &&
|
||||
!overlayEnvInert(overlayEnv_, params_.play.pitchEnv.enabled, params_.play.filter.enabled);
|
||||
if (rate > 0.0 && nodesLive) {
|
||||
const std::int64_t startFrame = params_.startPoint.value_or(0);
|
||||
const StageEnvelope env = packEnvelope(overlayEnv_, params_.play, frames, startFrame);
|
||||
const double totalSeconds = static_cast<double>(frames) / rate;
|
||||
|
||||
Reference in New Issue
Block a user