aboutsummaryrefslogtreecommitdiffstats
path: root/examples/osc.alv
blob: 464af724a4b1e8c78dc7cdf7ddcea3ed67cb7677 (plain)
1
2
3
4
5
6
7
8
9
10
11
([1]import osc random)
([2]import* link-time)

([3]def *clock* ([14]clock true)
        *oscout* ([4]osc/connect 'localhost' 9000)
        *oscin* ([9]osc/listen 9000))

([10]trace ([11]osc/recv! '/time' 'f'))

([5]osc/send '/time'
    ([8]random/num ([12]every 0.5)))