electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
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 
Live streaming at radio.electro-music.com

  host / artist show at your time
  Faux Pas Quartet and friends Music From Last Thursday
Please visit the chat
 Forum index » DIY Hardware and Software » Supercollider
Multiple cores/processors on OS X
Post new topic   Reply to topic Moderators: v-un-v
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
BobTheDog



Joined: Feb 28, 2005
Posts: 3861
Location: England
Audio files: 32
G2 patch files: 15

PostPosted: Fri May 27, 2011 12:46 pm    Post subject: Multiple cores/processors on OS X Reply with quote  Mark this post and the followings unread

Hi Guys,

Since I have got the new rather spiffing SuperCollider book I have started actually learning SuperCollider.

I have started running out of juice on a single core. I understand I can run multiple servers and load balance between these servers but this is a bit of a pain.

Is there a plan to get the server to run over multiple cores/processors?

Also is the server code also open source?

Thanks for any help

Andy
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: Thu Jun 09, 2011 7:39 am    Post subject: Re: Multiple cores/processors on OS X Reply with quote  Mark this post and the followings unread

BobTheDog wrote:
Hi Guys,

Since I have got the new rather spiffing SuperCollider book I have started actually learning SuperCollider.

I have started running out of juice on a single core. I understand I can run multiple servers and load balance between these servers but this is a bit of a pain.

Is there a plan to get the server to run over multiple cores/processors?


The latest sources (3.5 development version), available from the git repository at sourceforge, include a newer server called "supernova," which can distribute processing onto multiple cores. If you create a ParGroup (instead of a regular Group), it tells the server that all the nodes inside (its immediate children) don't have any signal dependencies and could be calculated in any order, including parallel-ly. Normal groups calculate in sequence, as in the standard scsynth. Regular groups can be placed inside ParGroups, to have sequentially-executing chains on different processors, and ParGroups can go inside regular groups (where everything inside the ParGroup has to finish, whether distributed over cores or not, before advancing to the next node in sequence).

It's still in development so there are some limitations. I think the sc3-plugins pack isn't ready for it yet (but I could be wrong about that). None of the Mac-using developers has had time to write the CoreAudio stuff for it, so for the time being, you have to use Jack OSX. But I'm told it does work in OSX with Jack. There's something else about rebuilding the plugins (ugens) for supernova... don't remember exactly.

Not packaged so you'll have to compile from sources yourself. Watch the cmake options carefully -- 3.5 also introduces Qt for GUIs, so if you don't want to have to install Qt's developer libraries, you'll have to tell cmake to disable Qt -- "cmake -DSC_QT=OFF .." from README OSX.

Quote:
Also is the server code also open source?


All of SC's code is open source.
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
BobTheDog



Joined: Feb 28, 2005
Posts: 3861
Location: England
Audio files: 32
G2 patch files: 15

PostPosted: Sun Jun 12, 2011 2:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi James,

Thanks for the very informative post.

I think I have built 3.5, I built the latest dev build a couple of weeks ago as I was having issues with xcode 4 and the normal branch. Then I got sidetracked with the iPad build and forgot about it!

I will have a look again.

Cheers

Andy
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 [3 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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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