Author |
Message |
Maks
Joined: Jan 14, 2009 Posts: 8 Location: United States
Audio files: 1
|
Posted: Wed Jan 14, 2009 3:40 am Post subject:
I'm Fueled like the Gasman |
|
|
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!
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
|
|
|
dewdrop_world
Joined: Aug 28, 2006 Posts: 858 Location: Guangzhou, China
Audio files: 4
|
Posted: Wed Jan 14, 2009 12:48 pm Post subject:
Re: I'm Fueled like the Gasman |
|
|
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 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
|
|
|
Maks
Joined: Jan 14, 2009 Posts: 8 Location: United States
Audio files: 1
|
Posted: Thu Jan 15, 2009 10:19 pm Post subject:
|
|
|
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
|
|
|
dewdrop_world
Joined: Aug 28, 2006 Posts: 858 Location: Guangzhou, China
Audio files: 4
|
Posted: Fri Jan 16, 2009 3:11 pm Post subject:
|
|
|
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
|
|
|
Maks
Joined: Jan 14, 2009 Posts: 8 Location: United States
Audio files: 1
|
Posted: Fri Jan 16, 2009 5:07 pm Post subject:
|
|
|
Thanks a bunch! |
|
Back to top
|
|
|
Maks
Joined: Jan 14, 2009 Posts: 8 Location: United States
Audio files: 1
|
Posted: Fri Jan 16, 2009 6:00 pm Post subject:
|
|
|
[~/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
|
|
|
dewdrop_world
Joined: Aug 28, 2006 Posts: 858 Location: Guangzhou, China
Audio files: 4
|
Posted: Fri Jan 16, 2009 10:23 pm Post subject:
|
|
|
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
|
|
|
dewdrop_world
Joined: Aug 28, 2006 Posts: 858 Location: Guangzhou, China
Audio files: 4
|
Posted: Sat Jan 17, 2009 9:00 am Post subject:
|
|
|
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.
James _________________ ddw online: http://www.dewdrop-world.net
sc3 online: http://supercollider.sourceforge.net |
|
Back to top
|
|
|
Maks
Joined: Jan 14, 2009 Posts: 8 Location: United States
Audio files: 1
|
Posted: Sat Jan 17, 2009 3:52 pm Post subject:
|
|
|
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 |
|
Back to top
|
|
|
dewdrop_world
Joined: Aug 28, 2006 Posts: 858 Location: Guangzhou, China
Audio files: 4
|
Posted: Sat Jan 17, 2009 9:35 pm Post subject:
|
|
|
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
|
|
|
Maks
Joined: Jan 14, 2009 Posts: 8 Location: United States
Audio files: 1
|
Posted: Sun Jan 18, 2009 1:51 am Post subject:
|
|
|
Your are the MAN!
Thanks again! |
|
Back to top
|
|
|
|