Oscilloscope 0.5.0
A simple oscilloscope VST
Loading...
Searching...
No Matches
Public Member Functions | List of all members
AutoSampleFinder Class Reference

#include <SampleFinder.h>

Inheritance diagram for AutoSampleFinder:
BaseFinder

Public Member Functions

void parameterChanged (const juce::String &parameterID, float newValue) override
 
- Public Member Functions inherited from BaseFinder
int findFirstSample (float triggerLevel, std::vector< float > currentlyDisplayedData)
 

Additional Inherited Members

- Protected Attributes inherited from BaseFinder
std::function< int(float, std::vector< float >)> findSample
 

Detailed Description

Class finding the first sample to plot in automatic mode.

Definition at line 88 of file SampleFinder.h.

Member Function Documentation

◆ parameterChanged()

void AutoSampleFinder::parameterChanged ( const juce::String &  parameterID,
float  newValue 
)
override

Sets findSample accordingly to whether to search for crescent or decrescent slope

Parameters
parameterIDParameter to listen (always "slopeButtonTriggered")
newValuetrue if the plot has to be decrescent, false otherwise

Definition at line 13 of file SampleFinder.cpp.


The documentation for this class was generated from the following files: