[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Organising large projects
Nathaniel Virgo <nathaniel.virgo@xxxxxxxxxxxx> writes:
> Hi List,
>
> I'm working on a live performance in SuperCollider and at the moment all
> the code is in one file, which is starting to get a little unweildy, so
> I was wondering if anyone has any thoughts or experience they would like
> to share about how to effectively manage SuperCollider projects in
> multiple files.
>
> The performance is organised into a large collection of sounds (or sound
> objects?), typically consisting of a Synthdef and a Routine to play it,
> either of which can respond to various axes of the joysticks I'm using
> to control the performance. Only a few of these sounds will be playing
> at any given time and I'll be swapping them in and out as part of the
> performance.
>
> Ideally I'd like each of these sounds to live in its own file, along
> with files for common utility functions, effects, etc, so that I can
> concentrate on just changing one thing at a time. The reason I haven't
> done this so far is that I'd have to manually execute each file when
> starting up the performance, so I'd need to automate that somehow.
DO
"myProject/*.sc".pathMatch.do{|p|thisProcess.interpreter.executeFile(p)}
In your main file.
--
CYa,
Mario