Browse Source

seq_model_perkons.py - correction, odds and prob are mutually exclusive

master
heck 8 months ago
parent
commit
ba2ce38432
  1. 5
      tools/seq_model_perkons.py

5
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

Loading…
Cancel
Save