From ba2ce38432679f6a6b93cf83b90d642ede68ab12 Mon Sep 17 00:00:00 2001 From: heck Date: Tue, 29 Oct 2024 05:51:55 +0100 Subject: [PATCH] seq_model_perkons.py - correction, odds and prob are mutually exclusive --- tools/seq_model_perkons.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/seq_model_perkons.py b/tools/seq_model_perkons.py index f0b8564..c363362 100755 --- a/tools/seq_model_perkons.py +++ b/tools/seq_model_perkons.py @@ -13,15 +13,14 @@ note_threepos_count = 3 note_threepos_bits = 2 note_accent_bits = 1 note_ratchet_bits = 3 -note_odd_bits = 4 -note_prob_bits = 3 +note_oddprob_bits = 4 bars = 1 channels = 4 cc_bits_per_pulse = cc_count * cc_bits -note_bits_per_pulse = (note_threepos_count * note_threepos_bits) + (note_trigger_bits) + note_ratchet_bits + note_odd_bits + note_prob_bits +note_bits_per_pulse = (note_threepos_count * note_threepos_bits) + (note_trigger_bits) + note_ratchet_bits + note_oddprob_bits cc_bytes_per_quarter = cc_bits_per_pulse / 8 * ppq_cc note_bytes_per_quarter = note_bits_per_pulse / 8 * ppq_note