melatonin_audio_sparklines
melatonin_audio_sparklines copied to clipboard
When block has large number of samples (10k+) things start to get sluggish
Perhaps we can conditionally create the min/max and children.
Otherwise things get a bit unfriendly and take a few too many seconds:

min/max might be better resolved via CreateValueFromExpression, calling . findMinAndMax
Should probably also just set a hard limit (4096) for channel children and the sparkline creation.