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.

Wave field synthesis composers workshop

Wave field synthesis composers workshop

Workshop on creating unique and interactive sonic spaces with WFS


Three-day workshop exploring technical and musical concerns when using wave field synthesis. Featuring The Game of Life’s 192-loudspeaker mobile Wave Field Synthesis system (WFS). The workshop is hosted by Wouter Snoei en Ji Youn Kang.

 

Wave Field Synthesis is a technique for distributing sound through space based on physical law, the Huygens principle, applied to sound. The WFS system from the Game of Life foundation is the only portable system in the world, consisting of 192 speakers set up in a square of say 10 by 10 meters. Amazingly, it is possible to move sounds outside the square of speakers, up until 200 meters away. The interface for the system is very capable of working with sounds algorithmically or draw movements with a mouse or pen, registering the speed of movement, thus enabling a very precise and organic way of composing. The worksop will introduce the principle of WFS, working with the system,  including the possibility for real-time design of sounds. Although the system’s software is based on SuperCollider, it is not necessary to know about SuperCollider to work with the system’s software.

Nov 30. Introduction to technology and software for real-time control and composition 19.00 – 22.00 hrs.

Dec 1. Composition masterclass 11.00 – 14.00 hrs and 15.00 – 18.00 hrs.

Dec 2. Hands-on practice and presentation of the workshop ideas 12.30 – 16.00 hrs and 17.00 – 19.00 hrs.

€ 40 introduction (Nov 30th), € 120 for 3 days.

Discount price € 80 for 3 days, available for students and members of Geneco and C96 (to be mentioned in the registration form at “Affiliation of School or Institute”).

You can register through this registration form: http://www.steim.org/steim/event_registration.php?event=473

 

Some low-cost lodging may be available for those coming from outside of Amsterdam.
More info about WFS and The Game of Life: http://gameoflife.nl/
The workshop is part of the Wavefields festival, more info: http://www.100jaargeneco.nl/wavefields/

Address: OT 301, Overtoom 301, Amsterdam

http://ot301.nl/

http://maps.google.nl/maps?q=Overtoom+301+Amsterdam&oe=utf-8&client=firefox-a&gl=nl&t=m&z=16&vpsrc=0

Wave Field Synthesis (WFS) is a sound production technology designed specifically for spatial audio rendering. Virtual acoustic environments are simulated and synthesised using large numbers of loudspeakers. The innovation of this technology is that sound can appear to emanate from desired virtual starting points, and then move through space in many possible defined spatial pathways. The WFS system from The Game of Life consists of 192 speakers, which are arranged in a square formation of 10 by 10 meters. Within this formation sounds can be composed to move within this square space, however the interesting point is that it is also possible to move sounds outside of this loudspeaker square. So the question is what makes this phenomenon possible considering the loudspeakers are all physically directed inwards.

Sound waves can be compared by analogy to concentric water waves. Suppose one throws a stone into the water. At the point where the stone makes contact with the water surface, spherical waves are created. Imagine that these waves were to encounter a series of boundary points, which consisted of a series of poles, then behind these poles new small waves would emerge. If these poles were placed equidistant from each other, then these small waves would eventually reform into the original wave again. The WFS system works in a similar fashion. Instead of poles in water, our sound waves encounter boundary points of individual loudspeakers placed equidistant from each other. The composer can ‘throw’ their sounds into the space like stones into the water. Using specially designed software, the composer can programme sounds to move in space and to follow many possible trajectory’s. A sound could appear to originate from a fixed point and remain there or it could be programmed to move in patterns within and outside the square formation of the loudspeaker arrays. This possibility of being able to move sounds ‘inside’ and ‘outside’ the direct listening environment offers endless creative opportunities for the artist. The composer can also choose to have sound events manifest physically both inside and outside the speaker array formation. For example, it would be possible to render the sound of thunder rumbling in the far off distance just as one would experience it in nature! This can be accomplished by simply reproducing the appropriate sound pressure level to evoke such a sonic environment in the loudspeaker square. The ‘outer’ sound waves then are reconstructed by multiple loudspeakers. Conventional sound reproduction techniques like stereo and surround suggest spatial movements, by perceptually tricking one’s brain using knowledge informed by principles of psychoacoustics.

WOUTER SNOEI
Wouter Snoei (1977) studied at the Institute of Sonology (Royal Conservatoire of The Hague). He worked in various fields of music practice, all involving electronic music. Wouter was sound director in several performances of electro-acoustic pieces by Luigi Nono, John Cage and Gérard Grisey. He works regularly with Slagwerkgroep Den Haag, ASKO Kamerkoor and VocalLab. Wouter also performed with Jasper Blom and other jazz artists at the North Sea Jazz festival, and as a dance producer in many Dutch club venues.
In the past few years Wouters focus has shifted more and more towards composition and performance of solo live electronics and electro-acoustic music, adding live control as part of electronic composition. His recent piece Particles for reed instruments and live electronics was performed by Calefax Reedquintet in 2007. Furthermore Wouter is involved as composer and developer of Wave Field Synthesis, a spatial sound system involving 192 loudspeakers placed around an audience, and as a teacher at the Utrecht School of Arts and the Royal Conservatoire of The Hague. BVHaast released a CD entitled Tactile with a cross-section of his work in april 2009.
http://www.woutersnoei.nl/

JI YOUN KANG
She was born in Seoul, South Korea in 1977. She studied Music Composition at the Chu-Gye University of the Arts from 1998 to 2002 and was taught by Yong Shil Park. In 2003 she also continued studying as a research student in the Computer Music Department at Han-Yang University. At that time, she joined the ‘Super Jang-Go’ project, rebuilding an instrument to an electronic one using sensors and MSP.

She moved to the Netherlands in 2006, and in 2008 she acheived her master’s degree in Sonology 2nd phase in the Royal Conservatoire in Hollands under Paul Berg, and  expanded her knowledge in Electro-Acoustic music and Music composition. From 2009 to 2011, she continued studying Composition at Conservatorium van Amsterdam under Wim Henderickx and Jorrit Tamminga, where she achieved her Master’s degree and explored more for composing instruments and electronics. She as well composes for purely instrumental music; her piece for the project with the Nieuw Ensemble, ‘Enfolding Plane’ shows her reinterpretation of her own tape piece later translated into the instrumental music.

Most of her pieces have been written based on the Korean traditional music, especially ritual and folk music, trying to acheive her own musical colors and language that are expressed by computer generated sounds and multichannel system. Upon the aims, she composed a series of Electronic music pieces ‘Nea-Rim Gut,’ a representitive Korean shamanic ritual, and 9 pieces for the Wave Field Synthesis System (192 loudspeakers). Her pieces have been played in many different places and festivals including the Gaudeamus music week, Sonic Acts in the Netherlands, and Synthesis in France.

She is also working with different composers as a sound designer and a music technician, creating electronic patches and sounds for their compositions. Currently she is working as a freelancer and as a research associated in Sonology.
http://www.kingeve.com/

MacCsound 1.5

오랜동안 Csound를 놓고 있었는데 MacCsound가 업데이트 된지 몰랐네요.

2006년 이후로 개발이 중단되어 시스템이 업그레이드 되면서 더 사용하기 힘들었는데

좋은 소식입니다. 이미 아시는 분들도 계시겠지만 ^^;

다운로드 사이트 입니다.

http://www.csounds.com/matt/d+d.html