1
0
mirror of synced 2025-01-06 03:34:25 +01:00
ImHex/plugins/visualizers
paxcut 72822d03aa
fix: Stereo sound visualizations (#1970)
Even tough the sound visualizer has `channels` as one of its parameters
it wasn't using it properly.

### Problem description
The biggest problem is that at each frame the index was being advanced
per channel frame_count increments. The number of channels also
determines how many graph will be needed to display the graphs of the
visualized sound files. Besides these two problems there were many
others like incorrect playback time, cracking audio, etc. which will not
be mentioned.

### Implementation description
To sample the signal a channel sampler was created based on the one used
previously that returns as many sampled signals as there are channels.
This PR aims hopefully at fixing all the problems encountered, and it
has been tested extensively using `Audacity` exported samples to ensure
the visualizer fidelity on playback and graph appearance.

### Screenshots

![image](https://github.com/user-attachments/assets/03453860-693f-4af4-b6c6-e828a102c389)
2024-11-29 17:22:22 +01:00
..
include/content refactor: Rework features that use external libraries into optional plugins (#1470) 2023-12-23 21:09:41 +01:00
romfs lang: Update Chinese (Simplified) translations (#1894) 2024-09-15 15:17:25 +02:00
source fix: Stereo sound visualizations (#1970) 2024-11-29 17:22:22 +01:00
CMakeLists.txt feat: Added digital signal pattern visualizer 2024-06-20 14:04:05 +02:00