Skip to content

Commit

Permalink
Fix asPseg bug for short curves array (which should wrap, not kill th…
Browse files Browse the repository at this point in the history
…e stream)
  • Loading branch information
James Harkins authored and timblechmann committed Apr 3, 2011
1 parent 3366f78 commit b296d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/build/SCClassLibrary/Common/Audio/Env.sc
Expand Up @@ -77,7 +77,7 @@ Env {
}

asPseg {
var c = if(curves.isSequenceableCollection.not) { curves } { Pseq(curves) };
var c = if(curves.isSequenceableCollection.not) { curves } { Pseq(curves, inf) };
^Pseg(Pseq(levels), Pseq(times ++ [1.0]), c) // last time is a dummy
}

Expand Down

0 comments on commit b296d06

Please sign in to comment.