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

bug in counting nber of segmented wav #181

Open
cazaudo opened this issue Jul 19, 2024 · 0 comments
Open

bug in counting nber of segmented wav #181

cazaudo opened this issue Jul 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cazaudo
Copy link
Member

cazaudo commented Jul 19, 2024

bug appeared with the following parameters :

dataset_name = "2010"
campaign_name = "SPM_AuralA"

dataset.spectro_duration = 850 # seconds
dataset.dataset_sr = 1000 # Hz

dataset.zoom_level = 0
dataset.nfft = 1024
dataset.window_size = 1024
dataset.overlap = 0

bug description :

the manual computation of nb_reshaped_files done in Spectrogram as shown below does not match the actual nber of segmented files created , no bugs found in the logs of reshaping , and unique duration of wav files , so this needs further investigation

        nb_reshaped_files = (
            audio_file_origin_duration * audio_file_count
        ) / self.spectro_duration
        metadata["audio_file_count"] = int(nb_reshaped_files)
@cazaudo cazaudo added the bug Something isn't working label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant