7 #ifndef OFXPDSP_SCOPE_H_INCLUDED 8 #define OFXPDSP_SCOPE_H_INCLUDED 10 #include "../DSP/pdspCore.h" 53 void draw(
int x,
int y,
int w,
int h)
const;
62 void prepareUnit (
int expectedBufferSize,
double sampleRate )
override;
64 void releaseResources ()
override;
66 void process (
int bufferSize) noexcept
override;
72 std::vector<float> buffer;
81 #endif // OFXPDSP_SCOPE_H_INCLUDED
void draw(int x, int y, int w, int h) const
draws the scope at the given coordinates
Definition: Scope.cpp:85
Patchable & out_signal()
Sets "signal" as selected output and returns this Unit ready to be patched. This is the default outpu...
Definition: Scope.cpp:39
Abstract class for implementing Units.
Definition: BasicNodes.h:223
Abstract class for implementing Units and Modules.
Definition: BasicNodes.h:82
const vector< float > & getBuffer() const
returns a reference to the vector where the samples value are stored.
Definition: Scope.cpp:112
Patchable & in_signal()
Sets "signal" as selected input and returns this Unit ready to be patched. This is the default input...
Definition: Scope.cpp:35
Thread-safe value control with smoothing.
Definition: SequencerBridge.h:11
Output of a Unit, contains a buffer of rendered floats and has a variable state flag.
Definition: BasicNodes.h:354