Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSC3246: Audio waveform for extensible events #3246

Open
wants to merge 5 commits into
base: old_master
Choose a base branch
from

Conversation

turt2live
Copy link
Member

Rendered

See #3245 for implementations (Element Web/Desktop, currently).

@turt2live turt2live added proposal A matrix spec change proposal client-server Client-Server API kind:feature MSC for not-core and not-maintenance stuff labels Jun 15, 2021
@turt2live turt2live changed the title [WIP] MSC3246: Audio event/waveform representation in extensible events MSC3246: Audio waveform for extensible events Nov 13, 2022
@turt2live
Copy link
Member Author

Note that this has now been rescoped to just waveforms, with @uhoreg's comment about range being unresolved at the moment.

@turt2live turt2live marked this pull request as ready for review November 14, 2022 21:38
julioromano pushed a commit to element-hq/element-x-android that referenced this pull request Oct 27, 2023
[MSC3246](matrix-org/matrix-spec-proposals#3246) specifies the waveform as a list of ints because:

> Because floating point numbers are not allowed in Matrix events

Though DSP on audio data is almost always done using their floating point representation.
This PR brings the float<->int rescaling in the `matrix` module so that the application code can always work with float waveform samples.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client-server Client-Server API kind:feature MSC for not-core and not-maintenance stuff proposal A matrix spec change proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants