|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Go to the source code of this file.
Namespaces | |
| namespace | tracktion |
Functions | |
| template<typename AudioFormatType > | |
| void | tracktion::graph::test_utilities::writeToFile (juce::File file, choc::buffer::ChannelArrayView< float > block, double sampleRate, int qualityOptionIndex) |
| Writes an audio buffer to a file. | |
| template<typename AudioFormatType > | |
| std::unique_ptr< juce::TemporaryFile > | tracktion::graph::test_utilities::writeToTemporaryFile (choc::buffer::ChannelArrayView< float > block, double sampleRate, int qualityOptionIndex) |
| Writes an audio buffer to a file. | |
| juce::String | tracktion::graph::test_utilities::getName (ThreadPoolStrategy type) |
| Returns the ammount of internal memory allocated for buffers. | |
| std::vector< ThreadPoolStrategy > | tracktion::graph::test_utilities::getThreadPoolStrategies () |
| void | tracktion::graph::test_utilities::logGraph (Node &node) |
| Logs the graph structure to the console. | |
| std::string | tracktion::graph::test_utilities::createGraphDescription (Node &) |
| Returns the graph structure in a dot textual description. | |
| template<typename AudioFormatType > | |
| std::unique_ptr< juce::TemporaryFile > | tracktion::graph::test_utilities::getSinFile (double sampleRate, double durationInSeconds, int numChannels=1, float frequency=220.0f, int qualityOptionIndex=-1) |
| template<typename AudioFormatType > | |
| std::unique_ptr< juce::TemporaryFile > | tracktion::graph::test_utilities::getSquareFile (double sampleRate, double durationInSeconds, int numChannels=1, float frequency=220.0f, int qualityOptionIndex=-1) |
| template<typename AudioFormatType > | |
| std::unique_ptr< juce::TemporaryFile > | tracktion::graph::test_utilities::getTimeEncodedFile (double sampleRate, TimeDuration duration, TimeDuration stepDuration, int numChannels=1, int qualityOptionIndex=-1) |
| template<typename AudioFormatType > | |
| std::unique_ptr< juce::TemporaryFile > | tracktion::graph::test_utilities::getTransientFile (double sampleRate, TimeDuration duration, TimePosition transientPos, float transientVal, int numChannels=1, int qualityOptionIndex=-1) |
| bool | tracktion::graph::test_utilities::buffersAreEqual (const juce::AudioBuffer< float > &a, const juce::AudioBuffer< float > &b, float absSampleTolerance=0.0f) |
| bool | tracktion::graph::test_utilities::buffersAreEqual (const choc::buffer::ChannelArrayView< float > &a, const choc::buffer::ChannelArrayView< float > &b, float absSampleTolerance=0.0f) |
| std::optional< std::pair< choc::buffer::FrameCount, float > > | tracktion::graph::test_utilities::findFirstNonZeroSample (choc::buffer::MonoView< float > buffer) |
| bool tracktion::graph::test_utilities::buffersAreEqual | ( | const choc::buffer::ChannelArrayView< float > & | a, |
| const choc::buffer::ChannelArrayView< float > & | b, | ||
| float | absSampleTolerance = 0.0f |
||
| ) |
Definition at line 476 of file tracktion_TestUtilities.h.
| bool tracktion::graph::test_utilities::buffersAreEqual | ( | const juce::AudioBuffer< float > & | a, |
| const juce::AudioBuffer< float > & | b, | ||
| float | absSampleTolerance = 0.0f |
||
| ) |
Definition at line 447 of file tracktion_TestUtilities.h.
| std::string tracktion::graph::test_utilities::createGraphDescription | ( | Node & | ) |
Returns the graph structure in a dot textual description.
Save this to a file and then run it through graphviz's dot program to plot the graph. E.g. cat output.txt | dot -Tsvg > output.svg
Definition at line 36 of file tracktion_TestUtilities.cpp.
| std::optional< std::pair< choc::buffer::FrameCount, float > > tracktion::graph::test_utilities::findFirstNonZeroSample | ( | choc::buffer::MonoView< float > | buffer | ) |
Definition at line 492 of file tracktion_TestUtilities.h.
| juce::String tracktion::graph::test_utilities::getName | ( | ThreadPoolStrategy | type | ) |
Returns the ammount of internal memory allocated for buffers.
Definition at line 211 of file tracktion_TestUtilities.h.
| std::unique_ptr< juce::TemporaryFile > tracktion::graph::test_utilities::getSinFile | ( | double | sampleRate, |
| double | durationInSeconds, | ||
| int | numChannels = 1, |
||
| float | frequency = 220.0f, |
||
| int | qualityOptionIndex = -1 |
||
| ) |
Definition at line 268 of file tracktion_TestUtilities.h.
| std::unique_ptr< juce::TemporaryFile > tracktion::graph::test_utilities::getSquareFile | ( | double | sampleRate, |
| double | durationInSeconds, | ||
| int | numChannels = 1, |
||
| float | frequency = 220.0f, |
||
| int | qualityOptionIndex = -1 |
||
| ) |
Definition at line 282 of file tracktion_TestUtilities.h.
| std::vector< ThreadPoolStrategy > tracktion::graph::test_utilities::getThreadPoolStrategies | ( | ) |
Definition at line 227 of file tracktion_TestUtilities.h.
| std::unique_ptr< juce::TemporaryFile > tracktion::graph::test_utilities::getTimeEncodedFile | ( | double | sampleRate, |
| TimeDuration | duration, | ||
| TimeDuration | stepDuration, | ||
| int | numChannels = 1, |
||
| int | qualityOptionIndex = -1 |
||
| ) |
Definition at line 296 of file tracktion_TestUtilities.h.
| std::unique_ptr< juce::TemporaryFile > tracktion::graph::test_utilities::getTransientFile | ( | double | sampleRate, |
| TimeDuration | duration, | ||
| TimePosition | transientPos, | ||
| float | transientVal, | ||
| int | numChannels = 1, |
||
| int | qualityOptionIndex = -1 |
||
| ) |
Definition at line 322 of file tracktion_TestUtilities.h.
| void tracktion::graph::test_utilities::logGraph | ( | Node & | node | ) |
Logs the graph structure to the console.
Definition at line 238 of file tracktion_TestUtilities.h.
| void tracktion::graph::test_utilities::writeToFile | ( | juce::File | file, |
| choc::buffer::ChannelArrayView< float > | block, | ||
| double | sampleRate, | ||
| int | qualityOptionIndex | ||
| ) |
Writes an audio buffer to a file.
Definition at line 159 of file tracktion_TestUtilities.h.
| std::unique_ptr< juce::TemporaryFile > tracktion::graph::test_utilities::writeToTemporaryFile | ( | choc::buffer::ChannelArrayView< float > | block, |
| double | sampleRate, | ||
| int | qualityOptionIndex | ||
| ) |
Writes an audio buffer to a file.
Definition at line 174 of file tracktion_TestUtilities.h.