1
0
Fork 0
Commit graph

2087 commits

Author SHA1 Message Date
Robbert van der Helm 86aed54bf3 Document the addition of an analyzer in SC 2023-03-21 18:13:09 +01:00
Robbert van der Helm 8bd5f8afce Change the blending and colors on the GR area
This looks a lot clearer.
2023-03-21 17:57:26 +01:00
Robbert van der Helm a4cac4b750 Fix GR overlay clamping
Just the min/max isn't enough when the entire band is out of range.
2023-03-21 17:16:10 +01:00
Robbert van der Helm 9f5d1dcf57 Draw GR overlay as a single path with no AA
With these settings the high end parts at least look much cleaner.
2023-03-21 17:10:03 +01:00
Robbert van der Helm ba30a86b11 Draw Diopser's spectrum analyzer in one go 2023-03-21 16:59:51 +01:00
Robbert van der Helm c7fecd87d2 Draw all Spectral Compressor bars in one go 2023-03-21 16:55:02 +01:00
Robbert van der Helm e179734818 Draw dense part of the spectrum as a solid mesh
This fixes aliasing problems.
2023-03-20 19:36:47 +01:00
Robbert van der Helm 29fde14c88 Move analyzer drawing code to functions 2023-03-20 17:34:56 +01:00
Robbert van der Helm 6e3d2379b0 Add a start of a gain reduction display
This needs to be drawn as a single mesh instead, and it should also use
the target curve or it looks odd.
2023-03-20 17:25:21 +01:00
Robbert van der Helm 48d8ff9275 Slightly reduce SC GUI height
This makes the bottom edge align better.
2023-03-20 15:55:48 +01:00
Robbert van der Helm 3600951159 Visualize the envelope followers in SC 2023-03-20 15:51:13 +01:00
Robbert van der Helm 7c4ae32ba4 Add boilerplate for the analyzer widget 2023-03-20 14:57:25 +01:00
Robbert van der Helm 990fe33ff7 Add the data needed for the analyzer to Data 2023-03-20 14:57:25 +01:00
Robbert van der Helm 01f9aa52cb Remove Diopser todos 2023-03-20 13:33:45 +01:00
Robbert van der Helm 3c8702ac0a Add copyright header to SC analyzer module 2023-03-19 15:50:54 +01:00
Robbert van der Helm a18d70401b Compute the analyzer data for Spectral Compressor
This is not yet shown anywhere.
2023-03-19 15:17:25 +01:00
Robbert van der Helm 9647f8f3dd Add triple buffers to share analyzer data in SC 2023-03-19 15:17:25 +01:00
Robbert van der Helm 510bc3f131 Define a struct for SC analyzer data 2023-03-19 13:54:28 +01:00
Robbert van der Helm 234a5f5334 Rename SC visualizer to analyzer
Slightly more fitting term.
2023-03-19 13:38:30 +01:00
Robbert van der Helm 6f070150ea Disable open::that() on Windows
Until there's an alternative that doesn't panic.
2023-03-19 13:36:50 +01:00
Robbert van der Helm 66ba8f2872 Default to 16x overlap in Spectral Compressor 2023-03-18 23:28:37 +01:00
Robbert van der Helm 41bdcc3988 Fix overlap order comment in Puberty Simulator 2023-03-18 23:27:57 +01:00
Robbert van der Helm 74eb6fe2e5 Add a placeholder for the SC spectrum analyzer 2023-03-18 16:30:35 +01:00
Robbert van der Helm 4e304fc65a Add a visualizer toggle button to SC 2023-03-18 15:19:19 +01:00
Robbert van der Helm 0d5247ee2f Fix ParamButton hover state and styling 2023-03-18 15:16:52 +01:00
Robbert van der Helm 83ea930ab8 Use the new declarative resizes in SC 2023-03-18 14:27:44 +01:00
Robbert van der Helm da61acc7b9 Compute SC editor size based on the editor mode
Using the new declarative editor size interface.
2023-03-18 14:25:41 +01:00
Robbert van der Helm 3be5e3fa99 Add a widget that controls the SC editor mode 2023-03-18 14:25:41 +01:00
Robbert van der Helm c9793c6901 Add an editor mode enum for Spectral Compressor
To indicate that the GUI has been expanded.
2023-03-18 14:25:41 +01:00
Robbert van der Helm ce2eab84e1 Add ergonomic resizing w/ GuiContextEvent::Resize 2023-03-18 14:19:49 +01:00
Robbert van der Helm 66b3387d22 Point out the docs on create_vizia_editor() 2023-03-18 13:52:42 +01:00
Robbert van der Helm 869e69cd57 Link to ParamEvent in nih_plug_vizia's docs 2023-03-18 13:50:08 +01:00
Robbert van der Helm 9b465fc39d Document the addition of NoteEvent::channel() 2023-03-17 21:50:48 +01:00
Stephane Albanese 77ea503de0 Add a channel getter to the NoteEvent implementation 2023-03-17 13:58:44 +01:00
Robbert van der Helm 15c859a8e6 Add CLAP 1.1.8 features 2023-03-13 15:36:04 +01:00
Robbert van der Helm 7c14010656 Keep track of the current latency in standalones
Even though it's not actually used, this avoids spamming the debug
assertion failure when the value doesn't change.
2023-03-12 17:12:59 +01:00
Robbert van der Helm 6ee4dbcf67 Fix doc comment wording 2023-03-12 17:08:36 +01:00
Robbert van der Helm d380c15f8b Only expose context_checks module in debug builds
This gets rid of some unused warnings.
2023-03-08 15:37:34 +01:00
Robbert van der Helm 098589f5c0 Remove empty changelog heading 2023-03-07 21:24:00 +01:00
Robbert van der Helm f6041789cd Use computed sizes for ViziaState 2023-03-07 21:22:15 +01:00
Robbert van der Helm 17a95e703f Detect incorrect GuiContext method usage
In debug builds.
2023-03-07 18:02:56 +01:00
Robbert van der Helm 011fa58bf5 Rename breaking changes document to CHANGELOG.md
We'll also keep track of non-breaking changes at this point since the
number of sweeping changes has slowed down a bit.
2023-03-07 17:01:43 +01:00
Robbert van der Helm d3cb5f2bee Explicitly mark parameter range conversions inline
The compiler already does this, but these should be inlineable.
2023-03-03 22:55:35 +01:00
Robbert van der Helm ae3356dca8 Request resizes after loading state
If the editor is open.
2023-03-03 18:52:57 +01:00
Robbert van der Helm c294afbf62 Centralize state loading logic 2023-03-03 17:21:09 +01:00
Robbert van der Helm 5a74efeb26 Fork assert_no_alloc for nested permit+forbid
So you can use `assert_no_alloc()` inside of `permit_alloc()`.

https://github.com/Windfisch/rust-assert-no-alloc/pull/13
2023-03-03 16:11:28 +01:00
Robbert van der Helm 2ee3b7c2fa Fix InitContext drop order for standalone presets 2023-03-03 13:21:10 +01:00
Robbert van der Helm a202c3801a Account for Params::deserialize_fields allocating
When state through `GuiContext`.
2023-03-03 13:12:47 +01:00
Robbert van der Helm a97c8ea554 Allow querying other interfaces for VST3 plugins
Not checking `iid` was an oversight, so if the host would create
anything other than `IComponent` this would do the wrong thing. With
this change the host can create an object for any interface we support.

Fixes #58.
2023-03-03 00:08:12 +01:00
Robbert van der Helm 6fe5c7c471 Silence missing docs warnings for entry points 2023-03-02 12:58:51 +01:00