Skip to content

Force components.SamplerButton volume to max when not velocity sensitive#2043

Closed
Swiftb0y wants to merge 2 commits intomixxxdj:mainfrom
Swiftb0y:components_sampler_button_velocity_fix
Closed

Force components.SamplerButton volume to max when not velocity sensitive#2043
Swiftb0y wants to merge 2 commits intomixxxdj:mainfrom
Swiftb0y:components_sampler_button_velocity_fix

Conversation

@Swiftb0y
Copy link
Copy Markdown
Member

@Swiftb0y Swiftb0y commented Mar 1, 2019

Obvious Issue from the last samplerbutton change: When you disable the velocity sensitive feature, the deck is stuck at the volume it last played at. In the first commit I am forcing the volume to 1 whenever the unit gets triggered. In the second commit I am proposing a different solution where I reset value only when the button gets disconnected from the unit. I am not sure which solution is better so I am proposing both. I'd revert the solution we don't want once we decided.

@Holzhaus
Copy link
Copy Markdown
Member

Couldn't this cause spikes in volume if I switch away from the velocity sampler mode while a long sample is playing?

@Swiftb0y
Copy link
Copy Markdown
Member Author

Yes. so we should go with the solution in the first commit?

@Holzhaus
Copy link
Copy Markdown
Member

I'm not sure. Ideally there would be a CO to set the volume of a sample when it is started, but does not change the volume of samples that are already playing.

@Swiftb0y
Copy link
Copy Markdown
Member Author

Should we still merge this? Even though it obviously doesn't properly fix the issue, its still a bandage that helps a bit. If everyone agrees, I'll resolve the merge conflicts and test it. If not, we should close the PR and document the issue on launchpad.

@Holzhaus
Copy link
Copy Markdown
Member

Holzhaus commented Sep 1, 2020

@mixxxdj/developers Opinions?

@Be-ing Be-ing changed the base branch from master to main October 23, 2020 23:27
@github-actions
Copy link
Copy Markdown

This PR is marked as stale because it has been open 90 days with no activity.

@github-actions github-actions Bot added the stale Stale issues that haven't been updated for a long time. label Jan 23, 2021
@Holzhaus
Copy link
Copy Markdown
Member

Holzhaus commented Feb 5, 2021

I'll close this for now. IMHO samplers need two volume settings, one is the regular volume and one is the velocity volume, and then we need to add a new CO to start playback that takes the velocity volume as input.

@Holzhaus Holzhaus closed this Feb 5, 2021
@Swiftb0y
Copy link
Copy Markdown
Member Author

Swiftb0y commented Feb 5, 2021

I agree, tho the current behavior is a bug IMO and this PR would've worked around it, but I guess as long as we don't receive any complaints, its fine.

@Swiftb0y Swiftb0y mentioned this pull request Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

controller mappings stale Stale issues that haven't been updated for a long time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants