Skip to content

Flexible python tools #628

@kdarras

Description

@kdarras

Currently, we are able to run audio tools on two levels: from the spectrogram player and from the dashboard recordings table.

We need to generalise the implementation of tools, by allowing users to run any tool on either collections, recordings (or time- and frequency-bound snippets of those), or tags (#611 ), from the dashboard or the spectrogram player.

The detection of the corresponding libraries or tools installed within the python architecture module should be automatic, as well as the extraction of the metadata of the packages and the contained functions (e.g. package name, name, description, input parameters) so that the users can choose the appropriate one. This should facilitate future updates by requiring less hard-coding.

Currently, these are the available tools and how they should be categorised:

Pre-processing:

  • resampling (built-in, SoX?)
  • band-pass/low-pass/high-pass filtering (built-in, SoX?)

Visualisation:

Analysis:

Annotation:

The user should be able to select the category in the modal (or four buttons could be offered for different modals), and also be able to search the functions based on their names and their description (Example: temporal_median - Computes the median of the envelope of an audio signal). Links to the original documentation should be provided. Several aspects remind us of the current acoustic index modal.

The execution of the functions found within each category will lead to different outputs: Pre-processing will create sound files that need to be stored in new sound collections; Visualisation will create images/matrices that could be stored in tables; Analysis will create text or matrices that needs to be stored similarly to the current IndexLogs; Annotation will create tags.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions