Implement full parameter sending on pattern change and periodic updates
- Send all parameters when pattern changes (may require 2 packets if >200 bytes) - Send periodic parameter updates every 8 beats to keep bars synchronized - Beat packets remain minimal for performance - All packets stay under 230-byte limit
This commit is contained in:
@@ -199,14 +199,16 @@ class App:
|
||||
"pulse": "💥",
|
||||
"flicker": "✨",
|
||||
"alternating": "↔️",
|
||||
"n_chase": "🏃",
|
||||
"n chase": "🏃",
|
||||
"rainbow": "🌈",
|
||||
"radiate": "🌟",
|
||||
"sequential\npulse": "🔄",
|
||||
"alternating\nphase": "⚡",
|
||||
"-": "",
|
||||
}
|
||||
bank1_patterns = [
|
||||
"pulse", "flicker", "alternating", "n_chase",
|
||||
"rainbow", "radiate", "-", "-",
|
||||
"pulse", "flicker", "alternating", "n chase",
|
||||
"rainbow", "radiate", "sequential\npulse", "alternating\nphase",
|
||||
"-", "-", "-", "-",
|
||||
"-", "-", "-", "-",
|
||||
]
|
||||
|
Reference in New Issue
Block a user