Skip to content

SDS-View: fix handling of audio content - #362

Merged
MiloradCvjetkovic merged 2 commits into
mainfrom
sds_view_upd
Nov 23, 2026
Merged

MiloradCvjetkovic merged 2 commits into
mainfrom
sds_view_upd

Conversation

@MiloradCvjetkovic

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI 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.

🟡 Changes recommended

Audio plotting still rejects valid PCM metadata, misreads unsigned 8-bit samples, can crash on mixed-width records or mixed-content 3D plots, and may truncate the plotted time range.

5 open issues
What changed in this PR

This PR extends SDS-View’s time-based plotting to support mono PCM audio alongside existing value content.

Changes:

  • Adds metadata validation, sample decoding, and plot labels for 8-, 16-, and 32-bit mono PCM audio.
  • Rejects empty content metadata and bumps SDS-View to version 3.1.2.
  • Documents audio support and clarifies the existing same-type requirement for values.
File Description
utilities/​sds-view.py Adds audio validation and plotting, an empty-content check, and a version bump.
documentation/​utilities.md Documents supported audio formats and updates metadata guidance.

Review effort: Balanced

Comment thread utilities/sds-view.py Resolved
Comment thread utilities/sds-view.py Resolved
Comment thread utilities/sds-view.py Resolved
Comment thread utilities/sds-view.py Resolved
Comment thread utilities/sds-view.py Resolved

@TeoMahnic TeoMahnic left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@MiloradCvjetkovic
MiloradCvjetkovic merged commit 5088e5f into main Nov 23, 2026
2 checks passed
@MiloradCvjetkovic
MiloradCvjetkovic deleted the sds_view_upd branch November 23, 2026 11:48
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