Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 0 additions & 98 deletions ariautils/config/config.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,5 @@
{
"data": {
"tests": {
"max_programs":{
"run": false,
"args": {
"max": 12
}
},
"max_instruments":{
"run": false,
"args": {
"max": 7
}
},
"total_note_frequency":{
"run": false,
"args": {
"min_per_second": 1.5,
"max_per_second": 30
}
},
"note_frequency_per_instrument":{
"run": false,
"args": {
"min_per_second": 1.0,
"max_per_second": 25
}
},
"min_length":{
"run": false,
"args": {
"min_seconds": 30
}
},
"silent_interval":{
"run": false,
"args": {
"max_silence_s": 30
}
},
"unique_pitch_count":{
"run": false,
"args": {
"min_num_unique_pitches": 8
}
},
"unique_pitch_count_in_interval":{
"run": false,
"args": {
"test_params":
[
{"min_unique_pitch_cnt": 2, "interval_len_s": 20},
{"min_unique_pitch_cnt": 3, "interval_len_s": 30},
{"min_unique_pitch_cnt": 5, "interval_len_s": 90}
]
}
}
},
"pre_processing": {
"remove_instruments": {
"run": true,
Expand Down Expand Up @@ -107,12 +50,6 @@
"form_names": ["sonata", "prelude", "nocturne", "étude", "waltz", "mazurka", "impromptu", "fugue"]
}
},
"listening_model": {
"run": false,
"args": {
"tag_names": ["happy", "sad"]
}
},
"abs_path": {
"run": true,
"args": {}
Expand All @@ -123,43 +60,8 @@
"form": ["sonata", "prelude", "nocturne", "étude", "waltz", "mazurka", "impromptu", "fugue"],
"composer": ["bach", "beethoven", "mozart", "chopin", "rachmaninoff", "liszt", "debussy", "schubert", "brahms", "ravel", "satie", "scarlatti"]
}
},
"finetuning": {
"min_noisy_interval_ms": 5000,
"max_noisy_interval_ms": 60000,
"min_clean_interval_ms": 60000,
"max_clean_interval_ms": 200000,
"noising": {
"activation_prob": 0.95,
"remove_notes": {
"activation_prob": 0.75,
"min_ratio": 0.1,
"max_ratio": 0.4
},
"adjust_velocity": {
"activation_prob": 0.3,
"min_adjust": 1,
"max_adjust": 30,
"max_ratio": 0.1,
"min_ratio": 0.30
},
"adjust_onsets": {
"activation_prob": 0.5,
"min_adjust_s": 0.03,
"max_adjust_s": 0.07,
"max_ratio": 0.15,
"min_ratio": 0.5
},
"quantize_onsets": {
"activation_prob": 0.15,
"min_quant_s": 0.05,
"max_quant_s": 0.15,
"max_vel_delta": 45
}
}
}
},

"tokenizer": {
"rel": {
"ignore_instruments": {
Expand Down
2 changes: 1 addition & 1 deletion tests/test_midi.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from pathlib import Path
from typing import Final

from ariautils.midi import MidiDict
from ariautils.midi import MidiDict, get_test_fn
from ariautils.utils import get_logger


Expand Down
Loading