Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change pitch by semitones #7565

Merged
merged 10 commits into from
Feb 27, 2022
Merged

Change pitch by semitones #7565

merged 10 commits into from
Feb 27, 2022

Conversation

haklc
Copy link
Contributor

@haklc haklc commented Dec 21, 2021

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • Added optional semitone slider to Playback Parameter Dialog
  • Added toggle to enable/disable this slider
  • Added code that enables use of semitones along percent for pitch adjustment

Before/After Screenshots/Screen Record

  • Before:

  • After:

Fixes the following issue(s)

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.

Due diligence

@AudricV AudricV added feature request Issue is related to a feature in the app player Issues related to any player (main, popup and background) labels Dec 22, 2021
@opusforlife2
Copy link
Collaborator

Woohoo! I think this is a really good idea. Thanks for thinking of it and working on it!

@sonarcloud
Copy link

sonarcloud bot commented Dec 25, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work! I will probably use this feature. Code mostly looks good, thank you :-)

Note for maintainers (nothing wrong with this PR): PlaybackParameterDialog should use ConstraintLayout and view binding (if the latter is not possible it should at least be completely refactored) in a future PR

@opusforlife2
Copy link
Collaborator

@haklc Instead of the dev branch, please name your branch something meaningful: https://github.com/TeamNewPipe/NewPipe/blob/dev/.github/CONTRIBUTING.md#creating-a-pull-request-pr

@haklc
Copy link
Contributor Author

haklc commented Jan 22, 2022

@haklc Instead of the dev branch, please name your branch something meaningful: https://github.com/TeamNewPipe/NewPipe/blob/dev/.github/CONTRIBUTING.md#creating-a-pull-request-pr

Will do.

@Stypox
Copy link
Member

Stypox commented Jan 24, 2022

@opusforlife2 @haklc now it's too late to change the branch's name... Let's keep it dev, it's not really a problem, just remember to use a different name next time ;-)

@haklc
Copy link
Contributor Author

haklc commented Feb 4, 2022

@Stypox I've resolved your comments, the code should now be good to go :)

@haklc haklc requested a review from Stypox February 5, 2022 11:32
@haklc haklc requested a review from Stypox February 17, 2022 09:29
@sonarcloud
Copy link

sonarcloud bot commented Feb 17, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you :-D
Code looks good, and I tested again and found no issues. Will be merged next release :-)

@haklc
Copy link
Contributor Author

haklc commented Feb 17, 2022

Awesome! :D

@litetex
Copy link
Member

litetex commented Feb 21, 2022

Keep in mind that this will negate the optimizations done in #7363.

I also think that the class needs an overhaul, however this is not part of this issue.

@Stypox Stypox merged commit 3f7ba2e into TeamNewPipe:dev Feb 27, 2022
@Stypox Stypox mentioned this pull request Apr 16, 2022
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issue is related to a feature in the app player Issues related to any player (main, popup and background)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to change pitch by semitones
5 participants