tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
tracktion_AudioUtilities.cpp File Reference

Go to the source code of this file.

Classes

struct  tracktion::engine::OneChannelDestination
 
struct  tracktion::engine::TwoChannelDestination
 
struct  tracktion::engine::AddingFadeApplier
 
struct  tracktion::engine::AudioScratchBuffer::Buffer
 
struct  tracktion::engine::AudioScratchBuffer::BufferList
 

Namespaces

namespace  tracktion
 
namespace  tracktion::engine
 Declarations from this namespaces are inlined into tracktion.
 

Functions

void tracktion::engine::sanitiseValues (juce::AudioBuffer< float > &buffer, int start, int numSamps, float maxAbsValue, float minAbsThreshold)
 
void tracktion::engine::resetFP () noexcept
 
void tracktion::engine::clearFP () noexcept
 
bool tracktion::engine::hasFloatingPointDenormaliseOccurred () noexcept
 
void tracktion::engine::zeroDenormalisedValuesIfNeeded (juce::AudioBuffer< float > &buffer) noexcept
 
void tracktion::engine::addAntiDenormalisationNoise (juce::AudioBuffer< float > &buffer, int start, int numSamples) noexcept
 
float tracktion::engine::dbToGain (float db) noexcept
 
float tracktion::engine::gainToDb (float gain) noexcept
 
float tracktion::engine::decibelsToVolumeFaderPosition (float db) noexcept
 
float tracktion::engine::volumeFaderPositionToDB (float pos) noexcept
 
float tracktion::engine::volumeFaderPositionToGain (float pos) noexcept
 
float tracktion::engine::gainToVolumeFaderPosition (float gain) noexcept
 
juce::String tracktion::engine::gainToDbString (float gain, float infLevel, int decPlaces)
 
float tracktion::engine::dbStringToDb (const juce::String &dbStr)
 
float tracktion::engine::dbStringToGain (const juce::String &dbStr)
 
juce::String tracktion::engine::getPanString (float pan)
 
juce::String tracktion::engine::getSemitonesAsString (double semitones)
 
bool tracktion::engine::isAudioDataAlmostSilent (const float *data, int num)
 
float tracktion::engine::getAudioDataMagnitude (const float *data, int num)
 
void tracktion::engine::getGainsFromVolumeFaderPositionAndPan (float volSliderPos, float pan, const PanLaw panLaw, float &leftGain, float &rightGain) noexcept
 
PanLaw tracktion::engine::getDefaultPanLaw () noexcept
 
void tracktion::engine::setDefaultPanLaw (const PanLaw panLaw)
 
juce::StringArray tracktion::engine::getPanLawChoices (bool includeDefault) noexcept
 
void tracktion::engine::convertIntsToFloats (juce::AudioBuffer< float > &buffer)
 
void tracktion::engine::convertFloatsToInts (juce::AudioBuffer< float > &buffer)
 

Class Documentation

◆ tracktion::engine::AudioScratchBuffer::Buffer

struct tracktion::engine::AudioScratchBuffer::Buffer

Definition at line 465 of file tracktion_AudioUtilities.cpp.

Class Members
AudioBuffer< float > buffer
atomic< bool > isFree