AudioDataLib
A C++ library of classes supporting a variety of audio-data tasks.
Loading...
Searching...
No Matches
AudioDataLib::FrequencyGraph::Plot Struct Reference

#include <FrequencyGraph.h>

Public Attributes

double frequency
 This is the X-axis coordinate of a plot.
 
double phase
 This is the shift value of the sine-wave component that would have the associated frequency and strength (amplitude.)
 
double strength
 This is typically the Y-axis coordinate of a plot, and tells us how priminant the associated frequency is.
 

Detailed Description

The frequency graph is a list of Plot structures. Each is a frequency paired with a strength and phase pair. When a signal is broken down into frequency components, the strength (or amplitude) and phase of each component is needed to fully scribe the component, which can be thought of as a single sine-wave. The original signal can be thought of as the sum of all these different components. A study of FFTs gives additional insights into the matter.

Member Data Documentation

◆ frequency

double AudioDataLib::FrequencyGraph::Plot::frequency

This is the X-axis coordinate of a plot.

◆ phase

double AudioDataLib::FrequencyGraph::Plot::phase

This is the shift value of the sine-wave component that would have the associated frequency and strength (amplitude.)

◆ strength

double AudioDataLib::FrequencyGraph::Plot::strength

This is typically the Y-axis coordinate of a plot, and tells us how priminant the associated frequency is.


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