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

[DRAFT] Core API #245

Draft
wants to merge 112 commits into
base: main
Choose a base branch
from
Draft

[DRAFT] Core API #245

wants to merge 112 commits into from

Conversation

Gautzilla
Copy link
Contributor

I renamed the branch and PR names of #233 to more explicit ones, this is where the changes will be pushed from now on.

Gautzilla and others added 22 commits January 20, 2025 14:31
This PR fixes the concatenation of multiple NPZ files to form a larger spectrogram as LTAS were computed in the legacy OSEkit.

It introduces the split() method for SpectroData objects, which deviates from the behaviour of AudioData.split() as it forces the chunks to be made on frames on which a window of the SFT is centered. This is required to reconstruct a sft from sft parts, as shown in the "It is possible to calculate the SFT of signal parts:" section.

This PR also improves the accuracy of the SpectroFile objects begin/end timestamps by writting the timestamps in the npz file, rather than computing it in a pretty questionable way as it was done before 🥸.
@Gautzilla Gautzilla self-assigned this Feb 12, 2025
@Gautzilla Gautzilla marked this pull request as draft February 12, 2025 08:27
@Gautzilla Gautzilla changed the title Core API [DRAFT] Core API Feb 12, 2025
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