VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
vae::core::VoicePan Struct Reference

Data to interpolate panning between blocks or do manual pan. More...

#include <vae_voice_pan.hpp>

Collaboration diagram for vae::core::VoicePan:

Public Member Functions

 VoicePan ()
 

Public Attributes

Sample volumes [StaticConfig::MaxChannels]
 

Detailed Description

Data to interpolate panning between blocks or do manual pan.

Extends Voice with channel volumes for interpolation.

Definition at line 13 of file vae_voice_pan.hpp.

Constructor & Destructor Documentation

◆ VoicePan()

vae::core::VoicePan::VoicePan ( )
inline

Definition at line 17 of file vae_voice_pan.hpp.

17 {
18 for (int i = 0; i < StaticConfig::MaxChannels; i++) {
19 volumes[i] = 1.0;
20 }
21 }
constexpr unsigned char MaxChannels
Maximum channel count used to pre allocate buffers.
Definition: vae.hpp:268
Sample volumes[StaticConfig::MaxChannels]

Member Data Documentation

◆ volumes

Sample vae::core::VoicePan::volumes[StaticConfig::MaxChannels]

Definition at line 14 of file vae_voice_pan.hpp.


The documentation for this struct was generated from the following file: