Andrew Belt
613f926c35
Change `side` argument from bool to uint8_t in Module::getExpander() and Module::ExpanderChangeEvent.
1 year ago
Andrew Belt
3f6b62637e
Enable `ParamQuantity::snapEnabled` and disable `smoothEnabled` in `Module::configSwitch()` and `configButton()`.
This is already done in `ParamWidget::initParamQuantity()`, but Module should not depend on the UI to configure its ParamQuantities.
1 year ago
Andrew Belt
4a904d4950
Rename ParamQuantity::set/getDirectValue() to set/getImmediateValue().
Use setImmediateValue() when appropriate in ParamQuantity and SwitchQuantity, such as in reset(), randomize(), and setDisplayValue().
Add doc comments to ParamQuantity.
1 year ago
Andrew Belt
c93b84aa25
Add more doc comments to ParamQuantity methods.
1 year ago
Andrew Belt
cdaea345d3
Make ParamQuantity::set/getValue() set/get the target value of engine smoothing instead of the value directly. Add ParamQuantity::set/getDirectValue(). Deprecate ParamQuantity::set/getSmoothValue().
1 year ago
Andrew Belt
6eaf11ed7a
Remove Engine::setFrame(). Guarantee that Engine frame only increases by 1 with no jumps.
1 year ago
Andrew Belt
680b806750
Add doc comments to ModuleWidget and Module.
1 year ago
Andrew Belt
a96f9e570e
Change Module::getExpander() side argument to int.
2 years ago
Andrew Belt
f6201f3820
Prevent unused variable warning in Module::configBypass().
2 years ago
Andrew Belt
e88c39c426
Rename ReadWriteMutex to SharedMutex. Use shared/exclusive terminology instead of read/write.
2 years ago
Andrew Belt
2e4580112e
Fix hang when initializing Audio module.
2 years ago
Andrew Belt
0c4195e63b
Add doc comments saying the Module::config*() can only be called from the Module subclass constructor.
2 years ago
Andrew Belt
a98256c6f4
Dispatch Module::SampleRateChange event when the Module is added to the engine.
2 years ago
Andrew Belt
d7aa204bc7
Copy patch storage dir when cloning individual module.
2 years ago
Andrew Belt
b1e364f280
Clean up engine doc comments.
3 years ago
Andrew Belt
0fd6d8a858
Fix deadlock in MIDI Map dataFromJson() and onReset() by creating a few Engine::*_NoLock() methods and calling them. Make Engine::updateParamHandle() write-lock instead of read-lock.
3 years ago
Andrew Belt
d3efc476df
Specify member field class in template Module::config*() methods.
3 years ago
Andrew Belt
b22f88b8aa
Rename INTERNAL to PRIVATE. Add PRIVATE to several functions/symbols that plugins should never call/use.
3 years ago
Andrew Belt
08e1f9a954
Add port name and "Duplicate/create new cable" to port context menu.
3 years ago
Andrew Belt
02560a43da
Fix doc comment for Module.
3 years ago
Andrew Belt
4e8b9ef301
Improve namespace documentation.
3 years ago
Andrew Belt
20c679f208
Set randomizeEnabled to true in Module::configButton().
3 years ago
Andrew Belt
d5b86f458b
Add doc comments to dsp and engine namespaces.
3 years ago
Andrew Belt
4567cc4220
Master audio module (the module that clocks Engine) makes more sense.
3 years ago
Andrew Belt
95ed0bb5c5
Fix module paste key command. Fix crash when deleting module selection.
3 years ago
Andrew Belt
f1635cd96b
Add Module::jsonStripIds().
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
de3f42edc1
Rename Engine::setParam() etc to Engine::setParamValue() etc.
3 years ago
Andrew Belt
b9d91b85af
Add ParamQuantity::getScaledValue().
3 years ago
Andrew Belt
4f98870e88
Add ParamQuantity::setSmoothScaledValue().
3 years ago
Andrew Belt
3f1b1535e3
Add Module::getNum*().
3 years ago
Andrew Belt
e249f82564
Redesign module CPU meter based on Pyer design.
3 years ago
Andrew Belt
b17f6ee3fe
Add fallback thread to Engine to step blocks if no primary module is set.
3 years ago
Andrew Belt
9aba147a2b
Correct usage documentation of Module::createPatchStorageDirectory().
3 years ago
Andrew Belt
f5781b3b56
Add Module::getExpander().
3 years ago
Andrew Belt
deacbb50dc
Throw Exception when Module::getPatchStorageDirectory() is called when Module is not added to Engine.
3 years ago
Andrew Belt
c3ff43b6de
Rename *Dir() functions to *Directory(), backtracking on a previous commit.
3 years ago
Andrew Belt
8c5b0ba9ff
Add Port::getVoltageRMS().
3 years ago
Andrew Belt
1092799270
Rename setSmoothBrightness() to setBrightnessSmooth() but leave an alias.
3 years ago
Andrew Belt
00eb16189b
Use "directory/dir" terminology instead of "folder" except for UI text.
3 years ago
Andrew Belt
697571648d
Set default component ID to -1 in all classes.
3 years ago
Andrew Belt
0c9598ba8f
Add SetPrimaryEvent and UnsetPrimaryEvent to Module.
3 years ago
Andrew Belt
661fd3863d
Add Module Save event.
3 years ago
Andrew Belt
ea431882a7
Add Engine meter to menu bar.
3 years ago
Andrew Belt
46fff99244
Add Module::getPatchStorageDir().
3 years ago
Andrew Belt
69fc690290
Add getter methods to Module.
3 years ago
Andrew Belt
2966cd57f7
Move asset::autosavePath to Patch. Add Module::createPatchStorageDir() and remove asset::module().
3 years ago
Andrew Belt
1b76dd5f07
Change midi::Message::toString() to const. Clean up midi code.
3 years ago
Andrew Belt
5043d0e10a
Use Engine frame instead of seconds timestamp for midi::Message.
3 years ago