fix README and bug in SC3Controller.sc
This commit is contained in:
parent
e032ebcf43
commit
a427cec5c5
6
README
6
README
|
@ -23,7 +23,7 @@ sc3ctrl is a command line utility which uses OpenSoundControl to control
|
||||||
SuperCollider3.app in OSX.
|
SuperCollider3.app in OSX.
|
||||||
|
|
||||||
Consists of a small CoreFoundation bundle written in Objective-C and a
|
Consists of a small CoreFoundation bundle written in Objective-C and a
|
||||||
single SuperCollider class.
|
single SuperCollider class.
|
||||||
|
|
||||||
Binary: http://www.trapdoor1.net/sc3/sc3ctrl.tar.gz
|
Binary: http://www.trapdoor1.net/sc3/sc3ctrl.tar.gz
|
||||||
(as yet untested on anything other than 10.5)
|
(as yet untested on anything other than 10.5)
|
||||||
|
@ -31,8 +31,8 @@ Binary: http://www.trapdoor1.net/sc3/sc3ctrl.tar.gz
|
||||||
Source code: http://github.com/rfwatson/sc3ctrl
|
Source code: http://github.com/rfwatson/sc3ctrl
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Binary Installation
|
||||||
============
|
===================
|
||||||
|
|
||||||
1) Drag the bundle into a suitable location on your machine
|
1) Drag the bundle into a suitable location on your machine
|
||||||
(e.g. /Application/Utilities/)
|
(e.g. /Application/Utilities/)
|
||||||
|
|
|
@ -437,6 +437,8 @@
|
||||||
567168010EFEF2A50047EA2B /* PBXTextBookmark */ = 567168010EFEF2A50047EA2B /* PBXTextBookmark */;
|
567168010EFEF2A50047EA2B /* PBXTextBookmark */ = 567168010EFEF2A50047EA2B /* PBXTextBookmark */;
|
||||||
567168020EFEF2A50047EA2B /* PBXTextBookmark */ = 567168020EFEF2A50047EA2B /* PBXTextBookmark */;
|
567168020EFEF2A50047EA2B /* PBXTextBookmark */ = 567168020EFEF2A50047EA2B /* PBXTextBookmark */;
|
||||||
567168030EFEF2A50047EA2B /* PBXTextBookmark */ = 567168030EFEF2A50047EA2B /* PBXTextBookmark */;
|
567168030EFEF2A50047EA2B /* PBXTextBookmark */ = 567168030EFEF2A50047EA2B /* PBXTextBookmark */;
|
||||||
|
567168050EFEF4F20047EA2B /* PBXTextBookmark */ = 567168050EFEF4F20047EA2B /* PBXTextBookmark */;
|
||||||
|
567168060EFEF4F20047EA2B /* PBXTextBookmark */ = 567168060EFEF4F20047EA2B /* PBXTextBookmark */;
|
||||||
};
|
};
|
||||||
sourceControlManager = 567161F90EFD3E860047EA2B /* Source Control */;
|
sourceControlManager = 567161F90EFD3E860047EA2B /* Source Control */;
|
||||||
userBuildSettings = {
|
userBuildSettings = {
|
||||||
|
@ -2753,9 +2755,9 @@
|
||||||
};
|
};
|
||||||
5671676A0EFEDC650047EA2B /* README */ = {
|
5671676A0EFEDC650047EA2B /* README */ = {
|
||||||
uiCtxt = {
|
uiCtxt = {
|
||||||
sepNavIntBoundsRect = "{{0, 0}, {1412, 1104}}";
|
sepNavIntBoundsRect = "{{0, 0}, {1412, 1120}}";
|
||||||
sepNavSelRange = "{968, 0}";
|
sepNavSelRange = "{1240, 0}";
|
||||||
sepNavVisRange = "{443, 992}";
|
sepNavVisRange = "{829, 919}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
5671676D0EFEDC740047EA2B /* PBXTextBookmark */ = {
|
5671676D0EFEDC740047EA2B /* PBXTextBookmark */ = {
|
||||||
|
@ -2783,7 +2785,7 @@
|
||||||
fRef = 5671676A0EFEDC650047EA2B /* README */;
|
fRef = 5671676A0EFEDC650047EA2B /* README */;
|
||||||
name = "README: 68";
|
name = "README: 68";
|
||||||
rLen = 0;
|
rLen = 0;
|
||||||
rLoc = 2119;
|
rLoc = 2133;
|
||||||
rType = 0;
|
rType = 0;
|
||||||
vrLen = 1390;
|
vrLen = 1390;
|
||||||
vrLoc = 0;
|
vrLoc = 0;
|
||||||
|
@ -2823,7 +2825,7 @@
|
||||||
fRef = 5671676A0EFEDC650047EA2B /* README */;
|
fRef = 5671676A0EFEDC650047EA2B /* README */;
|
||||||
name = "README: 68";
|
name = "README: 68";
|
||||||
rLen = 0;
|
rLen = 0;
|
||||||
rLoc = 2119;
|
rLoc = 2133;
|
||||||
rType = 0;
|
rType = 0;
|
||||||
vrLen = 1390;
|
vrLen = 1390;
|
||||||
vrLoc = 0;
|
vrLoc = 0;
|
||||||
|
@ -3846,6 +3848,26 @@
|
||||||
vrLen = 420;
|
vrLen = 420;
|
||||||
vrLoc = 0;
|
vrLoc = 0;
|
||||||
};
|
};
|
||||||
|
567168050EFEF4F20047EA2B /* PBXTextBookmark */ = {
|
||||||
|
isa = PBXTextBookmark;
|
||||||
|
fRef = 5671676A0EFEDC650047EA2B /* README */;
|
||||||
|
name = "README: 35";
|
||||||
|
rLen = 0;
|
||||||
|
rLoc = 1240;
|
||||||
|
rType = 0;
|
||||||
|
vrLen = 919;
|
||||||
|
vrLoc = 829;
|
||||||
|
};
|
||||||
|
567168060EFEF4F20047EA2B /* PBXTextBookmark */ = {
|
||||||
|
isa = PBXTextBookmark;
|
||||||
|
fRef = 567167760EFEDCB50047EA2B /* install.rb */;
|
||||||
|
name = "install.rb: 14";
|
||||||
|
rLen = 0;
|
||||||
|
rLoc = 400;
|
||||||
|
rType = 0;
|
||||||
|
vrLen = 420;
|
||||||
|
vrLoc = 0;
|
||||||
|
};
|
||||||
8DD76F960486AA7600D96B5E /* sc3ctrl */ = {
|
8DD76F960486AA7600D96B5E /* sc3ctrl */ = {
|
||||||
activeExec = 0;
|
activeExec = 0;
|
||||||
executables = (
|
executables = (
|
||||||
|
|
|
@ -216,7 +216,7 @@
|
||||||
<key>_historyCapacity</key>
|
<key>_historyCapacity</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>bookmark</key>
|
<key>bookmark</key>
|
||||||
<string>567168030EFEF2A50047EA2B</string>
|
<string>567168060EFEF4F20047EA2B</string>
|
||||||
<key>history</key>
|
<key>history</key>
|
||||||
<array>
|
<array>
|
||||||
<string>567167AA0EFEE3560047EA2B</string>
|
<string>567167AA0EFEE3560047EA2B</string>
|
||||||
|
@ -272,8 +272,6 @@
|
||||||
<key>Layout</key>
|
<key>Layout</key>
|
||||||
<array>
|
<array>
|
||||||
<dict>
|
<dict>
|
||||||
<key>BecomeActive</key>
|
|
||||||
<true/>
|
|
||||||
<key>ContentConfiguration</key>
|
<key>ContentConfiguration</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>PBXBottomSmartGroupGIDs</key>
|
<key>PBXBottomSmartGroupGIDs</key>
|
||||||
|
@ -359,6 +357,8 @@
|
||||||
<key>Dock</key>
|
<key>Dock</key>
|
||||||
<array>
|
<array>
|
||||||
<dict>
|
<dict>
|
||||||
|
<key>BecomeActive</key>
|
||||||
|
<true/>
|
||||||
<key>ContentConfiguration</key>
|
<key>ContentConfiguration</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>PBXProjectModuleGUID</key>
|
<key>PBXProjectModuleGUID</key>
|
||||||
|
@ -376,7 +376,7 @@
|
||||||
<key>_historyCapacity</key>
|
<key>_historyCapacity</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>bookmark</key>
|
<key>bookmark</key>
|
||||||
<string>567168020EFEF2A50047EA2B</string>
|
<string>567168050EFEF4F20047EA2B</string>
|
||||||
<key>history</key>
|
<key>history</key>
|
||||||
<array>
|
<array>
|
||||||
<string>567164430EFE8E370047EA2B</string>
|
<string>567164430EFE8E370047EA2B</string>
|
||||||
|
|
|
@ -4,14 +4,9 @@ SC3Controller {
|
||||||
classvar nodes;
|
classvar nodes;
|
||||||
|
|
||||||
*initClass {
|
*initClass {
|
||||||
var postToFront;
|
|
||||||
nodes = List[];
|
nodes = List[];
|
||||||
|
|
||||||
Platform.case(\osx) {
|
Platform.case(\osx) {
|
||||||
postToFront = {
|
|
||||||
Document.listener.front;
|
|
||||||
};
|
|
||||||
|
|
||||||
StartUp.add {
|
StartUp.add {
|
||||||
this.addListeners;
|
this.addListeners;
|
||||||
}
|
}
|
||||||
|
@ -19,7 +14,12 @@ SC3Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
*addListeners {
|
*addListeners {
|
||||||
var node;
|
var node, postToFront;
|
||||||
|
|
||||||
|
postToFront = {
|
||||||
|
Document.listener.front;
|
||||||
|
};
|
||||||
|
|
||||||
if(nodes.isEmpty) {
|
if(nodes.isEmpty) {
|
||||||
node = OSCresponderNode(nil, '/sc3ctrl/cmd') { |t, r, msg|
|
node = OSCresponderNode(nil, '/sc3ctrl/cmd') { |t, r, msg|
|
||||||
msg[1].asString.interpretPrint;
|
msg[1].asString.interpretPrint;
|
||||||
|
|
Loading…
Reference in New Issue