From 7c9c741690be51952257dcbfbc036b6249cb2ea6 Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 12 May 2026 18:57:36 -0400 Subject: [PATCH] add tokenizer config --- demo/demo-tokenizer-config.json | 98 +++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 demo/demo-tokenizer-config.json diff --git a/demo/demo-tokenizer-config.json b/demo/demo-tokenizer-config.json new file mode 100644 index 0000000..bdcc9e6 --- /dev/null +++ b/demo/demo-tokenizer-config.json @@ -0,0 +1,98 @@ +{ + "tokenizer": { + "rel": { + "ignore_instruments": { + "piano": false, + "chromatic": true, + "organ": false, + "guitar": false, + "bass": false, + "strings": false, + "ensemble": false, + "brass": false, + "reed": false, + "pipe": false, + "synth_lead": false, + "synth_pad": true, + "synth_effect": true, + "ethnic": true, + "percussive": true, + "sfx": true + }, + "instrument_programs": { + "piano": 0, + "chromatic": 13, + "organ": 16, + "guitar": 24, + "bass": 32, + "strings": 40, + "ensemble": 48, + "brass": 56, + "reed": 64, + "pipe": 73, + "synth_lead": 80, + "synth_pad": 88, + "synth_effect": 96, + "ethnic": 104, + "percussive": 112, + "sfx": 120 + }, + "drum_velocity": 60, + "velocity_quantization_step": 10, + "max_time_ms": 5000, + "time_step_ms": 10, + "composer_names": ["bach", "beethoven", "mozart", "chopin", "rachmaninoff", "liszt", "debussy", "schubert", "brahms", "ravel", "satie", "scarlatti"], + "form_names": ["sonata", "prelude", "nocturne", "étude", "waltz", "mazurka", "impromptu", "fugue"], + "genre_names": ["jazz", "classical"] + }, + "abs": { + "ignore_instruments": { + "piano": false, + "chromatic": true, + "organ": true, + "guitar": true, + "bass": true, + "strings": true, + "ensemble": true, + "brass": true, + "reed": true, + "pipe": true, + "synth_lead": true, + "synth_pad": true, + "synth_effect": true, + "ethnic": true, + "percussive": true, + "sfx": true + }, + "instrument_programs": { + "piano": 0, + "chromatic": 13, + "organ": 16, + "guitar": 24, + "bass": 32, + "strings": 40, + "ensemble": 48, + "brass": 56, + "reed": 64, + "pipe": 73, + "synth_lead": 80, + "synth_pad": 88, + "synth_effect": 96, + "ethnic": 104, + "percussive": 112, + "sfx": 120 + }, + "drum_velocity": 60, + "velocity_quantization_step": 10, + "abs_time_step_ms": 5000, + "max_dur_ms": 5000, + "time_step_ms": 10, + "include_drums": false, + "include_pedal": true, + "include_delimiter": true, + "composer_names": [], + "form_names": [], + "genre_names": [] + } + } +}