Skip to content

Instantly share code, notes, and snippets.

View allyring's full-sized avatar

Ally allyring

View GitHub Profile
@allyring
allyring / huefader.BeyondScript
Created July 10, 2025 17:27
Script to convert Midi CC to colour channel in pangolin beyond. mimics the behaviour of the color fader on the live control panel
CodeName "HSV to Col Chan"
var r, g, b;
var h; h = extvalue(0,1);
if (h > 0.99) goto white;
var i; i = int(h * 6);
var f; f = h * 6 - i;
var q; q = (1 - f);