VCV Rack API v2
Loading...
Searching...
No Matches
Param.hpp
Go to the documentation of this file.
1#pragma once
2#include <common.hpp>
3#include <math.hpp>
4
5
6namespace rack {
7namespace engine {
8
9
10struct Param {
12 float value = 0.f;
13
14 float getValue() {
15 return value;
16 }
17
18 void setValue(float value) {
19 this->value = value;
20 }
21};
22
23
24} // namespace engine
25} // namespace rack
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
Definition Param.hpp:10
float value
Unstable API.
Definition Param.hpp:12
void setValue(float value)
Definition Param.hpp:18
float getValue()
Definition Param.hpp:14