Skip to content

Commit

Permalink
Adding da tacos loader (#434)
Browse files Browse the repository at this point in the history
Co-authored-by: Rachel Bittner <[email protected]>
  • Loading branch information
PRamoneda and rabitt authored Sep 27, 2021
1 parent aa61981 commit a6c5fb4
Show file tree
Hide file tree
Showing 24 changed files with 1,441,198 additions and 11 deletions.
3 changes: 1 addition & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
# Show only copyright
show_authors = False


# -- Mock dependencies -------------------------------------------------------
autodoc_mock_imports = [
"librosa",
Expand All @@ -42,12 +41,12 @@
"pretty_midi",
"DALI",
"music21",
"h5py",
"yaml",
"scipy",
"smart_open",
]


# # -- General configuration ---------------------------------------------------

# # Add any Sphinx extension module names here, as strings. They can be
Expand Down
2 changes: 2 additions & 0 deletions docs/source/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,8 @@ We use the following libraries for loading data from files:
+-------------------------+-------------+
| yaml | pyyaml |
+-------------------------+-------------+
| hdf5 / h5 | h5py |
+-------------------------+-------------+

If a file format needed for a dataset is not included in this list, please see `this section <extra_dependencies_>`_

Expand Down
9 changes: 9 additions & 0 deletions docs/source/mirdata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ acousticbrainz_genre
:members:
:inherited-members:


beatles
^^^^^^^

Expand Down Expand Up @@ -82,6 +83,14 @@ dali
:inherited-members:


da_tacos
^^^^^^^^

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


freesound_one_shot_percussive_sounds
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
4 changes: 3 additions & 1 deletion docs/source/quick_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ and may be homogeneous.

* 🔑 : Available upon request

* 📺 : Youtube Links only
* 📺 : Do-it-yourself download

* 🧮 : Features only

* ❌ : Not available

Expand Down
21 changes: 15 additions & 6 deletions docs/source/table.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
- License

* - AcousticBrainz Genre
- - audio:
- - audio: 🧮
- annotations: ✅
- features: ✅
- - :ref:`genre`
- >4M
- - .. image:: https://licensebuttons.net/l/by-sa/4.0/80x15.png
Expand Down Expand Up @@ -100,6 +99,16 @@
- .. image:: https://licensebuttons.net/l/by-sa/4.0/80x15.png
:target: https://creativecommons.org/licenses/by-sa/4.0

* - Da-TACOS
- - audio: 🧮
- annotations: ✅
- - :ref:`lyrics`
- Vocal :ref:`notes`
- - benchmark 15000 tracks
- coveranalysis 10000 tracks
- .. image:: https://licensebuttons.net/l/by-sa/4.0/80x15.png
:target: https://creativecommons.org/licenses/by-sa/4.0

* - Freesound One-Shot Percussive Sounds
- - audio: ✅
- annotations: ✅
Expand All @@ -117,7 +126,7 @@
:target: https://creativecommons.org/licenses/by-sa/4.0

* - Giantsteps tempo
- - audio: : ❌
- - audio: 📺
- annotations: ✅
- - global :ref:`genre`
- global :ref:`tempo`
Expand Down Expand Up @@ -146,7 +155,7 @@
:target: https://creativecommons.org/licenses/by-sa/4.0

* - Gtzan-Genre
- - audio: :
- - audio: ✅
- annotations: ✅
- global :ref:`genre`
- 1000
Expand Down Expand Up @@ -210,7 +219,7 @@
:target: https://creativecommons.org/licenses/by-nc-sa/4.0

* - Medley-solos-DB
- - audio: :
- - audio: ✅
- annotations: ✅
- :ref:`instruments`
- 21571
Expand Down Expand Up @@ -351,7 +360,7 @@
:target: https://creativecommons.org/licenses/by/4.0/

* - Tonality ClassicalDB
- - audio:
- - audio: 🧮
- annotations: ✅
- Global :ref:`key`
- 881
Expand Down
2 changes: 1 addition & 1 deletion mirdata/datasets/beatport_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def _find_replace(self, directory, find, replace, pattern):
directory (str): path to directory
find (str): string from replace
replace (str): string to replace
pattern (str): regex that must match the directories searrched
pattern (str): regex that must match the directories searched
"""
for path, dirs, files in os.walk(os.path.abspath(directory)):
Expand Down
Loading

0 comments on commit a6c5fb4

Please sign in to comment.