Supercollider 3.5 Beta Second!

After one week of releasing SC3.5 beta, the second version of 3.5 beta was released at 21st of Jan.

I haven’t tried yet, but there are the bug lists fixed.

Here is the information;

one week after the first beta, we’ve uploaded a second beta release. is
contains some fixes to bugs. please test this release as good as possible and
report bugs to the sc-dev list or to the bug tracker at
https://sourceforge.net/tracker/?group_id=54622.

source tarballs:
http://sourceforge.net/projects/supercollider/files/Source/3.5-
beta2/SuperCollider-3.5-beta2-Source-linux.tar.bz2
http://sourceforge.net/projects/supercollider/files/Source/3.5-
beta2/SuperCollider-3.5-beta2-Source.tar.bz2

osx package (ia32/x86_64, requires at least 10.5):
http://sourceforge.net/projects/supercollider/files/Mac%20OS%20X/3.5-
beta2/SuperCollider-3.5-beta2-10.5.dmg

git repository (3.5 branch):
git://supercollider.git.sourceforge.net/gitroot/supercollider/supercollider

 

changes since beta1:

Jakob Leben (4):
sclang: convert libsclang into a static library
qtcollider: define primitives without the use of static initialization
qtcollider: declare factories without the use of static initialization
class library: enhance GUI redirection

James Harkins (1):
Fix Ppar and many other patterns that change ~delta in the output event

Jonatan Liljedahl (6):
fix .app bundling on non-Qt builds on OSX
MIDIIn.schelp: fix broken links to UsingMIDI     (cherry picked from
commit 04f754b7cee3abb987f460de3c2edf92746cfd
SCDoc: avoid some uses of pseudo-methods     (cherry picked from commit
621d485f2c4edc0229ba9ff5949203d2956712e0)
Boolean: fix help file, add asInteger and binaryValue
subclassResponsibility
Improve setting of current SC version.
Add 10.5 compatible DS_Store to DMG (thanks redFrik)

Julian Rohrhuber (1):
iprove ProxySpace helpfile

Miguel Negrão (1):
class library: fix Font bug

Scott Wilson (3):
Bugfix for MIDIFunc
Doc correction
Workaround for HelpBrowser find in Cocoa

Tim Blechmann (13):
class library: osx – use cocoa gui if available, qt otherwise
class library: osx – evaluate startup files before generating gui
windows
external libraries: update submodule (sse2 bugfix)
class library: fix deprecated Panner and XFade methods
Help: fix typo
cmake build system: default to RelWithDebInfo
Help: fix softclip example
class library: improve error handling of binary operators
trivial: remove trailing whitespaces from class library and help source
class library: PlusFreqScope – fix *response for shm scope
class library: Filter-scopeResponse – improve cleanup
class library: Filter-scopeResponse – improve server initialization
class library: Filter-scopeResponse – remove debug messages

crucialfelix (1):
moving qt extensions files from Common to QtCollider

redFrik (2):
iphone: File.exists temporary fix for failing primitive, fixed shared
memory, removed string extension loadPath
iphone: a few fixes to the xcode projects

 

SuperCollider 3.5 Beta Released

After 2 years of Supercollider 3.4, finally the beta version of SuperCollider 3.5 was released yesterday.

I have been compiling SC3 for a while, so that I have known what has been changed. But for the official version users, this might be fresh to experience.

The most noticeable change is the gui. (surely noticeable)

Now this gui is QT based, not cocoa based.

For instance, this is the help brower (Help.gui, or cmd+d in osx)

I personally dislike the white background, but now it can be fixed by correcting css file. This might be very comfortable for a user to search for their need. Especially when searching for a UGen, it also gives you all class definition and examples below, of course together with the description(explanation) of the Ugen itself.

Another nice part of the help browser is the auto-completion. When you type something on the search window, it will show the result of what you are typing in. It might be an easier for a person like me who forgets the name of the ugen or class name very often.

The startup file on ~/Library/Application Support/SuperCollider/ should be changed to ‘startup.scd’ if you have ‘startup.rtf’ file.

I don’t remember by heart what important changes are there for now.

After I use this beta version for a while, I will update the post.

 

Oh, this is the download links and comment from the mailing list.

if you find a bug, please report to the mailing lists and/or file a bug report
at https://sourceforge.net/tracker/?group_id=54622. the better the description
and the easier it is to fix the bug, so providing a simple reproducer or a
minimal test case will help a lot.

source tarballs:
http://sourceforge.net/projects/supercollider/files/Source/3.5beta1/SuperCollider-3.5beta1-
Source-linux.tar.bz2
http://sourceforge.net/projects/supercollider/files/Source/3.5beta1/SuperCollider-3.5beta1-
Source.tar.bz2

osx package (ia32/x86_64, requires at least 10.5):
http://sourceforge.net/projects/supercollider/files/Mac%20OS%20X/3.5beta1/SuperCollider-3.5beta1-10.5.dmg

git repository (3.5 branch):
git://supercollider.git.sourceforge.net/gitroot/supercollider/supercollider

Supercollider and Vim (SCVim) in OSX

After a while struggling with the supercollider editor, which for me has an issue with lots and lots of windows floating around the window, I decided to move to another editing environment to code SuperCollider.There are several options for this, such as using TextMate with sc bundle(https://github.com/sbl/scmate.tmbundle), but I wanted to have a more simple platform.

Then there was ”VIM’ and SCVim. (for more options : http://supercollider.sourceforge.net/wiki/index.php/Systems_interfacing_with_SC)

I will explain a bit how to make a proper install in OSX. (Lion, 10.7.2 at the moment of this posting)
First of all, I normally compile SC from the latest source using git. (for more information about download the latestSC source codes: http://supercollider.sourceforge.net/developers/)
In the source folder, there already is the editor source for SCVIM in the editor folder.
Go to the folder /yourSCSourcedirectory/editor/scvim.
If you want to compile scvim seperate, using those command

cmake ..
make
sudo make install

Then your scvim is located in /usr/local/bin/scvim (to see where your scvim is located: type this in terminal ‘which scvim’)
I assume that your SuperCollider is located in /Applications/SuperCollider, which by default this newly compiled supercollider should be there,
scvim is working by an application called ‘sclangpipe_app,’ which makes possible to run sclang.
When you run scvim, it automatically opens up this sclangpipe_app and this should be able to link all your SCClassLibrary and library files.
In your folder, you see the library files such as libsclang.dylib.
(In the official SuperCollider, you don’t see this so that you can skip this part) and those files should be symlinked to sclangpipe.
To do so, type this in your terminal

cd /usr/local/lib; sudo ln -s <build-dir>/SuperCollider/lib* 

There is another problem with scvim + sclangpipe_app.

When you run scvim on your terminal, your sclangpipe_app is not entirely loading SCClassLibrary, which somehow doesn’t work properly.
So that you need to execute sclangpipe_app seperate from scvim.
In order to do so, I use shell script that automaticallt does this job.
This is the example.

#!/bin/bash
open -a "iTerm.app"
  killall sclang
  /usr/local/bin/sclangpipe_app -l /Applications/SuperCollider&
  sleep 0.5
  open -a "iTerm.app" /usr/local/bin/scvim

I saved this file as ‘scvimsc’ and did ‘chmod +x scvimsc’ to make it executable, and put it into the folder /usr/local/bin/ .
Then what you need to do is in terminal, just type

scvimsc

Then it will automatically open both scvim and sclangpipe_app in a proper way.

 

Optional use of iIerm2 for scvim

I use iTerm2.app(free application) instead of default osx terminal, because I like the way it can do window management.
I wanted to put both ‘post window’ and ‘editing window’ on ‘one window’ so that I do not need to have several windows floating around.
In order to do that, you need to use apple script instead of shell script to set up this.
This is the apple script that I use.

tell application "iTerm"
activate
  -- my project workspace
  set myterm to (make new terminal)
  tell myterm
  launch session "sclang"
  set number of rows to 150
  set number of columns to 40
  tell the last session to write text "killall sclang"
  tell the last session to write text "/usr/local/bin/sclangpipe_app -l /Applications/SuperCollider"
  tell i term application "System Events" to keystroke "d" using command down
  tell the last session to write text "scvim"
  set number of columns to 100
  set number of rows to 10
  end tell

I saved it as an application called ‘iscvim.app’ (from the apple script editor) and put it into /Applications/
So that I can only execute this application to open up iTerms, and scvim, and sclang together in one window!

In theory, this compiling process should be all to make scvim to happen. But surely there is an issue with library links.
But for now all are working fine with some lines on terminal, and can be solved with premade script to make things work.

A nice part of using vim is not only ‘window management’ but also using plugin for VIM. such as snippets for supercollider.
I will get back to this subject some day.
any remarks and commends and questions are welcome.