Andrew Belt
d5b86f458b
Add doc comments to dsp and engine namespaces.
3 years ago
Andrew Belt
90d395ae8b
Add Quantity::toScaled() and fromScaled(). Clean up Quantity and ParamQuantity.
3 years ago
Andrew Belt
c08c6e365a
Add ParamQuantity::smoothEnabled.
3 years ago
Andrew Belt
b9d91b85af
Add ParamQuantity::getScaledValue().
3 years ago
Andrew Belt
4f98870e88
Add ParamQuantity::setSmoothScaledValue().
3 years ago
Andrew Belt
697571648d
Set default component ID to -1 in all classes.
3 years ago
Andrew Belt
cb65043538
Add virtual ParamQuantity::toJson() and fromJson() so plugins can override JSON serialization behavior of params.
4 years ago
Andrew Belt
97fcc04630
Fix documentation formulas.
4 years ago
Andrew Belt
97c03ea464
Improve documentation for Module.
4 years ago
Andrew Belt
8ace079ee5
Fix randomization of snapped params.
4 years ago
Andrew Belt
92f777d184
Add configSwitch(), which is a quicker way to configure parameters with SwitchQuantitys.
4 years ago
Andrew Belt
87935d7e6f
Add SwitchQuantity. Add return value to config*() methods in Module.
4 years ago
Andrew Belt
804dc4daf2
Interpret blank ParamQuantity/PortInfo name as "#id".
5 years ago
Andrew Belt
ae19e33774
Make PortInfo a virtual class.
5 years ago
Andrew Belt
ef89a96c87
Change ParamQuantity/PortInfo label to name.
5 years ago
Andrew Belt
4936df2c0b
Move ParamWidget/Knob/Switch properties to ParamQuantity. Fix static linking on Linux.
5 years ago
Andrew Belt
e4b6056ded
Massive WIP v2 overhaul:
- Add Engine::fromJson which can be called without the GUI at all.
- Make RackWidget::fromJson attach itself to existing Engine state. However, once attached, they own their Engine objects (Module, Cable).
- Remove Engine thread. Now Engine must be stepped by other threads, such as the audio thread. This is fantastic because there is no longer a mutex lock every audio buffer.
- Add concept of the "primary module", which is allowed to call Engine::step().
- Add many Module events.
5 years ago
Andrew Belt
dca30e2b53
Auto-format code with astyle.
5 years ago
Andrew Belt
696939069d
Use <> instead of "" for include directive.
5 years ago
Andrew Belt
47ce8272ab
Initialize OpenGL context before calling scene->draw().
5 years ago
Andrew Belt
357952c3d3
Move all metadata from Param to ParamQuantity.
5 years ago
Andrew Belt
6660c88885
Change app::ParamQuantity to engine::ParamQuantity.
5 years ago
Andrew Belt
b932a8d87c
Move ui::Quantity to Quantity.
5 years ago
Andrew Belt
52151a709d
Add various API documentation
5 years ago
Andrew Belt
64602576b0
Create `engine::` namespace
5 years ago
Andrew Belt
8a5a806425
Add app::, ui::, and widget:: namespaces.
5 years ago
Andrew Belt
ec83a4dacb
Improve behavior for unbounded params
5 years ago
Andrew Belt
38c291b365
Merge ParamInfo with Param
5 years ago
Andrew Belt
6dad6ec000
Add param smoothing when moving Knob
5 years ago
Andrew Belt
cb7e139b47
Make power meter display in microseconds instead of millisamples. Add history::ComplexAction. Split Param into Param and ParamInfo. Rename setup() to config().
5 years ago
Andrew Belt
f5601d2042
Work on toolbar, event context
5 years ago
Andrew Belt
960ac66b73
Fix event drag handling, fix ParamQuantity and tweak its API
5 years ago
Andrew Belt
316518a794
Wrap engine state into class Engine
5 years ago
Andrew Belt
a99587ef23
Rename Quantity::getPrecision to getDisplayPrecision, add exponential base and display multiplier to Param
5 years ago
Andrew Belt
f64ea2e181
Large architectural changes. Created Quantity class.
5 years ago