aboutsummaryrefslogtreecommitdiffhomepage
path: root/configs/flying-faders.cfg
blob: 41975818929162991b63a957ab109fec3ce289c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
; Create a 'flying faders' effect using lua and output
; it onto TouchOSC (Layout 'Mix16', Multifader view on page 4)

[osc touch]
bind = * 8000
dest = learn@9000

; Pre-declare the fader values so the range mapping is correct
/*/fader* = f 0.0 1.0
/*/toggle* = f 0.0 1.0
/*/push* = f 0.0 1.0
/*/multifader*/* = f 0.0 1.0
/1/xy = ff 0.0 1.0 0.0 1.0

[lua generator]
script = configs/flying-faders.lua

[map]

generator.wave{1..24} > touch./4/multifader1/{1..24}
;generator.wave{1..24} > touch./4/multifader2/{1..24}

touch./4/multifader2/1 > generator.magnitude