Comments (5)
Seems like the plugin is completely ignoring parameter changes
https://github.com/mtytel/helm/blob/master/src/plugin/helm_plugin.cpp#L178
EDIT: that's incorrect. that function is a message callback, not the function that is called when a parameter changes.
from helm.
Ok, going through the code...
helm uses the new juce api to handle plugins:
https://github.com/mtytel/helm/blob/master/src/plugin/helm_plugin.cpp#L38
with that the plugin class doesn't need to handle parameter changes directly.
in helm's case it uses this class/code for parameters:
https://github.com/mtytel/helm/blob/master/src/plugin/value_bridge.h#L24
when a parameter is changed by the host the 'setValue' function is called:
https://github.com/mtytel/helm/blob/master/src/plugin/value_bridge.h#L42
as we see in this line, the listener is registered:
https://github.com/mtytel/helm/blob/master/src/plugin/helm_plugin.cpp#L36
so the parameter value does get changed and parameterChanged is called.
(ie this https://github.com/mtytel/helm/blob/master/src/plugin/helm_plugin.cpp#L178)
so perhaps 'setValue' is never called?
tbh this is a first time I see an opensource juce plugin that uses the new api.
btw, parameterChanged is calling gui functions and allocating string data, which is really awful for realtime.
Automating a value while the UI is open will result in xruns.
from helm.
Hmmmm.... Going to have a look at this over the weekend. Maybe I should refactor this a bit so it doesn't use strings.
from helm.
Well I finally got around to this bug, but it's actually working for me.
I just open Helm with generic UI and set the amp_release parameter really high. Not sure if I'm missing something here..
Also, the listener callback is just to alert the GUI that a value was changed from the host. The actually value used in synthesis is set here: https://github.com/mtytel/helm/blob/master/src/plugin/value_bridge.h#L47
Don't know why I have a return statement there though..
from helm.
Going to mark this done because it worked for me?
from helm.
Related Issues (20)
- Helm rpm builds? HOT 7
- segfault when opening LV2 UI while having Odin2 LV2 UI open in a DAW HOT 2
- Project maintenance HOT 6
- How to use helm as a vst or lv2 plugin? HOT 1
- Helm on M1 mac, Presets don't load nor save HOT 2
- Patch license display defaults to GPL3 when the license in the file isn't recognized
- M1 Macbook Air with Logic - sequenced notes getting stuck on
- installer HOT 1
- Juce compiling error on ubuntu HOT 3
- Feature request: easier file management by remembering last file location and classic open/save .helm file
- Unable to save “Audio device type“ setting
- Legato and porta type labels deform on maximized window in widescreen
- Size is out of proportion - Studio One HOT 5
- Helm stuck when having no Internet access?! HOT 2
- Not require admin rights to install in Windows HOT 1
- Slow to load standalone on Linux
- Save a preset always ask for a new preset name
- Rendering of the controls animations stop when Helm windows is moved
- make a clap plugin variant
- Winows 64 bit installer installs x86 VST3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm.