Re: [Bluemusic-users] [ClojureObject] no-op i statement
Brought to you by:
kunstmusik
From: Steven Yi <ste...@gm...> - 2014-06-06 15:43:23
|
You should just not define score for the soundObject. Before a ClojureObject is evaluated, the score variable is cleared. If no score is defined after evaluation, no score is generated, but the code will still have been evaluated. I use this same pattern myself of defining data and functions in one object at the beginning, then re-using those functions and data in other objects. On Fri, Jun 6, 2014 at 8:22 AM, ebmtranceboy <ebm...@gm...> wrote: > Hi Steven and blue users, > When a blue project uses more than 1 ClojureObject, it seems that every one > of them has to define its own score string (as in (def score "i1 2 3 4")) > (can you confirm?) > > As I'm used to create a first ClojureObject only for the definitions that I > use in the other ClojureObjects, I thus end its script by a (def score "i-1 > 0 1") no-op i statement. > > But it is not really a no-op statement and I'm half-satisfied with this > solution which assumes that instr 1 is defined. > > It there a way to define a genuine no-op i statement in a (csound) score ? > Or to tell blue that some ClojureObject is not a (clojure) score generator ? > > Thanks! > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/ClojureObject-no-op-i-statement-tp5735711.html > Sent from the Csound - Blue - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users |