Code Monkey home page Code Monkey logo

ecosongs's People

Contributors

vin985 avatar

Watchers

 avatar  avatar  avatar

ecosongs's Issues

Clean database

Make sure database is clean:

  • remove orphan entries

When importing recordings:

  • update indexes if replacing/updating an entry
    OR/AND
  • delete all related entries (events etc.)

Check how recordings are loaded

As it is now, duration and sample rate are needed to create a Recording object, before loading the file. This is because headers are read in the GUI but kind of useless when creating a single object for testing
Besides, when loading, property sr is set instead of sample_rate. Make sure this is not used elsewhere.

Check that recording id is always present

ACI and indexes require recording id but this might not be present if only the spectrogram is provided.
Moreover the id doesn't seem to be default for the recording class

Parse files in folders instead of globally

Right now, all files are listed. Instead parse folder by folder.
This might be slower but allows to create a file list in every folder (e.g. csv) to reverse any changes and keep track of the files, especially when renaming

Change the way indexes are generated

Maybe create one Index superclass with different subvalues for each index?
Ideally create one entry per recording with values for each index? (might not be doable depending on the way indexes are computed)

Improve database management

Right now the following need to be done:

  • Update tables (see #1)
  • Delete rows
  • Check for duplicates (might need to be done on a table by table basis) and ignore or update
  • Make sure all interfaces between dbmanager and TableModel are coherent

Change spectrogram generator defaults

As it is now, if not using the gui, no defaults are provided.

Worse, if default is None (possible in some cases due to librosa) an error is thrown in some cases as the function searches in undefined attributes

Refactor models

Put table models in a same file to centralize it.
This will allow for automatic detection of relevant class

Refactor ui

Separate files and classes depending on type instead of page.

E.g. create dialog module with all dialogs instead of adding them in audiomanager page

Resize spectrogram

Allow for resizing of window when spectrogram is displayed.

Also redraw the spectrogram after resizing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.