Skip to content

fxlab: Add default effects - #2310

Merged
robertwu1 merged 3 commits into
mainfrom
robertwu/adddefaultstofxlab
Nov 5, 2025
Merged

robertwu1 merged 3 commits into
mainfrom
robertwu/adddefaultstofxlab

Conversation

@robertwu1

@robertwu1 robertwu1 commented Sep 16, 2025 •

Copy link
Copy Markdown
Collaborator

Add a set of reasonable default effects:

  1. Gain: This lets you increase the volume of the output.
  2. Echo: This will create a sense of space and ambience with decaying repeats of the sound.
  3. Tremolo: This produced a rapid wavering sound.

@robertwu1
robertwu1 requested a review from flamme September 16, 2025 21:05
@flamme

flamme commented Sep 18, 2025

Copy link
Copy Markdown
Collaborator

As talked offline, please add Atneya for review as he is more familiar with the code here.

}

private fun addDefaultEffects() {
val defaultEffects = listOf("Overdrive", "White Chorus", "Echo")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sounds more interesting? Curious about the inclusion of gain as a default since it is quite "boring"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I added gain just so users can easily adjust volume as needed. Let me know if you like these better

@atneya

atneya commented Sep 18, 2025

Copy link
Copy Markdown
Contributor

The UI logic could probably be easily replaced with some more modern alternatives (i.e. compose). I think right now, we aren't persisting the effectlist in a viewmodel so I don't think it handles rotation correctly.

@robertwu1

Copy link
Copy Markdown
Collaborator Author

The UI logic could probably be easily replaced with some more modern alternatives (i.e. compose). I think right now, we aren't persisting the effectlist in a viewmodel so I don't think it handles rotation correctly.

That's a bigger change for the future. I think the rotation isn't persisted correctly but at least it can rotate with a little icon at the bottom

@robertwu1
robertwu1 merged commit 5e49174 into main Nov 5, 2025
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.

3 participants