electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Supercollider
Windows editor
Post new topic   Reply to topic Moderators: v-un-v
Page 1 of 1 [17 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Ludvig



Joined: Jul 25, 2005
Posts: 26
Location: Stockholm - Sweden

PostPosted: Tue May 13, 2008 10:53 am    Post subject: Windows editor Reply with quote  Mark this post and the followings unread

Hey !

I have been getting into supercollider the last few weeks ( or rather psycollider since I'm on windows xp ) and I really enjoy it. It really is a fantastic tool and a rather beautiful language. I like the short and compact statements and how very complex musical ideas can be compressed into just a few lines of code. But... I really dont like the windows editor and since my soundcard ( and some other hardware ) wont work with linux I am stuck with xp for some time. I have tried to find some alternative to the native editor on windows but I havent had any luck. The closest ive come is to be able to use python against the server but it's not the language that i have a problem with, it's the lack of options ( fonts, color, syntax highlighting ) and tabs. So any tips, hints or links would be most welcome. Thanks!
Back to top
View user's profile Send private message
v-un-v
Janitor
Janitor


Joined: May 16, 2005
Posts: 8932
Location: Birmingham, England, UK
Audio files: 11
G2 patch files: 1

PostPosted: Tue May 13, 2008 12:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi Ludvig!

I don't know about the XP version of SC but I do know that many have given up on it- mainly I think because development was slow and buggy- I think.

I reckon that you have probably got three options. Either;

1. Keep working and supporting the PC build, but be prepared for a lot of waiting

2. Get a really cheap secondhand Macintosh, running OS9 or OS X (you can pick up old iMac's for £30- £40 (about $70)

3. Have a go at Chuck instead (or at least for now).

I hope these suggestions help

PS, on my Mac I've also go XP running too. If you've got some spare cash, I can't recommend these Intel-based machines more Very Happy

_________________
ACHTUNG!
ALLES TURISTEN UND NONTEKNISCHEN LOOKENPEEPERS!
DAS KOMPUTERMASCHINE IST NICHT FÜR DER GEFINGERPOKEN UND MITTENGRABEN! ODERWISE IST EASY TO SCHNAPPEN DER SPRINGENWERK, BLOWENFUSEN UND POPPENCORKEN MIT SPITZENSPARKSEN.
IST NICHT FÜR GEWERKEN BEI DUMMKOPFEN. DER RUBBERNECKEN SIGHTSEEREN KEEPEN DAS COTTONPICKEN HÄNDER IN DAS POCKETS MUSS.
ZO RELAXEN UND WATSCHEN DER BLINKENLICHTEN.
Back to top
View user's profile Send private message Send e-mail
Ludvig



Joined: Jul 25, 2005
Posts: 26
Location: Stockholm - Sweden

PostPosted: Tue May 13, 2008 3:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi v-un-v

I really have no idea if the development of psycollider is "slow and buggy" since I've only been using it for a couple of weeks. I havent had any problems with the software or the language so far. It installed like a charm, required no configuration whatsoever and hasnt crashed once. My only problem is that i dont like the editor that comes with it. I could use another texteditor but the big advantage that the psycollider editor has is that you can execute code straight from the editor. On linux i know that there are plugins for emacs and gedit that gives those editors the same ability to run code without having to move it to the supercollider environment. Im sorry if i was unclear about what I wanted.

I have tried chuck but i really prefer supercollider. Also, when I tried it chuck was executed from the commandline so in that case i think that actually using supercollider with two separate editor windows would be a similar work flow ( that is, code is written in one window and executed in another ).

Regarding your second suggestion, i guess i could use an old mac to interface with a supercollider server running on my xp machine. That might not be a bad idea. I have to check out if that is possible. Is that what you meant?

Thanks for your input.
Back to top
View user's profile Send private message
v-un-v
Janitor
Janitor


Joined: May 16, 2005
Posts: 8932
Location: Birmingham, England, UK
Audio files: 11
G2 patch files: 1

PostPosted: Tue May 13, 2008 4:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ludvig wrote:

I really have no idea if the development of psycollider is "slow and buggy" since I've only been using it for a couple of weeks. I havent had any problems with the software or the language so far. It installed like a charm, required no configuration whatsoever and hasnt crashed once. My only problem is that i dont like the editor that comes with it. I could use another texteditor but the big advantage that the psycollider editor has is that you can execute code straight from the editor.


You'll have to excuse me, I too am a bit ropey because I have been doing a degree for the last 3 years. If SC in Windows has improved, that's good news Smile

From what I remember the text editor on Mac is very simple. Textedit? I haven't reinstalled SC since I got my new Intel Mac. SC was on my old Powerbook. In Mac OS9 input was via simpletext. A text editor similar to Notepad. Textedit is a lot more powerful than Notepad.

Ludvig wrote:

I have tried chuck but i really prefer supercollider. Also, when I tried it chuck was executed from the commandline so in that case i think that actually using supercollider with two separate editor windows would be a similar work flow ( that is, code is written in one window and executed in another ).


Yes it's strange but there are people on this forum who prefer Chuck because they say its easier to understand. I otoh, find Chuck not as easy to use as SC! It makes for a colourful world! Smile

Ludvig wrote:


Regarding your second suggestion, i guess i could use an old mac to interface with a supercollider server running on my xp machine. That might not be a bad idea. I have to check out if that is possible. Is that what you meant?


I actually meant just getting an old Mac, because SC runs pretty well on those old machines too. The lack of a GUI (unless you code for one) makes SC much faster. Even on old 603 (pre G3) processors, SC works pretty well. I don't know if you can 'server up' the two machines. As I said I'm a bit out of touch.

Ludvig wrote:

Thanks for your input.


No problem Very Happy

It's nice to see some traffic here.

Please do upload some stuff too. James will be around soon. James is the SC meister! Very Happy

_________________
ACHTUNG!
ALLES TURISTEN UND NONTEKNISCHEN LOOKENPEEPERS!
DAS KOMPUTERMASCHINE IST NICHT FÜR DER GEFINGERPOKEN UND MITTENGRABEN! ODERWISE IST EASY TO SCHNAPPEN DER SPRINGENWERK, BLOWENFUSEN UND POPPENCORKEN MIT SPITZENSPARKSEN.
IST NICHT FÜR GEWERKEN BEI DUMMKOPFEN. DER RUBBERNECKEN SIGHTSEEREN KEEPEN DAS COTTONPICKEN HÄNDER IN DAS POCKETS MUSS.
ZO RELAXEN UND WATSCHEN DER BLINKENLICHTEN.
Back to top
View user's profile Send private message Send e-mail
Ludvig



Joined: Jul 25, 2005
Posts: 26
Location: Stockholm - Sweden

PostPosted: Wed May 14, 2008 1:53 am    Post subject: Reply with quote  Mark this post and the followings unread

I have tried using SC on a mac at school ( I go to uni in Stockholm ) and the implementation is very nice on mac I must say. Loads really fast and is very responsive. I wont be able to buy a new computer for a while, and if I got some money I think I would buy a new soundcard and go for ubuntu on my xp machine.

Since the code is fully portable ( exept for some guistuff ) I wont have to relearn anything if I switch machine in the future. I aim for SC to replace Max/MSP in my workflow and that involves producing sound that I use in a DAW but also creating live environments for improvisation. I havent yet finished any project that is nearly that big ( like a complete live environment ) but if the windows version is slower than the mac and linux version this might not be possible on my current machine. I would build an interface with python or processing ( which I am both familiar with ) and communicate with the server via osc.

What can I say, a colourful world it is!

I will continue to search and learn and hopefully I will be back with some code to share soon.
Back to top
View user's profile Send private message
Ludvig



Joined: Jul 25, 2005
Posts: 26
Location: Stockholm - Sweden

PostPosted: Wed May 14, 2008 1:55 am    Post subject: Reply with quote  Mark this post and the followings unread

Oh and I can't wait to hear what "the SC meister!" has to say on the subject Very Happy
Back to top
View user's profile Send private message
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Wed May 14, 2008 9:00 am    Post subject: Reply with quote  Mark this post and the followings unread

v-un-v wrote:

You'll have to excuse me, I too am a bit ropey because I have been doing a degree for the last 3 years. If SC in Windows has improved, that's good news Smile


Yeah, I think that lately there have been pritty large advances there, I think James (Dewdrop) is involved in that initiative.

Quote:

From what I remember the text editor on Mac is very simple. Textedit? I haven't reinstalled SC since I got my new Intel Mac. SC was on my old Powerbook. In Mac OS9 input was via simpletext. A text editor similar to Notepad. Textedit is a lot more powerful than Notepad.


Notepad++ is a very good programmer's text editor for XP that's free (as in freedom)
http://notepad-plus.sourceforge.net/uk/about.php

Ludvig wrote:

I have tried chuck but i really prefer supercollider. Also, when I tried it chuck was executed from the commandline so in that case i think that actually using supercollider with two separate editor windows would be a similar work flow ( that is, code is written in one window and executed in another ).


Well, there is also the miniAudicle editor for ChucK that has a built in VM but this doesn't matter much to you if you like the SC syntax better.

Quote:

Yes it's strange but there are people on this forum who prefer Chuck because they say its easier to understand. I otoh, find Chuck not as easy to use as SC! It makes for a colourful world! Smile


Yeah. I think the most important factor is the way one thinks, after all; it's your thoughts that will eventually need to be expressed in code so it's easier if those match. I find that ChucK's syntax matches my thoughts better.

Quote:
Regarding your second suggestion, i guess i could use an old mac to interface with a supercollider server running on my xp machine. That might not be a bad idea. I have to check out if that is possible. Is that what you meant?


I think V-un-V was hinting at moving to Mac altogether which I gather used to be the one serious option back when...later Linux was a option but from what I hear SC on Windows should have caught up a lot now.

Quote:
Please do upload some stuff too. James will be around soon. James is the SC meister! Very Happy


James'll groan at the suggestion that XP users should try ChucK instead....

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
v-un-v
Janitor
Janitor


Joined: May 16, 2005
Posts: 8932
Location: Birmingham, England, UK
Audio files: 11
G2 patch files: 1

PostPosted: Wed May 14, 2008 9:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Kassen wrote:


James'll groan at the suggestion that XP users should try ChucK instead....


Very Happy

Well actually me too, but only because I find SC easier to code!

_________________
ACHTUNG!
ALLES TURISTEN UND NONTEKNISCHEN LOOKENPEEPERS!
DAS KOMPUTERMASCHINE IST NICHT FÜR DER GEFINGERPOKEN UND MITTENGRABEN! ODERWISE IST EASY TO SCHNAPPEN DER SPRINGENWERK, BLOWENFUSEN UND POPPENCORKEN MIT SPITZENSPARKSEN.
IST NICHT FÜR GEWERKEN BEI DUMMKOPFEN. DER RUBBERNECKEN SIGHTSEEREN KEEPEN DAS COTTONPICKEN HÄNDER IN DAS POCKETS MUSS.
ZO RELAXEN UND WATSCHEN DER BLINKENLICHTEN.
Back to top
View user's profile Send private message Send e-mail
Ludvig



Joined: Jul 25, 2005
Posts: 26
Location: Stockholm - Sweden

PostPosted: Wed May 14, 2008 9:29 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
Notepad++ is a very good programmer's text editor for XP that's free (as in freedom)
http://notepad-plus.sourceforge.net/uk/about.php


Yes , Notepad++ is very nice and what I was looking for was the option to use a more developed editor like notepad++ but still have the option to execute code line by line or block by block straight from the editor. As is possible with emacs and gedit on linux. That option doesnt seem to exist on xp, or at least I can't find it. I dont know if there are such options on mac , I havent checked.

The problem isnt a big one for me yet since I am still learing the basics but I think I would be uncomfortable working on a big project from the psycollider editor. I will just have to try it and see. What will happen is probably that I will write the code in an editor i prefer like notepad++ or ultraedit and then move it into psycollider. When I get more confident in the language ( and the rookie syntax mistakes gets less frequent ) this will be a more practical sollution. It's just a matter of Ctrl-A Ctrl-C Alt-Tab Ctrl-A Ctrl-V , compared to say compiling it wont be so bad.

On a side note:
I looked around the forums ( I haven't been reading the forums for a while ) and I got the impression that there is some kind of ChucK vs SuperCollider thing going on. Wouldnt the difference mostly be what syntax/paradigm you prefered? I would hardly think that there is much music that you can produce with one that you couldn't translate to the other? Come to think of it, that haven't stopped flamewars on anything else so I guess this is no different. If everyone was using the same language there would probably be arguments about indent style or something.

I for one look forward to learning synthesis tricks from both ChucKistst/ettes and SuperColliderers as well as csounders or whatever.
Back to top
View user's profile Send private message
dewdrop_world



Joined: Aug 28, 2006
Posts: 858
Location: Guangzhou, China
Audio files: 4

PostPosted: Wed May 14, 2008 1:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

Sorry, pretty busy these days, haven't had time to chime in yet.

The windows version has made a lot of progress -- makes my lunch hours at work more productive!

Right now the Python-based editor is locked in. Probably it will take someone with M$ Visual C++ experience to compile an sclang.exe that could be used by emacs (sc-emacs-lisp or scel) or some other editor, with Linux being the model.

I don't have the expertise to do this, I'm afraid.

Re: ChucK vs SC, no, it isn't a flame war (at least, I hope it isn't) -- I have nothing against ChucK -- in fact I think it's a really fascinating tool with a lot of potential, but its focus is different from SC and the capabilities don't fully overlap (that is, some things that are easy in ChucK would be very difficult in SC and SC has some features that would be hard to replicate in ChucK). I'm all for using the right tool for the job, whatever the tool is. If somebody finds that ChucK suits her needs exactly, then I would say, by all means, don't use SC just because I like it!

My gripe is just that whenever audio programming languages would come up for discussion on this board, too often the only answer that people offer is ChucK. So I decided to make a point. The point is not anti-ChucK, it's anti-one-dimensional-answers. I think it's great that ChucK gets a good deal of attention here -- but if somebody comes in and asks what tools are available, nobody is served well if the answer is too strongly biased in favor of one or another kit.

James

_________________
ddw online: http://www.dewdrop-world.net
sc3 online: http://supercollider.sourceforge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Thu May 15, 2008 5:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Ludvig wrote:

Yes , Notepad++ is very nice and what I was looking for was the option to use a more developed editor like notepad++ but still have the option to execute code line by line or block by block straight from the editor. As is possible with emacs and gedit on linux. That option doesnt seem to exist on xp, or at least I can't find it. I dont know if there are such options on mac , I havent checked.


I think you are quite right. NP++ doesn't seem to anticipate this. One option might be to ask the developer who seems quite open to suggestions or you could even look into the posibilities of doing a plugin, I think NP++ has facilities for user-written plugins.

Alternately; I do think you can get emacs to run on XP;
http://www.gnu.org/software/emacs/windows/ntemacs.html

Never having used it I can't make any claims about whether that version will even do this at all though.

Quote:

On a side note:
I looked around the forums ( I haven't been reading the forums for a while ) and I got the impression that there is some kind of ChucK vs SuperCollider thing going on. Wouldnt the difference mostly be what syntax/paradigm you prefered? I would hardly think that there is much music that you can produce with one that you couldn't translate to the other? Come to think of it, that haven't stopped flamewars on anything else so I guess this is no different. If everyone was using the same language there would probably be arguments about indent style or something.


I don't think so, not beyond what James just pointed out. I do think he has a good point there and I think more equal treatment would be preferable and indeed better for both.

Because of Ge Wang's recent paper (now in draft over in the CK corner) I've emailed a bit with Ge about our thoughts about the influence of a language's syntax and semantics on the way one thinks about music and the link between those styles of thinking and the language used. Some time back James and me (amongst others) tried to map out how these differed between CS and CK but -so far- we barely scratched the surface of that subject because nobody seems to be sufficiently fluent in both to compare the two in that regard in the amount of depth that subject deserves. Please do join in if you feel so inclined.

I don't think we've had any real "flame wars" and neither should we, there's far too much we could all learn from each other. I'm greatly in favour of more close contact between the SC and CK sections. James was kind enough to try to help with some ChucK issues and here I am trying to help your with finding a editor.

Still, some friendly teasing amongst the more senior users (as far as one can be "senior" user of a language as young as ChucK!) of both languages is to be expected and almost becoming a tradition. This probably started with the infamous Nick Collins v.s. Ge Wang livecoding "fight"... so when Nick was a little late for a meetup I just had to point out he may need "more strong timing" but that shouldn't be misinterpreted; for one thing back then the whole concept of "strong timing" was still less then clearly defined, something Ge now remedied with his latest paper (which I recommend to anybody who'd like a more clear understanding of the design choices behind ChucK).


Quote:
I for one look forward to learning synthesis tricks from both ChucKistst/ettes and SuperColliderers as well as csounders or whatever.


Yes, absolutely. Please do feel invited to "cross post" between the sections wherever relevant.

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ludvig



Joined: Jul 25, 2005
Posts: 26
Location: Stockholm - Sweden

PostPosted: Thu May 15, 2008 6:53 am    Post subject: Reply with quote  Mark this post and the followings unread

The tools one uses often impose or encourage a certain 'mind set', that I very much agree with. The implications of this is an interesting topic and one not limited of course to synthesis environments. When reading the posts on the ChucK and SC forums here on EM I get the impression that many posts are concerned as much with digital signal processing or synthesis or music as they are with the specifics of one or the other language. I know that it's practical to separate the discussions acording to what tool they concern but one thing I've learned from switching between different tools ( reaktor, the nord modular, g2, max/msp, supercollider among others ) is how it truly is the ideas you bring to the tools that makes the difference.

Out of all the tools available for open architecture sound production ChucK and SC seems to ( at least from my beginner point of new ) share more with each others 'mind set' than perhaps with any other tools.

Hmmm I don't know where I am going with this so I'll just stop. Time for coffee and some La Monte Young. Now what's that quote again... "draw a straight Pbind and follow it" ?
Back to top
View user's profile Send private message
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Thu May 15, 2008 7:05 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes, I agree with all you said.

I'd go even further; I'd say that the line from the specifics of a given system through digital synthesis extends towards one's ideas about music in general and indeed one's whole mental state.

I think this is because in such systems nothing will happen at all until we have a idea to implement in it and unlike some other systems that offer suggestions in various ways these languages expose any uncertainty or vague elements in our ideas.

Quite often people ask me questions about DSP these turn out to be linked to larger artistic and often personal questions people have. This seems entirely healthy and beneficial to me but it's not at all surprising that between systems this leads to communication issues and misunderstandings

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ludvig



Joined: Jul 25, 2005
Posts: 26
Location: Stockholm - Sweden

PostPosted: Thu May 15, 2008 8:00 am    Post subject: Reply with quote  Mark this post and the followings unread

That is very well put.

Quote:
in various ways these languages expose any uncertainty or vague elements in our ideas.


One of the things I like about using code ( in my case SC, but also for example building control structures in Max with javascript ) to express musical ideas is that things that seem very convoluted and complex get reduced to some kind of bare bone destilate of an idea. It is a mix of abstraction and control that really appeals to me both technically and musically. Especially the concept of not only finding the blurry spots in my ideas but to keep them blurred but in quantified way, using probabilities. To only accept uncertainity where I want uncertainity.

I often find that the abstractions commonly used to portray musical data on computers ( different colored blocks, photo realistic mixer boards, piano roll notation )add very little understanding for me but on the contrary force me to change my imagination instead. Programming code ( really any language, c, python, SC) does that to a much lesser extent.

I think that it is a natural developement that when your own ideas get stronger and more clear you tend to move to tools that impose less restrictions but also offers less guidance.
Back to top
View user's profile Send private message
Ludvig



Joined: Jul 25, 2005
Posts: 26
Location: Stockholm - Sweden

PostPosted: Thu May 15, 2008 11:57 am    Post subject: Reply with quote  Mark this post and the followings unread

So I read on supercollider.sourceforge.net that the scsynt.exe can be scripted or controlled from the commandline. Maybe I could hack something together to at least save some keystrokes. Does anyone have experience with anything similar? Maybe save to a special filename and run a script or batch file or something that stops everything running on the scsynth and evaluates the code in the file.
Back to top
View user's profile Send private message
Ludvig



Joined: Jul 25, 2005
Posts: 26
Location: Stockholm - Sweden

PostPosted: Thu May 15, 2008 12:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

By the way. What is the workflow of the SC users on the forum ? What do you use to write your code? The native editor? External editor?
Back to top
View user's profile Send private message
dewdrop_world



Joined: Aug 28, 2006
Posts: 858
Location: Guangzhou, China
Audio files: 4

PostPosted: Fri May 16, 2008 12:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ludvig wrote:
By the way. What is the workflow of the SC users on the forum ? What do you use to write your code? The native editor? External editor?


I'm on Mac at home and I use the native editor - well, currently there isn't a viable alternative on Mac but one of the devs is working on getting aquaemacs to work with the sclang backend (he says it's pretty close but not ready yet).

One thing I like in the native OSX editor is that Cocoa documents integrate with the language and you can manipulate them in SC code. That made possible a method autocompletion feature implemented in SC itself.

In Windows, most of my code is interactive (not working with class definitions directly) so it's better for me to work with the built in editor. I use the class browser a lot to check method signatures. I really miss autocompletion (not to mention find/replace) but when I'm working on code at lunchtime at work, running it on Windows beats bringing two laptops to work.

James

_________________
ddw online: http://www.dewdrop-world.net
sc3 online: http://supercollider.sourceforge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic Moderators: v-un-v
Page 1 of 1 [17 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Supercollider
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use