itslenoid commited on
Commit
f5f0861
·
verified ·
1 Parent(s): 01410ed

Upgrade dataset card with HF YAML metadata, fixed repo ID, and schema

Browse files
Files changed (1) hide show
  1. README.md +60 -82
README.md CHANGED
@@ -1,11 +1,20 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
3
  tags:
4
  - lo-fi
5
  - jazz
6
  - lo-fi-jazz
7
- - study-music
8
- - background-music
9
  - instrumentals
10
  - bpm
11
  - music-theory
@@ -14,109 +23,78 @@ tags:
14
  - dataset
15
  ---
16
 
17
- # Lowfi Jazz
18
 
19
- **120 lo-fi jazz instrumentals across 5 sub-genres, each in every major and minor key.**
20
 
21
- A curated dataset of high-quality (320 kbps, 48 kHz) MP3 lo-fi jazz tracks designed for music production, study, relaxation, and ML training.
22
 
23
- ## Dataset Description
24
-
25
- This dataset contains 120 lo-fi jazz instrumentals generated across 5 distinct sub-genre styles, with each style covering all 12 major and minor keys in a systematic way. Every track includes comprehensive metadata: title, genre, musical key, BPM, and swing percentage.
26
-
27
- ### Sub-genres
28
-
29
- | # | Sub-genre | Tracks | BPM Range |
30
- |---|-----------|--------|-----------|
31
- | 1 | **Rainy Rhodes Chill** | 1–24 | 65–75 |
32
- | 2 | **Midnight Study Beats** | 25–48 | 72–84 |
33
- | 3 | **Noir Minor Lo-Fi** | 49–72 | 68–80 |
34
- | 4 | **Neo-Soul & Jazz Hop** | 73–96 | 78–90 |
35
- | 5 | **Reharmonized Tape Loops** | 97–120 | 82–95 |
36
-
37
- ### Structure
38
-
39
- Each track is accompanied by a sidecar `.txt` file containing key-value metadata:
40
-
41
- ```
42
- title: Lo-Fi Jazz #001 - Rainy Rhodes Chill in C
43
- artist: Lo-Fi Jazz Trio
44
- album: 120 Lo-Fi Jazz Sessions
45
- track_number: 1/120
46
- genre: Rainy Rhodes Chill
47
- key: C
48
- bpm: 75
49
- swing: 58%
50
- date: 2026
51
- duration: 116.981333
52
- sample_rate: 48000
53
- channels: 2
54
- bit_rate: 320000
55
- codec: mp3
56
- filename: track_001_rainy_rhodes_chill_C_75bpm.mp3
57
- ```
58
 
59
- ## Usage
60
 
61
- ### With the Hugging Face Datasets library
62
 
63
  ```python
64
  from datasets import load_dataset
65
 
66
- dataset = load_dataset("lowfi-dataset/jazz-lowfi")
 
67
 
68
- # Access individual tracks
69
- track = dataset["train"][0]["audio"]
 
 
70
 
71
- # Filter by key and BPM
72
- key_c_tracks = [t for t in dataset["train"] if t["key"] == "C"]
73
- fast_tracks = [t for t in dataset["train"] if int(t["bpm"]) > 85]
74
  ```
75
 
76
- ### Using the sidecar metadata
77
 
78
- The `.txt` sidecar files provide structured metadata that can be parsed with simple key-value extraction:
79
 
80
- ```python
81
- import os
82
- from pathlib import Path
83
-
84
- def parse_sidecar(txt_path):
85
- metadata = {}
86
- with open(txt_path) as f:
87
- for line in f:
88
- if ": " in line:
89
- key, value = line.strip().split(": ", 1)
90
- metadata[key] = value
91
- return metadata
92
-
93
- # Parse all sidecars
94
- tracks_dir = Path("jazz-lowfi/tracks")
95
- for txt in tracks_dir.glob("*.txt"):
96
- meta = parse_sidecar(txt)
97
- print(f"{meta['filename']} | {meta['key']} | {meta['bpm']} BPM | {meta['swing']}")
98
- ```
99
 
100
- ## Audio Properties
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
 
102
- - **Format**: MP3 (MPEG Audio Layer 3)
103
- - **Bit rate**: 320 kbps (CBR)
104
- - **Sample rate**: 48 kHz
105
- - **Channels**: Stereo (2ch)
106
- - **Duration**: ~100–120 seconds each
107
 
108
  ## License
109
 
110
- This dataset is released under the [MIT License](LICENSE).
111
 
112
  ## Citation
113
 
114
  ```bibtex
115
- @misc{jazzlowfi2026,
116
- title = {Lowfi Jazz Dataset},
117
- author = {lowfi-dataset},
118
- year = {2026},
119
- publisher = {Hugging Face},
120
- url = {https://huggingface.co/datasets/lowfi-dataset/jazz-lowfi}
121
  }
122
  ```
 
1
  ---
2
  license: mit
3
+ pretty_name: Lowfi Jazz
4
+ task_categories:
5
+ - text-to-audio
6
+ - audio-classification
7
+ size_categories:
8
+ - n<1K
9
+ language:
10
+ - en
11
+ - zxx
12
  tags:
13
  - lo-fi
14
  - jazz
15
  - lo-fi-jazz
16
+ - music-generation
17
+ - text-to-audio
18
  - instrumentals
19
  - bpm
20
  - music-theory
 
23
  - dataset
24
  ---
25
 
26
+ # Lowfi Jazz (`itslenoid/jazz-lowfi`)
27
 
28
+ **120 lo-fi jazz instrumentals across 5 sub-genres, covering all 12 major and minor keys — ready for `datasets` and text-to-audio training.**
29
 
30
+ A curated, **MIT-licensed (commercial-friendly)** dataset of 320 kbps, 48 kHz stereo MP3 lo-fi jazz tracks with rich musical metadata and natural-language captions, designed for text-to-audio models, music information retrieval (MIR), and audio generation.
31
 
32
+ ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
+ ## Quick Start
35
 
36
+ ### Load with Hugging Face `datasets`
37
 
38
  ```python
39
  from datasets import load_dataset
40
 
41
+ # Load full dataset (AudioFolder format — no custom code required)
42
+ dataset = load_dataset("itslenoid/jazz-lowfi", split="train")
43
 
44
+ # Stream without downloading all MP3s upfront
45
+ stream = load_dataset("itslenoid/jazz-lowfi", split="train", streaming=True)
46
+ sample = next(iter(stream))
47
+ print(sample["caption"], sample["bpm"], sample["key"])
48
 
49
+ # Filter by musical attributes
50
+ minor_tracks = dataset.filter(lambda x: x["mode"] == "minor")
51
+ fast_tracks = dataset.filter(lambda x: x["bpm"] > 85)
52
  ```
53
 
54
+ ---
55
 
56
+ ## Dataset Structure
57
 
58
+ ### Sub-genres
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
+ | # | Sub-genre | Tracks | BPM Range | Mood Tags |
61
+ |---|-----------|--------|-----------|-----------|
62
+ | 1 | **Rainy Rhodes Chill** | 1–24 | 65–75 | `chill`, `rainy`, `warm`, `nostalgic` |
63
+ | 2 | **Midnight Study Beats** | 25–48 | 72–84 | `focused`, `mellow`, `late-night`, `relaxed` |
64
+ | 3 | **Noir Minor Lo-Fi** | 49–72 | 68–80 | `moody`, `noir`, `cinematic`, `introspective` |
65
+ | 4 | **Neo-Soul & Jazz Hop** | 73–96 | 78–90 | `groovy`, `soulful`, `laid-back`, `rhythmic` |
66
+ | 5 | **Reharmonized Tape Loops** | 97–120 | 82–95 | `dreamy`, `vintage`, `hypnotic`, `experimental` |
67
+
68
+ ### Metadata Schema (`metadata.jsonl`)
69
+
70
+ | Column | Type | Description |
71
+ |--------|------|-------------|
72
+ | `audio` | `Audio` | 48 kHz stereo MP3 audio |
73
+ | `title` | `string` | Track title |
74
+ | `genre` | `string` | Sub-genre name |
75
+ | `key` | `string` | Musical key (e.g., `C`, `Dm`, `F#m`) |
76
+ | `mode` | `string` | `major` or `minor` |
77
+ | `bpm` | `int` | Tempo in beats per minute |
78
+ | `swing_pct` | `int` | Swing percentage |
79
+ | `duration` | `float` | Duration in seconds |
80
+ | `instruments` | `list[string]` | Instrumentation tags |
81
+ | `mood` | `list[string]` | Mood/style descriptors |
82
+ | `caption` | `string` | Natural-language prompt for text-to-audio training |
83
 
84
+ ---
 
 
 
 
85
 
86
  ## License
87
 
88
+ Released under the **MIT License** — free for academic research, commercial ML training, fine-tuning, and creative projects.
89
 
90
  ## Citation
91
 
92
  ```bibtex
93
+ @dataset{itslenoid_jazz_lowfi_2026,
94
+ author = {itslenoid},
95
+ title = {Lowfi Jazz: 120 Lo-Fi Jazz Instrumentals Across All Keys},
96
+ year = {2026},
97
+ publisher = {Hugging Face},
98
+ url = {https://huggingface.co/datasets/itslenoid/jazz-lowfi}
99
  }
100
  ```