TracktionEngine
Public Member Functions | Public Attributes | List of all members
tracktion::engine::SamplerPlugin::SamplerSound Struct Reference

Public Member Functions

 SamplerSound (SamplerPlugin &, const juce::String &sourcePathOrProjectID, const juce::String &name, double startTime, double length, float gainDb)
 
void setExcerpt (double startTime, double length)
 
void refreshFile ()
 

Public Attributes

SamplerPluginowner
 
juce::String source
 
juce::String name
 
int keyNote = -1
 
int minNote = 0
 
int maxNote = 0
 
int fileStartSample = 0
 
int fileLengthSamples = 0
 
bool openEnded = false
 
float gainDb = 0
 
float pan = 0
 
double startTime = 0
 
double length = 0
 
AudioFile audioFile
 
juce::AudioBuffer< float > audioData { 2, 64 }
 

Constructor & Destructor Documentation

◆ SamplerSound()

tracktion::engine::SamplerPlugin::SamplerSound::SamplerSound ( SamplerPlugin ,
const juce::String &  sourcePathOrProjectID,
const juce::String &  name,
double  startTime,
double  length,
float  gainDb 
)

Member Function Documentation

◆ setExcerpt()

void tracktion::engine::SamplerPlugin::SamplerSound::setExcerpt ( double  startTime,
double  length 
)

◆ refreshFile()

void tracktion::engine::SamplerPlugin::SamplerSound::refreshFile ( )

Member Data Documentation

◆ owner

SamplerPlugin& tracktion::engine::SamplerPlugin::SamplerSound::owner

◆ source

juce::String tracktion::engine::SamplerPlugin::SamplerSound::source

◆ name

juce::String tracktion::engine::SamplerPlugin::SamplerSound::name

◆ keyNote

int tracktion::engine::SamplerPlugin::SamplerSound::keyNote = -1

◆ minNote

int tracktion::engine::SamplerPlugin::SamplerSound::minNote = 0

◆ maxNote

int tracktion::engine::SamplerPlugin::SamplerSound::maxNote = 0

◆ fileStartSample

int tracktion::engine::SamplerPlugin::SamplerSound::fileStartSample = 0

◆ fileLengthSamples

int tracktion::engine::SamplerPlugin::SamplerSound::fileLengthSamples = 0

◆ openEnded

bool tracktion::engine::SamplerPlugin::SamplerSound::openEnded = false

◆ gainDb

float tracktion::engine::SamplerPlugin::SamplerSound::gainDb = 0

◆ pan

float tracktion::engine::SamplerPlugin::SamplerSound::pan = 0

◆ startTime

double tracktion::engine::SamplerPlugin::SamplerSound::startTime = 0

◆ length

double tracktion::engine::SamplerPlugin::SamplerSound::length = 0

◆ audioFile

AudioFile tracktion::engine::SamplerPlugin::SamplerSound::audioFile

◆ audioData

juce::AudioBuffer<float> tracktion::engine::SamplerPlugin::SamplerSound::audioData { 2, 64 }

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