Skip to content

[DRAFT] Soxr resample stream#341

Draft
Gautzilla wants to merge 3 commits intoProject-OSmOSE:mainfrom
Gautzilla:soxr-resample-stream
Draft

[DRAFT] Soxr resample stream#341
Gautzilla wants to merge 3 commits intoProject-OSmOSE:mainfrom
Gautzilla:soxr-resample-stream

Conversation

@Gautzilla
Copy link
Contributor

This PR reworks the AudioData.get_value() backend to lazily fetch/resample data.

Before that, the hwole value of each AudioItem was fetched before being downsampled.

Now, the AudioItem data is streamed (seamlessly across items) and resampled on the go, so that the RAM usage is optimized.

I still have to work on the MSEED backend and to add some specific tests (e.g. I have to ensure that the resampler behaves nicely when consecutive AudioItems have different input sample rates)

@Gautzilla Gautzilla self-assigned this Feb 17, 2026
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