Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ketos ketos
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • public_projects
  • ketosketos
  • Merge requests
  • !189

Merged
Created Jan 12, 2021 by Oliver Kirsebom@kirsebomOwner

Multiple data fields

  • Overview 12
  • Commits 29
  • Pipelines 10
  • Changes 23

OBS: The destination branch is currently set to master. This perhaps should be changed to development?

This merge request generalizes functions and classes in the database_interface and audio_loader modules to handle multiple audio representations (i.e. for the same audio clip, multiple representations are generated). For example, it is now possible to call the create_database method as follows,

    rep1 = {'type': 'Waveform'}
    rep2 = {'type': 'Mag', 'window':0.5, 'step':0.1}
    di.create_database(output_file='db.h5', data_dir='data/', selections=sel_table, audio_repres=[rep1,rep2], data_name=['wf','spec'])

This will create an hdf5 database with a table that has two data columns named wf and spec which contain waveforms and magnitude spectrograms, respectively.

Edited Feb 17, 2021 by Fabio Frazao
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: multiple_data_fields