Andrew Belt
461e2e76d6
Add all note names from c0 to b9 and accidentals like c# and cb to expression parser.
3 years ago
Andrew Belt
78bd95c088
Add C and A frequency variables to Quantity tinyexpr parser.
3 years ago
Andrew Belt
914fdfcba6
Use "inf" instead of "∞" for quantity display value, since users can't easily type it in the ParamField.
3 years ago
Andrew Belt
90d395ae8b
Add Quantity::toScaled() and fromScaled(). Clean up Quantity and ParamQuantity.
3 years ago
Andrew Belt
4734f13ba8
Silently fail is user enters a NAN expression in parameter field.
3 years ago
Andrew Belt
4ddd52d0f4
Add "inf" as variable to param field expression parser.
3 years ago
Andrew Belt
f79090407d
Add ui::OptionButton. Replace ShowButton with OptionButton in tip window. Add a few tips.
4 years ago
Andrew Belt
64cc9dddb0
Add Module::configButton() for configuring momentary switches (which I'll now call buttons).
5 years ago
Andrew Belt
58a9346309
Use "NaN" for nan display values in Quantity.
5 years ago
Andrew Belt
4ba2e0f219
Use infinity symbol for Quantity display string instead of "inf".
5 years ago
Andrew Belt
120aafe6d3
Change order of includes to C++ standard headers, library headers, and local project headers.
5 years ago
Andrew Belt
c2379c833e
Refactor Quantity. Fix SvgKnob for parameters with 0 range.
5 years ago
Andrew Belt
213f51509c
Add tinyexpr library. Use tinyexpr for Quantity parsing.
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
696939069d
Use <> instead of "" for include directive.
6 years ago
Andrew Belt
6660c88885
Change app::ParamQuantity to engine::ParamQuantity.
6 years ago
Andrew Belt
b932a8d87c
Move ui::Quantity to Quantity.
6 years ago
Andrew Belt
8a5a806425
Add app::, ui::, and widget:: namespaces.
6 years ago
Andrew Belt
a88a3a3f58
Add SI prefixes parsing to Quantity::setDisplayValue
6 years ago
Andrew Belt
445e5e6d6b
Fix history for momentary Switches, remove `virtual` from Core structs
6 years ago
Andrew Belt
1f030a16fd
Add -funsafe-math-optimizations, tweak Quantity display string
6 years ago
Andrew Belt
3489859fe8
Remove -ffast-math from compiler FLAGS. Fix display value of "-0" in tooltip.
6 years ago