Datasets:
Download metadata_schema.json from itsuzef/HTMOneShotLoopClassification: direct link, hf CLI and curl.
- Browser
- Download file 9.46 kB
-
https://huggingface.co/datasets/itsuzef/HTMOneShotLoopClassification/resolve/main/metadata_schema.json
- Command line
-
hf download hf://datasets/itsuzef/HTMOneShotLoopClassification/metadata_schema.json
-
curl -L -o metadata_schema.json https://huggingface.co/datasets/itsuzef/HTMOneShotLoopClassification/resolve/main/metadata_schema.json
9.46 kB
| { | |
| "dataset_name": "HTMOneShotLoopClassification", | |
| "version": "1.0.0", | |
| "description": "Metadata schema for HTMOneShotLoopClassification dataset features", | |
| "total_features": 55, | |
| "features": [ | |
| { | |
| "name": "filename", | |
| "type": "string", | |
| "description": "Original audio filename" | |
| }, | |
| { | |
| "name": "stem", | |
| "type": "categorical", | |
| "description": "Target classification category (kick, snare, hihat, bass, synth, vocal, percussion, fx)", | |
| "values": ["kick", "snare", "hihat", "bass", "synth", "vocal", "percussion", "fx"] | |
| }, | |
| { | |
| "name": "category", | |
| "type": "categorical", | |
| "description": "Sample type: 'one-shots' or 'loops'", | |
| "values": ["one-shots", "loops"] | |
| }, | |
| { | |
| "name": "subfolder", | |
| "type": "string", | |
| "description": "Subfolder path within category (optional)" | |
| }, | |
| { | |
| "name": "duration", | |
| "type": "float", | |
| "description": "Audio duration in seconds", | |
| "range": [0.0, "varies"] | |
| }, | |
| { | |
| "name": "sample_rate", | |
| "type": "integer", | |
| "description": "Audio sample rate in Hz", | |
| "typical_value": 44100 | |
| }, | |
| { | |
| "name": "rms", | |
| "type": "float", | |
| "description": "Root Mean Square energy (loudness measure)", | |
| "range": [0.0, 1.0] | |
| }, | |
| { | |
| "name": "zcr", | |
| "type": "float", | |
| "description": "Zero Crossing Rate (noisiness measure)", | |
| "range": [0.0, 1.0] | |
| }, | |
| { | |
| "name": "spectral_centroid", | |
| "type": "float", | |
| "description": "Spectral centroid in Hz (brightness measure)", | |
| "range": [0.0, "varies"] | |
| }, | |
| { | |
| "name": "spectral_rolloff", | |
| "type": "float", | |
| "description": "Spectral rolloff frequency in Hz (high-frequency content)", | |
| "range": [0.0, "varies"] | |
| }, | |
| { | |
| "name": "spectral_bandwidth", | |
| "type": "float", | |
| "description": "Spectral bandwidth in Hz (frequency spread)", | |
| "range": [0.0, "varies"] | |
| }, | |
| { | |
| "name": "tempo", | |
| "type": "float", | |
| "description": "Detected tempo in BPM (0.0 if not detected)", | |
| "range": [0.0, "varies"] | |
| }, | |
| { | |
| "name": "onset_count", | |
| "type": "integer", | |
| "description": "Number of detected onsets (transient events)", | |
| "range": [0, "varies"] | |
| }, | |
| { | |
| "name": "pitch_mean", | |
| "type": "float", | |
| "description": "Mean fundamental frequency in Hz (0.0 if not detected)", | |
| "range": [0.0, "varies"] | |
| }, | |
| { | |
| "name": "harmonic_ratio", | |
| "type": "float", | |
| "description": "Ratio of harmonic to total energy (tonal vs noisy)", | |
| "range": [0.0, 1.0] | |
| }, | |
| { | |
| "name": "percussive_ratio", | |
| "type": "float", | |
| "description": "Ratio of percussive to total energy", | |
| "range": [0.0, 1.0] | |
| }, | |
| { | |
| "name": "freq_sub_bass", | |
| "type": "float", | |
| "description": "Energy in sub-bass frequency band (20-60 Hz)", | |
| "range": [0.0, 1.0] | |
| }, | |
| { | |
| "name": "freq_bass", | |
| "type": "float", | |
| "description": "Energy in bass frequency band (60-250 Hz)", | |
| "range": [0.0, 1.0] | |
| }, | |
| { | |
| "name": "freq_low_mid", | |
| "type": "float", | |
| "description": "Energy in low-mid frequency band (250-2000 Hz)", | |
| "range": [0.0, 1.0] | |
| }, | |
| { | |
| "name": "freq_high_mid", | |
| "type": "float", | |
| "description": "Energy in high-mid frequency band (2000-6000 Hz)", | |
| "range": [0.0, 1.0] | |
| }, | |
| { | |
| "name": "freq_high", | |
| "type": "float", | |
| "description": "Energy in high frequency band (6000+ Hz)", | |
| "range": [0.0, 1.0] | |
| }, | |
| { | |
| "name": "filepath", | |
| "type": "string", | |
| "description": "Full file path to original audio file" | |
| }, | |
| { | |
| "name": "spectral_contrast_1", | |
| "type": "float", | |
| "description": "Spectral contrast in frequency band 1", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "spectral_contrast_2", | |
| "type": "float", | |
| "description": "Spectral contrast in frequency band 2", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "spectral_contrast_3", | |
| "type": "float", | |
| "description": "Spectral contrast in frequency band 3", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "spectral_contrast_4", | |
| "type": "float", | |
| "description": "Spectral contrast in frequency band 4", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "spectral_contrast_5", | |
| "type": "float", | |
| "description": "Spectral contrast in frequency band 5", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "spectral_contrast_6", | |
| "type": "float", | |
| "description": "Spectral contrast in frequency band 6", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "spectral_contrast_7", | |
| "type": "float", | |
| "description": "Spectral contrast in frequency band 7", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_1", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 1", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_2", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 2", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_3", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 3", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_4", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 4", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_5", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 5", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_6", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 6", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_7", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 7", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_8", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 8", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_9", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 9", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_10", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 10", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_11", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 11", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_12", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 12", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_mean_13", | |
| "type": "float", | |
| "description": "Mean of Mel-Frequency Cepstral Coefficient 13", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_1", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 1", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_2", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 2", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_3", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 3", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_4", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 4", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_5", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 5", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_6", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 6", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_7", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 7", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_8", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 8", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_9", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 9", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_10", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 10", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_11", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 11", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_12", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 12", | |
| "range": ["varies"] | |
| }, | |
| { | |
| "name": "mfcc_std_13", | |
| "type": "float", | |
| "description": "Standard deviation of Mel-Frequency Cepstral Coefficient 13", | |
| "range": ["varies"] | |
| } | |
| ], | |
| "extraction_method": "librosa", | |
| "notes": "Features extracted using librosa audio analysis library. MFCCs computed with 13 coefficients. Spectral features computed from magnitude spectrogram. Frequency bands sum to 1.0 (normalized energy distribution)." | |
| } | |