|
Gin
|
Triggered Scope that it can be set to start on a rising or falling signal. More...
#include <gin_triggeredscope.h>
Inherits juce::Component, and juce::Timer.
Public Types | |
| enum | ColourIds { lineColourId = 0x1231e10 , backgroundColourId = 0x1231e11 , traceColourId = 0x1231e12 , envelopeColourId = 0x1231f13 } |
| enum | TriggerMode { None = 0 , Up , Down } |
| The enum to use when setting the trace trigger mode. More... | |
Public Member Functions | |
| TriggeredScope (AudioFifo &) | |
| Creates a Triggered scope. | |
| ~TriggeredScope () override | |
| Destructor. | |
| void | setNumChannels (int num) |
| void | setNumSamplesPerPixel (float newNumSamplesPerPixel) |
| Sets the number of samples represented by each pixel on the scope. | |
| void | setVerticalZoomFactor (float newVerticalZoomFactor) |
| Sets the vertical zoom factor of the display. | |
| void | setVerticalZoomOffset (float newVerticalZoomOffset, int ch) |
| Sets the vertical zoom offset of the display. | |
| void | setSingleTrigger (bool singleTrigger_) |
| Freeze scope once triggered. | |
| void | resetTrigger () |
| Start running again once triggered. | |
| void | setTriggerMode (TriggerMode newTriggerMode) |
| Sets the type of change that will trigger a trace. | |
| void | setTriggerChannel (int ch) |
| Set channel to trigger on, -1 ave of all channels. | |
| void | setTriggerLevel (float l) |
| Set level to trigger on. | |
| void | setTriggerPos (float l) |
| void | setDrawTriggerPos (bool d) |
| void | paint (juce::Graphics &g) override |
| void | timerCallback () override |
Triggered Scope that it can be set to start on a rising or falling signal.
This makes it extremely useful for very zoomed-in waveform viewing.
| TriggeredScope::TriggeredScope | ( | AudioFifo & | ) |
Creates a Triggered scope.
Pass a fifo to read from
|
override |
Destructor.
Sets the number of samples represented by each pixel on the scope.
Setting this to a low number will give a very zoomed in display, a high number zoom out.
Sets the vertical zoom factor of the display.
Sets the vertical zoom offset of the display.
| void TriggeredScope::resetTrigger | ( | ) |
Start running again once triggered.
| void TriggeredScope::setTriggerMode | ( | TriggerMode | newTriggerMode | ) |
Sets the type of change that will trigger a trace.
|
override |
|
override |