Skip to content

Linear mixer option#837

Open
Yave-Yu wants to merge 3 commits into
TASEmulators:masterfrom
Yave-Yu:master
Open

Linear mixer option#837
Yave-Yu wants to merge 3 commits into
TASEmulators:masterfrom
Yave-Yu:master

Conversation

@Yave-Yu
Copy link
Copy Markdown

@Yave-Yu Yave-Yu commented May 2, 2026

Non-linear square channel mixing is a bit distorted, especially two 50% or 75% duty mixing, sounds quite unpleasure, so this option is made for who hates non-linear square channel mixing.

Yave-Yu added 2 commits May 2, 2026 09:57
Affect to APU1 only.
To mimic some Famiclones which didn't swap duty cycles.
@Yave-Yu
Copy link
Copy Markdown
Author

Yave-Yu commented May 2, 2026

Also added not reset square phase option (I wish to create another PR, but what the heck it automaticlly added here, seems I need to create another branch), to mimic Dendy and late Famiclone which didn't swap duty cycles.

@negativeExponent
Copy link
Copy Markdown
Contributor

i think im missing something. "wlinear1" remains at the same value and no effect on high quality sound mode

@Yave-Yu
Copy link
Copy Markdown
Author

Yave-Yu commented May 9, 2026

I only tested Win32 version, so not sure other version works well…
On Win32 version, it works fine, Low/High/Highest are all work as expect.

LinearMixer.mp4

This video you could hear effect.

As wlinear1, that just take the center value of nonlinear square table, then used to mix with each square channel. This just like NSFPlay's implementation.

@Yave-Yu
Copy link
Copy Markdown
Author

Yave-Yu commented May 10, 2026

i think im missing something. "wlinear1" remains at the same value and no effect on high quality sound mode

I know the reason… It's because new option just add to Win32 version… Other version need add new option too. Win32 version's Sound now looks like this:
NewOptions

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.

2 participants