Andrew Belt
abde7d983f
Add Engine::getFrameTime() and getStepDuration().
4 years ago
Andrew Belt
64cc9dddb0
Add Module::configButton() for configuring momentary switches (which I'll now call buttons).
4 years ago
Andrew Belt
6f7f0cc7b3
Cache modules and cables in engine by ID. Add lock to Engine::reset/randomize/bypassModule(). Remove lock from Engine::get/setParam and get/setSmoothParam.
4 years ago
Andrew Belt
b8d47b5378
Add Engine::getNumModules() and getModuleIds() methods.
4 years ago
Andrew Belt
05427d938b
Overhaul threading model for Engine using a shared mutex based design.
4 years ago
Andrew Belt
537b64d011
Remove engine pausing as it no longer makes sense with the new "external stepping" engine architecture.
4 years ago
Andrew Belt
97fcc04630
Fix documentation formulas.
4 years ago
Andrew Belt
97c03ea464
Improve documentation for Module.
4 years ago
Andrew Belt
79ee967210
Fix documentation of Module.
4 years ago
Andrew Belt
8ace079ee5
Fix randomization of snapped params.
4 years ago
Andrew Belt
d5c7144e32
Add Module::paramsToJson and paramsFromJson.
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
120aafe6d3
Change order of includes to C++ standard headers, library headers, and local project headers.
4 years ago
Andrew Belt
82e4bea015
Make Module::toJson() virtual.
4 years ago
Andrew Belt
306e454f0c
Use higher resolution clock for system::getNanoseconds() on Windows.
Ban `long` from codebase. Use int64_t instead.
4 years ago
Andrew Belt
60d2283010
Add timestamp to MIDI message. Make MIDI-* modules wait until a message is `stepFrames` frames old until processing it, improving MIDI stability. Add Engine::getStepFrame, getStepTime, and getStepFrames.
4 years ago
Andrew Belt
d11223d0e0
Call ParamQuantity::getDefaultValue() in configParam() to set initial value of param.
4 years ago
Andrew Belt
4a5027ef1c
Add internal struct to Module.
5 years ago
Andrew Belt
c33dc3c842
Rename module disabling to bypassing.
5 years ago
Andrew Belt
cc711b6d2d
Replace module disabling with bypassing using BypassRoute and Module::configBypass().
5 years ago
Andrew Belt
12fcaa4b08
Move moduleFromJson from engine to plugin namespace. Move Engine mutex lock at the top of Engine::step().
5 years ago
Andrew Belt
804dc4daf2
Interpret blank ParamQuantity/PortInfo name as "#id".
5 years ago
Andrew Belt
adc3f681c3
Rearrange text in PortTooltip
5 years ago
Andrew Belt
7b61f3599d
Add configInpug/Output to helper.py.
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
0dbce1683d
Work on PortTooltips.
5 years ago
Andrew Belt
99b17727ab
WIP:
- Make ParamWidget hold module/paramId instead of paramQuantity.
- Add configInput/configOutput.
- Add engine::PortInfo.
- Avoid calling particular events when cursor is locked.
- Add PortTooltip.
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
b4bd09a2eb
Add more documentation to Port.
5 years ago
Andrew Belt
9e830a61e6
Add SIMD methods to Port.
5 years ago
Andrew Belt
1252437344
Add Engine::getFrame().
5 years ago
Andrew Belt
fe18110e22
Added Port::active alias for Port::channels. Set default Port channels to 0.
5 years ago
Andrew Belt
08a4d73457
Add text and color to ParamHandle.
5 years ago
Andrew Belt
41552e79f2
Restructure ParamHandle Engine internals.
5 years ago
Andrew Belt
31ee9bdfc7
Add documentation to Port::setChannels().
5 years ago
Andrew Belt
cb3f136d51
Encode Port::active as channels=0. Change behavior of Port::setChannels().
5 years ago
Andrew Belt
436615f361
Simplify Light::setBrightness/Smooth.
5 years ago
Andrew Belt
02ef6641f4
Add Port::getVoltageSum. Rename get/setVoltages to read/writeVoltages. Add getVoltages.
5 years ago
Andrew Belt
696939069d
Use <> instead of "" for include directive.
5 years ago
Andrew Belt
871617ad6c
Fix docstrings. Add createParamCentered to rack0.hpp.
5 years ago
Andrew Belt
54544bbe93
Use Module::Expander struct for accessing expander messages.
5 years ago
Andrew Belt
cdf7a2bbfa
Fix serialization for unbounded Params.
5 years ago
Andrew Belt
7bd98943db
Add left/rightMessageFlipRequested to Module.
5 years ago
Andrew Belt
09c85276d6
Use linear scaling for Light value.
5 years ago
Andrew Belt
30c5b24ec5
Add Engine::yieldWorker() which turns worker spinlocks into mutex locks. Fix race condition in EngineWorker::run() when changing number of threads.
5 years ago
Andrew Belt
31d99cbdcd
Add assertions to Module helpers.
5 years ago