SpatialScaper
SpatialScaper copied to clipboard
This PR points at Issue #40: add another class to do spatial augmentations: channel swapping, random time frequency masking, time domain remixing, and soundscape rotation. See method details in https://arxiv.org/abs/2101.02919
Hi, Thanks for the wonderful work. I have a question regarding generating virtual rooms with customizable microphone and speaker placements, similar to Fig. 2 in the paper. Is this feature...
Changing the mean number of events `N_EVENTS_MEAN` or `DURATION` in the example_generation.py script leads to max recursion errors. The error looks as follows: ``` with os.scandir(dirname) as it: RecursionError: maximum...
Reference Line: https://github.com/iranroman/SpatialScaper/blob/dd130d1e0f8aef0c93f5e1b73c3445f855b92e7b/scripts/prepare_rirs.py#L198 The error looks like: ``` File "scripts/prepare_rirs.py", line 528, in prepare_motus(motus_path, sofa_path) File "scripts/prepare_rirs.py", line 198, in prepare_motus source_pos = source_positions[source_pos_index] + random.uniform( KeyError: 'rirs.zip' ``` From...
Fixes issue #74
Right now, the database is hard-coded for use with the TAU-SRIR database. @adrianSRoman has already added an additional room in #2 , but we should look into how we can...
Changing units from m to cm, according to the DCASE metadata. (Reopening PR).
This PR proposes adding a filter to ignore sound classes in simulation. Users may encounter this feature useful as some tasks in the development of SELD systems may require understanding...
Very simple/fast implementation of the `Room` class that behaves similarly to the proposed API in the paper. Generates a `.sofa` file that is fully compatible with the current version of...
Currently, details about rooms and their data structures live inside the Scaper object including some adhoc handling of directory structures. Moving this out should make it easier to implement things...