repo.or.cz
/
supercollider.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
remove a crufty folder that's done nothing for quite a while...
[supercollider.git]
/
build
/
SCClassLibrary
/
JITLib
/
ProxySpace
/
extDispatch.sc
blob
07c87a6fa5deec0383262d76813c46219bfbe0aa
1
+ Object {
2
encodeForOSC {
3
^this.asCompileString.asSymbol
4
}
5
decodeFromOSC {
6
^this
7
}
8
}
9
10
+ SimpleNumber {
11
encodeForOSC {
12
^this
13
}
14
}
15
16
+ RawArray {
17
encodeForOSC {
18
^this // this is a trick. the dispatcher sends the array flat.
19
// currently, sc cannot send arrays via OSC
20
}
21
}
22
+ Symbol {
23
decodeFromOSC {
24
^this.asString.interpret;
25
}
26
}
27
28
+ String {
29
encodeForOSC {
30
^this.asCompileString.asSymbol // otherwise string is indistinguishable
31
}
32
decodeFromOSC {
33
^this.interpret;
34
}
35
}