Setting up SuperCollider with TextMate
My new Mac arrived and one of the first things I wanted to do was set up SuperCollider (SC). Installing SC on a Mac is really easy - it's just a regular .dmg installer. Once it's in your Applications folder you're good to go.
But editing in the SC window isn't much fun -- you really need a decent code editor / file manager / syntax highlighter. I took Gene's advice (I've been doing that a lot recently) and installed TextMate. There are a few hoops you have to jump (or ought to jump?) when setting this up, so in this post I want to explain the process I went through -- how to get TextMate to talk to SC from the perspective of an ex-Windows user.
![]() |
| The TextMate logo |
TextMate SuperCollider bundle
TextMate calls it's plugins 'Bundles'. To control SC 3.5 from TextMate, you'll need to install the SC TextMate bundle from Rob Watson, which gives you syntax highlighting and SC control from within TextMate.
(EDIT: I've now switched to Stephen Lumenta's TextMate bundle, similar, but more up-to-date.)
You'll notice from the readme (scroll down) that there are two ways to install - with git or without git. Being as I am a brand-new convert to a brand new Mac, I didn't yet have git (or much else) installed. However, since I will be using openFrameworks, and it's addons are almost exclusively delivered in git, it makes sense to tackle that upfront, and install git now.
HomeBrew
Again, taking Gene's advice, I first installed HomeBrew. HomeBrew is a console-based package manager which vastly simplifies and standardizes the setup process for developer / admin utilities and software (such as git). A quick glance at some of the Terminal commands it gives you will give you a sense of what it does for you (the Mac 'console' is called Terminal).
I'm already used to using a package manager called NuGet for Visual Studio, and so I'm well-versed in the benefits. A package manager helps you install things quickly and easily using a standard configuration (directory structure, file paths etc). This saves you following instructions to set up each individual package you want to use, and potentially making common configuration mistakes. The only downside is you have to get HomeBrew set up in the first place, but in the long run it'll save a lot of time.
The HomeBrew installation page provides a Terminal string which you can use to install HomeBrew. Once you've done that, you are ready to install git. But as HomeBrew itself will tell you once it's installed, you should run brew doctor from the Terminal before attempting any new package installation. This command will inform you of any problems or irregularities found in your existing setup. I had to clear up a couple of issues straight off the bat, but there wasn't anything that a quick google search couldn't handle.
When HomeBrew is happy with your configuration, it will tell you:
Your system is raring to brew.
Git
With HomeBrew ready to go, all you have to do is type into the Terminal:
brew install git
HomeBrew then downloads and installs git. Easy.
The last step is to personalise git and tell it to use your GitHub account when your logged on to your computer.
TextMate SC bundle
With git installed, you can now install the TextMate bundle mentioned earlier, by following the git install option.
Once that's done, it's easy to test whether the bundle is correctly integrated. Just launch SC and TextMate, and in TextMate open a new editor window. If you haven't already done so, go to the menu option:
Bundles > SuperCollider > Complete installation
It should give you a screen telling you the installation is complete. Then switch the language from 'Plain Text' to 'SuperCollider' at the bottom of your code editor window, and test with something simple like:
"hello".postln
If everything worked, you should see "hello" printed to the SC console. You are now ready to go with a decent editor talking directly to SC!
- Tags:
- Git
- Mac
- HomeBrew
- SuperCollider
- Rob Watson
- Jaaga Residency (17)
- Jaaga (15)
- I-Park Residency (12)
- Process (12)
- V4W (10)
- Personal Development (10)
- Installation (10)
- VVVV (9)
- Field Research (8)
- Freemote Threshold (7)
- SuperCollider (7)
- Long (7)
- Freemote (7)
- Reflections (6)
- Audio / Visual (6)
- CAC Residency (6)
- Arduino (5)
- Tutorial (5)
- Influence (5)
- Max/MSP (5)
- Jaaga Sound and Lights (4)
- openFrameworks (4)
- Motor (4)
- Kinect (4)
- Projection Mapping (4)
- Portable Projection (4)
- Gravity (4)
- michael fairfax (3)
- Roman Moshensky (3)
- Rocks (3)
- Jee Soo Shin (3)
- Land Art (3)
- Picture This (2)
- Phenomenology (2)
- Git (2)
- Measure (2)
- Projection Bombing (2)
- Presentation (2)
- Creative Context (2)
- Natural Textures (2)
- Tess Martin (2)
- Scott Wilson (2)
- Alpha-Ville (2)
- Review (2)
- Untitled (Picture This) (2)
- Ralph Crispino (2)
- Cosm (2)
- Mac (2)
- Boaz Aharonovitch (2)
- C# (2)
- Mobile Projection (2)
- Memo Akten (2)
- Judith Stein (2)
- Generative Art (2)
- 3D (2)
All posts
May 2013
October 2012
September 2012
- Residency Begins at CAC Troy
- Installation Sketch at Open Studios
- Roman Moshensky's Mirror World
- Open Studios at I-Park
- Perception as a Creative Process
August 2012
- The I-Park Graveyard
- Scoping Out the Land
- Residency Begins at I-Park
- Residency at Contemporary Artists Center
July 2012
June 2012
- Stephen Lumenta's SC TextMate Bundle
- Adding OF Addons (ofxSuperCollider)
- Setting up SuperCollider with TextMate
- Switching to MacBook Pro
- QuickRef for SuperCollider
May 2012
- Getting Started with SuperCollider
- Getting Started with OpenFrameworks
- Overtones, Harmonics and Additive Synthesis
- Visit to Cold Spring
April 2012
January 2012
December 2011
- The Final Exhibition
- Playing with Particles
- Responsive Granular Sound
- Kinecting to the Network
- First Working Day
- Designs for Freemote
- Freemote Utrecht
- Untitled - Picture This (2011)
October 2011
- The Wider Context?
- Trading Time for Space
- Talk at Goldsmiths Digital Studios
- Intro to Marius Watz
- Practical Guide to Generative Art
September 2011
August 2011
June 2011
May 2011
April 2011
- Cosm, Collision Detection and Volume
- Vector-Base Amplitude Panning
- Intuition, and Direction of the Project
- Reflections: What is Jaaga?
- Going Further with Ambisonics
- Introduction to Ambisonics
- Surface (2010)
March 2011
- Servo Motors and Transistors
- Spinning a 12V DC Motor
- Spinning a 5V DC Motor
- First Week at Jaaga
- Presentation Style
- Beginning the Jaaga Fellowship
January 2011
November 2010
October 2010
September 2010
