GameOfLife / Unit-Lib

The Unit Library is a system that provides high level abstractions on top of the SuperCollider language.
25 stars 6 forks source link

rendering UScores to audio file misses some events when ULib.servers contains multiple servers. #45

Open miguel-negrao opened 10 years ago

miguel-negrao commented 10 years ago

This happens when ULib.servers contains a LoadBalancer . I thinnk in UEvent it should be

asScore { |duration, timeOffset=0|

    if( duration.isNil ) {
        duration = this.finiteDuration;
    };

    ^Score(
        this.collectOSCBundles( ULib.allServers.first, timeOffset, duration  )
                ++ [ [ duration, [ \c_set, 0,0 ] ] ]
        );
}

So ULib.allServers.first instead of servers.first