Skip to content

Commit

Permalink
Adding loader for SCMS (#597)
Browse files Browse the repository at this point in the history
* first commit

* update on dependencies

* missing track in test_loaders

* fix testing hindustani track

* check mypy problem

* add more tests

* create entry for annotation type activation in quick ref

* update table, quick ref, and docstring, add test

* remove deprecated functions of dataset

* black

---------

Co-authored-by: Magdalena Fuentes <[email protected]>
Co-authored-by: Guillem Cortès <[email protected]>
  • Loading branch information
3 people authored Nov 3, 2023
1 parent c1dccb0 commit a944318
Show file tree
Hide file tree
Showing 15 changed files with 35,105 additions and 3 deletions.
9 changes: 9 additions & 0 deletions docs/source/mirdata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,15 @@ saraga_hindustani
.. automodule:: mirdata.datasets.saraga_hindustani
:members:
:inherited-members:


scms
^^^^

.. automodule:: mirdata.datasets.scms
:members:
:inherited-members:



slakh
Expand Down
9 changes: 9 additions & 0 deletions docs/source/quick_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ Here we provide a rough guide to the types in this table, but we **strongly reco
the dataset specific documentation to ensure the data is as you expect. To see how these annotation
types are implemented in ``mirdata`` see :ref:`annotations`.

.. _events:

Events
^^^^^^
A generic annotation to indicate whether a particular event is happening at a given time.
It can be used, for instance, to indicate whether a particular instrument is playing at a
given time-step or whether a particular note is being played at a given time-step. In fact,
it is implicit in annotations such as F0_ or Vocal Notes_ (instrument is activated when the
melody is non-0). However, some datasets provide it as a standalone event annotation.

.. _beats:

Expand Down
9 changes: 9 additions & 0 deletions docs/source/table.rst
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,15 @@
- 108
- .. image:: https://licensebuttons.net/l/by-nc-sa/4.0/80x15.png
:target: https://creativecommons.org/licenses/by-nc-sa/4.0

* - Saraga-Carnatic-Melody-Synth (SCMS)
- - audio: ✅
- annotations: ✅
- - :ref:`f0`
- :ref:`events`
- 2460
- .. image:: https://licensebuttons.net/l/by-nc-sa/4.0/80x15.png
:target: https://creativecommons.org/licenses/by-nc-sa/4.0

* - Slakh
- - multitrack audio: ✅
Expand Down
Loading

0 comments on commit a944318

Please sign in to comment.