AuburnSounds / AuburnSounds/Dplug

Proper "touch" automation

Open
#813 3 comments 0 reactions 0 assignees View on GitHub
Bug Documentation
Dominant language
D
Stars
564
Forks
34
PR merge metrics
No merged PRs in 30d

Description

"Touch" automation works for knobs and sliders but not press buttons. It makes erratic moves instead of cleanly reverting to automation start point.

I think this is because in a mouse gesture, the beginParamEdit/endParamEdit must match the click and unclick, which is not the case for every widget.
Easy to see with Inner Pitch Full, automating press buttons there.
Can repro in a DAW with so-called touch automation, such as Luna, Logic, Protools...

- [ ] Increase the documentation
- [ ] of beginParamEdit / endParamEdit
- [ ] of onStopDrag
- [ ] of onMouseClick (warn about new clicks coming)
- [x] Solve that problem wherever it happens in examples

Interestingly, this is finally an explanation for why should beginParamEdit and endParamEdit need to exist.

Contributor guide

Open the contributing guide

Research direction

Reproduce touch automation with the Inner Pitch Full press buttons in a DAW such as Luna, Logic, or Pro Tools. Start by tracing beginParamEdit, endParamEdit, onStopDrag, and onMouseClick through the affected examples, then verify that press-button automation cleanly reverts to its automation start point and that the relevant behavior is documented.

Written by the indexing model from the issue text.

Assessment

Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.