Skip to content

Newly revamped method for basic visualization#1339

Open
0x5066 wants to merge 5 commits into
captbaritone:masterfrom
0x5066:winampvis3
Open

Newly revamped method for basic visualization#1339
0x5066 wants to merge 5 commits into
captbaritone:masterfrom
0x5066:winampvis3

Conversation

@0x5066

@0x5066 0x5066 commented Dec 29, 2025

Copy link
Copy Markdown
Contributor

All good things are 3...
... Except for Winamp3.

This entirely revamps how Webamp performs its basic visualization (because that is apparently very difficult...).

All of this was based on research and decompilation from Winamp 2.63, the way the oscilloscope and spectrum analyzer are drawn, including their different coloring modes (analyzer's Normal, Fire and Line modes, oscilloscope's Dots, Lines and Solid modes) are 100% matched.

The intent behind this new commit and PR is to remove the old way of doing things (VisPainter), while it served us well, maintainability became difficult as time went on (partly because of the way it was written and how additions were made), as things were more based on observation rather than truly fact checking how it actually works.

Fixes the following:

  • Polarity of the Oscilloscope is no longer inverted.

All good things are 3...
... Except for Winamp3.

This entirely revamps how Webamp performs its basic visualization (because that is apparently *very* difficult...).

All of this was based on research and decompilation from Winamp 2.63, the way the oscilloscope and spectrum analyzer are drawn, including their different coloring modes (analyzer's Normal, Fire and Line modes, oscilloscope's Dots, Lines and Solid modes) are 100% matched.

The intent behind this new commit and PR is to remove the old way of doing things (VisPainter), while it served us well, maintainability became difficult as time went on (partly because of the way it was written and how additions were made), as things were more based on observation rather than truly fact checking how it actually works.

Fixes the following:
- Polarity of the Oscilloscope is no longer inverted.
@netlify

netlify Bot commented Dec 29, 2025

Copy link
Copy Markdown

Deploy Preview for tourmaline-kringle-c98715 canceled.

Name Link
🔨 Latest commit a2dd6c2
🔍 Latest deploy log https://app.netlify.com/projects/tourmaline-kringle-c98715/deploys/6a21dfc4a01a0c0008a0c824

@0x5066

0x5066 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

I will note, that there is an issue currently with the playlist editor's visualizer, where the state isn't preserved when the main window is re-enabled again.

Main Window -> disabled -> automatically switches to the playlist one, where the state is preserved (watch the peaks still at the top), but when Main Window -> re-enabled, the visualizer seems to be recreated for some reason, and from what I attempted seems more work than necessary for this PR to address.

The state of the visualizer is preserved when you switch modes (to/from windowshade, to/from doublesize) however.

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.

1 participant