@dave_dore Iβve now added some controller meters like these to my Show Notes song template and to a few existing songs I have, and it works great! Really nice clear view, I love it! Very ingenious work Dave!!!
Hehe, couldnβt resist: Iβve serialized @dave_doreβs original formula for the linear meters. Reduces a bit of the complexity of chained ternary operators, so it might make things a bit easier to digest for Cantabile.
$(cc(7,16)>0?"π¦" : " ")$(cc(7,16)>10?"π¦" : "")$(cc(7,16)>20?"π©" : "")$(cc(7,16)>30?"π©" : "")$(cc(7,16)>40?"π©" : "")$(cc(7,16)>50?"π¨" : "")$(cc(7,16)>60?"π¨" : "")$(cc(7,16)>70?"π¨" : "")$(cc(7,16)>80?"π§" : "")$(cc(7,16)>90?"π§" : "")$(cc(7,16)>100?"π§" : "")$(cc(7,16)>110?"π₯" : "")$(cc(7,16)>120?"π₯" : "")
Not sure if that helps with the WebUI issues? If theyβre mainly UI-update-driven, then this shouldnβt be much different, so I wouldnβt bet on itβ¦
I did some experiments with different types of tempo indicators
top to bottom are the scripts used
circled numbers
``
$(cc(40,16) == 1 ? ββ β : cc(40,16) == 2 ? " β‘" : cc(40,16) == 3 ? " β’" : cc(40,16) == 4 ? " β£" :ββ)
``
colored dots
``
$(cc(40,16) == 1 ? ββ : cc(40,16) == 2 ? " " : cc(40,16) == 3 ? " " : cc(40,16) == 4 ? " " :ββ)
in place serial numbers
$(cc(40,16))
``
all are fed by the same binding. You can create different value settings for higher numbers of beats here if you expand on the ternary statements. All examples are 4/4.
all examples are set to full font size = 100.
Dave
How high a BPM can be successfully displayed via WebUI? My experience has been missed beats on the WebUI >=130 BPM. Mains screen is always good, but WebUI misses beats.
Not sure, I was testing natively. Will look.
It starts to miss redraws on the Cantabile Web UI between 240 and 250 bpm. My drummer likes to take a glance at my laptop to get a visual tempo guide so I was looking at a way to make a big display type for show notes. Show Notes Native runs up to 300 BPM
Mine skips at 130 BPM, but Iβm blinking a dot in time using a Midi file every 8th note with cc54 on channel 16. If cc=1, show the dot. if cc<>1, overwrite with a blank.
$(((cc(54,16))==1)?"β’":" ")
I believe we may have the same results as my code is sending a redraw at 2x BPM (8th notes) which would be around 260 BPM. Thanks for the answer.
Hi All,
I came up with this other method using the βstrpartβ function. It allows simple editing of the CC source for the whole expression and I changed the number of indicators to split into multiples of 12. That makes the first yellow indicator 0 db exactly. Way less edits if you make multiple bars lol.
$(strpart(" ;π’;π’π’;π’π’π’;π’π’π’π’;π’π’π’π’π’;π’π’π’π’π’π’;π’π’π’π’π’π’π’;π’π’π’π’π’π’π’π‘;π’π’π’π’π’π’π’π‘π‘;π’π’π’π’π’π’π’π‘π‘π΄", cc(7,2) / 12))
Dave