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
I'm Fueled like the Gasman
Post new topic   Reply to topic Moderators: v-un-v
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Maks



Joined: Jan 14, 2009
Posts: 8
Location: United States
Audio files: 1

PostPosted: Wed Jan 14, 2009 3:40 am    Post subject:  I'm Fueled like the Gasman Reply with quote  Mark this post and the followings unread

I just discovered Supercollider. Well, I downloaded it 2 years ago but couldn't then figure out how to start it. The new build seems easier in that sense, so I will be taking the plunge. I'm excited! Crying or Very sad
From what I can hear, the timing (using the latency bundle) is alot more stable than Max/MSP, sounding basically as good as internal MIDI in say Digital Performer. YEY! I am sick of shitty Max scheduling.
Sine waves might just be a bit more velvety than MSP as well.


Good night.
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 Jan 14, 2009 12:48 pm    Post subject: Re: I'm Fueled like the Gasman Reply with quote  Mark this post and the followings unread

Maks wrote:
I just discovered Supercollider. Well, I downloaded it 2 years ago but couldn't then figure out how to start it. The new build seems easier in that sense, so I will be taking the plunge.


I guess you're talking about Windows then Smile The Windows version has improved a lot, especially around the beginning of last year.

Maks wrote:
From what I can hear, the timing (using the latency bundle) is alot more stable than Max/MSP, sounding basically as good as internal MIDI in say Digital Performer.


Yes, timing with bundled messages is very good. Used to be buggy in Windows but it's been working fine for me lately.

Consider taking a look at JSCEclipse - the code editor in Psycollider is pretty rudimentary. Eclipse has a really nice code editor with built-in help features (look up method templates by mousing over the method name, autocompletion). It's a bit more work to set up and Eclipse is a memory hog but to me it's worth it.

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
Maks



Joined: Jan 14, 2009
Posts: 8
Location: United States
Audio files: 1

PostPosted: Thu Jan 15, 2009 10:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Actually I was using a mac back then, but oh well.

I have been virtually leafing the some of Dave Cottels writings on SC, very very informative.
I have ran into one problem and that is I am unable to create a file path to save audio recordings with.

The code I have been presenting is

s.prepareForRecord("SC_Files/audio/rec1"); //rec1 is the name of the file

I am staring at a folder on my desktop called SC_Files, and inside is a folder called audio!
I keep getting this error message:
localhost
File 'SC_Files/audio/rec1' could not be opened. 'System error.'

Que??

(I tried this as well ---- s.prepareForRecord("/SC_Files/audio/rec1"); )
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 Jan 16, 2009 3:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

You've given a relative path, which takes as its starting point the folder containing supercollider.app.

If you want the desktop, use ~/Desktop/SC_Files/... (it does assume a little familiarity with UNIX-style paths. A path starting with / goes from the machine's root. ~ indicates the user's home folder -- which is not the same as the desktop. In OSX, there is a folder called "Desktop" in the home folder -- hence, "~/Desktop".)

You can also change the default location for recordings:

thisProcess.platform.recordingsDir = "[path to folder]";

And check the default location:

thisProcess.platform.recordingsDir;

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
Maks



Joined: Jan 14, 2009
Posts: 8
Location: United States
Audio files: 1

PostPosted: Fri Jan 16, 2009 5:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks a bunch!
Back to top
View user's profile Send private message
Maks



Joined: Jan 14, 2009
Posts: 8
Location: United States
Audio files: 1

PostPosted: Fri Jan 16, 2009 6:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

[~/Desktop/SC_Files/audio]

localhost
File '[~/Desktop/SC_Files/audio]/SC_090116_194935.aiff' could not be opened. 'System error.'

What the heck!
Is my path wrong still?
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 Jan 16, 2009 10:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

Maks wrote:
[~/Desktop/SC_Files/audio]

localhost
File '[~/Desktop/SC_Files/audio]/SC_090116_194935.aiff' could not be opened. 'System error.'

What the heck!
Is my path wrong still?


Why are the brackets in there? '[~/Desktop/SC_Files/audio]/SC_090116_194935.aiff' is not a valid path, but ~/Desktop/SC_Files/audio/SC_090116_194935.aiff should be. Try this as a quick test:

f = File("~/Desktop/SC_Files/audio/test.txt", "w");
f.close;

or list the directory:

"ls ~/Desktop".unixCmd;

"ls ~/Desktop/SC_Files/audio".unixCmd;

If it still doesn't work, try prepareForRecord("~/Desktop/SC_Files/audio/some_file.aiff".standardizePath) which should turn the ~ into the physical location.

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
dewdrop_world



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

PostPosted: Sat Jan 17, 2009 9:00 am    Post subject: Reply with quote  Mark this post and the followings unread

Oh, oops, I put the brackets in! My bad... I meant for everything inside the brackets (including the brackets) to be substituted with your file location... but didn't say so. Embarassed

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
Maks



Joined: Jan 14, 2009
Posts: 8
Location: United States
Audio files: 1

PostPosted: Sat Jan 17, 2009 3:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

James,
Thanks so much for helping, but I have to say nothing is working.
Look here, I tried this:
- - - - - - - -
thisProcess.platform.recordingsDir = "~/Desktop/SF_Files/audio";
thisProcess.platform.recordingsDir;
s.prepareForRecord;

ERROR Mess:
localhost
File '~/Desktop/SF_Files/audio/SC_090117_174641.aiff' could not be opened. 'System error.'
- - - - - - -

if this doesn't work, what would?
Your dealing with an utter beginner here.......If you could possibly see what is the problem that would be great.
I tried having SC search the contents of the filepath, and that did work.

Well, I'll keep trying to fiddle with it but its like shooting in the dark at this point.

Best,
Max Evil or Very Mad
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: Sat Jan 17, 2009 9:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

thisProcess.platform.recordingsDir = "~/Desktop/SF_Files/audio".standardizePath;

What I overlooked is that the server doesn't automatically convert ~ into a real location, so it's necessary to call standardizePath on the string when setting the recording dir.

On my machine:

"~/Desktop".standardizePath;

prints:
/Users/dewdrop/Desktop

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
Maks



Joined: Jan 14, 2009
Posts: 8
Location: United States
Audio files: 1

PostPosted: Sun Jan 18, 2009 1:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Your are the MAN!


Thanks again!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: v-un-v
Page 1 of 1 [11 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