Deluge Firmware 1.3.0
Build date: 2026.10.14
Loading...
Searching...
No Matches
AudioEngine::PreviewVolume Struct Reference

#include <audio_engine.h>

Static Public Member Functions

static PreviewVolume neutral ()
 The defaults the preview drum is built with, from Sound::initParams() and Sound::setupAsSample().

Public Attributes

int32_t volumePostFX
 params::GLOBAL_VOLUME_POST_FX
int32_t localVolume
 params::LOCAL_VOLUME
int32_t velocityCableDepth
 depth of the VELOCITY -> LOCAL_VOLUME patch cable
Polarity velocityCablePolarity
 polarity of the VELOCITY -> LOCAL_VOLUME patch cable

Detailed Description

The volume context for a sample preview: the params the preview drum should adopt so that it sounds like the instrument or kit-row the sample will be loaded into (issue #1591). Values are already fully resolved - any kit output volume has been folded in by the caller.


The documentation for this struct was generated from the following files:
  • src/deluge/processing/engines/audio_engine.h
  • src/deluge/processing/engines/audio_engine.cpp