Skip to content

10280 Implement bass and treble effect - #11383

Merged
embarc-gabriel merged 1 commit into
audacity:masterfrom
embarc-gabriel:10280-bass-and-treble-effect
Jul 10, 2026
Merged

embarc-gabriel merged 1 commit into
audacity:masterfrom
embarc-gabriel:10280-bass-and-treble-effect

Conversation

@embarc-gabriel

Copy link
Copy Markdown
Contributor

Resolves: #10280

Port bass and treble effect

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Testflow test cases have been run

@embarc-gabriel
embarc-gabriel requested a review from luapmartin July 8, 2026 10:42
@embarc-gabriel embarc-gabriel self-assigned this Jul 8, 2026
@coderabbitai

coderabbitai Bot commented Jul 8, 2026 •

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This pull request adds a new builtin Bass and Treble effect. It introduces BassTrebleEffect, BassTrebleViewModel, and BassTrebleView.qml, and wires them into the build, Qt resource bundle, and builtin collection loader. It also removes one layout padding property from FilterCurveEqView.qml.

Estimated code review effort: 2 (Simple) | ~15 minutes

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant BassTrebleView.qml
  participant BassTrebleViewModel
  participant BassTrebleEffect
  User->>BassTrebleView.qml: Adjust Bass, Treble, Gain, or Link
  BassTrebleView.qml->>BassTrebleViewModel: setParam() / setLink()
  BassTrebleViewModel->>BassTrebleEffect: modifySettings()
  BassTrebleViewModel-->>BassTrebleView.qml: paramsListChanged() / linkChanged()
Loading
🚥 Pre-merge checks | ✅ 3 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The FilterCurveEqView bottomPadding tweak is unrelated to porting Bass and Treble and appears as extra UI cleanup. Remove or justify the unrelated FilterCurveEqView change, or split it into a separate cleanup PR.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and clearly states the main change: implementing the bass and treble effect for issue 10280.
Description check ✅ Passed The description includes the issue reference, a short change summary, and the required checklist items.
Linked Issues check ✅ Passed The new Bass and Treble effect, view, and loader wiring directly satisfy the request to port the effect.

Warning

Review ran into problems

🔥 Problems

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
src/effects/builtin_collection/basstreble/BassTrebleView.qml (1)

58-58: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Typo: knoobRadius should be knobRadius

Used at lines 58, 104, 122, and 160. Minor naming inconsistency.

✏️ Proposed fix
-        readonly property int knoobRadius: 24
+        readonly property int knobRadius: 24

And update all references:

-                        radius: prv.knoobRadius
+                        radius: prv.knobRadius

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 8e84b8f0-071c-4a39-9b59-0624a9f01dfd

📥 Commits

Reviewing files that changed from the base of the PR and between 3d6c992 and 9abb815e62dfd698992cf97c0dd5ce188b174e98.

📒 Files selected for processing (8)
  • src/effects/builtin_collection/CMakeLists.txt
  • src/effects/builtin_collection/basstreble/BassTrebleView.qml
  • src/effects/builtin_collection/basstreble/basstrebleeffect.cpp
  • src/effects/builtin_collection/basstreble/basstrebleeffect.h
  • src/effects/builtin_collection/basstreble/basstrebleviewmodel.cpp
  • src/effects/builtin_collection/basstreble/basstrebleviewmodel.h
  • src/effects/builtin_collection/builtin_effects_collection.qrc
  • src/effects/builtin_collection/internal/builtincollectionloader.cpp

@embarc-gabriel
embarc-gabriel force-pushed the 10280-bass-and-treble-effect branch 2 times, most recently from 5445f72 to 8de0590 Compare July 8, 2026 12:49
@luapmartin luapmartin self-assigned this Jul 9, 2026
@luapmartin
luapmartin force-pushed the 10280-bass-and-treble-effect branch from 4f22f8c to c41f540 Compare July 9, 2026 15:00
@embarc-gabriel
embarc-gabriel force-pushed the 10280-bass-and-treble-effect branch from c41f540 to 5d94917 Compare July 10, 2026 12:22
@embarc-gabriel
embarc-gabriel merged commit ba67667 into audacity:master Jul 10, 2026
18 checks passed
@embarc-gabriel
embarc-gabriel deleted the 10280-bass-and-treble-effect branch August 28, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Port Bass and Treble effect

2 participants