MitchellAcoustics / MitchellAcoustics/Soundscapy

Psychoacoustic calcs can't handle long recordings

Open
#64 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
59
Forks
12
PR merge metrics
No merged PRs in 30d

Description

This seems to mostly be an issue with memory for some reason. With a 7min wav recording, I'm unable to get it to work, the 24gb RAM completely fills up and crashes.

For now, put in a check for the length of the recording. May then want to split it up or default to just doing a time series, then calculate overall results from there?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by reproducing the failure with the reported 7-minute WAV and trace the psychoacoustic calculation entry point and memory use. Clarify the intended behavior for recordings beyond the supported length; done means the issue is handled without exhausting memory and the chosen behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.