2008-12-22 01:37:00 +00:00
h1. "textmate-supercollider":http://github.com/rfwatson/textmate-supercollider
A "SuperCollider":http://supercollider.sourceforge.net bundle for "TextMate":http://www.macromates.com.
2008-12-22 11:45:23 +00:00
!http://farm4.static.flickr.com/3214/3005708965_4b6122cc66.jpg!:http://farm4.static.flickr.com/3214/3005708965_4b6122cc66_b.jpg
2008-12-22 01:37:00 +00:00
2009-01-04 23:52:15 +00:00
h2. Requirements
A "recent build":http://sourceforge.net/projects/supercollider of SC (>= 3.3 alpha)
2009-01-17 15:34:18 +00:00
h2. Installation
h3. With git
* @mkdir -p ~/Library/Application\ Support/TextMate/Bundles@
* @cd ~/Library/Application\ Support/TextMate/Bundles@
* @git clone git://github.com/rfwatson/supercollider-tmbundle.git "SuperCollider.tmbundle"@
* @osascript -e 'tell app "TextMate" to reload bundles'@
h3. Without git
* @mkdir -p ~/Library/Application\ Support/TextMate/Bundles@
* @cd ~/Library/Application\ Support/TextMate/Bundles@
* @wget http://github.com/rfwatson/supercollider-tmbundle/tarball/master@
* @tar zxf rfwatson-supercollider-tmbundle*.tar.gz@
* @rm rfwatson-supercollider-tmbundle*.tar.gz@
* @mv rfwatson-supercollider-tmbundle* SuperCollider.tmbundle@
* @osascript -e 'tell app "TextMate" to reload bundles'@
h3. After installing
* Open TextMate and select 'SuperCollider' bundle
* Press CMD-SHIFT-F1 to complete installation.
2008-12-22 01:37:00 +00:00
h2. Key controls
2008-12-22 02:12:34 +00:00
* @ENTER@<br/>Execute current selection/line
2008-12-22 01:37:59 +00:00
2008-12-22 02:12:34 +00:00
* @CTRL-PERIOD@<br/>
Stop server
2008-12-22 01:37:59 +00:00
2008-12-22 02:12:34 +00:00
* @CMD-k@<br/>
recompile class library
2008-12-22 01:37:59 +00:00
2008-12-22 02:12:34 +00:00
* @CMD-d@<br/>
Help
2008-12-22 01:37:59 +00:00
2008-12-22 02:12:34 +00:00
* @CMD-j@<br/>
Open class definition
2008-12-22 01:37:59 +00:00
2008-12-22 02:12:34 +00:00
* @CMD-y@<br/>
Implementations of
2008-12-22 01:37:59 +00:00
2008-12-22 02:12:34 +00:00
* @CMD-Y@<br/>
References to
2008-12-22 01:37:59 +00:00
2008-12-22 02:12:34 +00:00
* @CMD-?@<br/>
Post window to front
2008-12-22 01:37:59 +00:00
2008-12-22 02:12:34 +00:00
* @CMD-SHIFT-C@<br/>
Clear post window
2008-12-22 01:37:59 +00:00
2008-12-22 02:12:34 +00:00
* @CMD-ALT-CTRL-S@<br/>
Switch to SuperCollider mode
2008-12-22 01:37:00 +00:00
2008-12-22 01:42:09 +00:00
<br/>
2008-12-22 02:12:34 +00:00
*plus* various snippets - check the bundle.
2008-12-22 01:37:00 +00:00
2009-01-17 15:34:18 +00:00
h2. Limitations
2008-12-22 01:37:00 +00:00
2009-01-17 15:34:18 +00:00
TextMate does not handle .rtf documents. So .rtf files will have to be copy-and-pasted into .sc text files. This is not a problem for classes.
2008-12-22 01:37:00 +00:00
2009-01-17 15:34:18 +00:00
CMD-period cannot be programmed in TextMate, so to stop audio output use CTRL-period instead
2008-12-22 01:37:00 +00:00
2009-01-17 15:34:18 +00:00
Class lib can only currently be recompiled from within TextMate (CMD-K) if there's been no previous error compiling it. Recompile from within SC in that case
2008-12-22 01:37:00 +00:00
h2. Notes
2008-12-22 01:42:09 +00:00
I've extracted the underlying code to allow control of SC.app from any command line application.<br/>"sc3ctrl on github":http://github.com/rfwatson/sc3ctrl
2008-12-22 01:37:00 +00:00
h2. Contact me
2008-12-28 21:04:35 +00:00
Via "github":http://github.com/rfwatson