Skip to content

Commit

Permalink
help: improve helpfile example. fixes #1276
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Rohrhuber committed Jan 5, 2015
1 parent f53a66d commit 0b0e7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HelpSource/Classes/IEnvGen.schelp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ code::
{
var sin = SinOsc.ar(440, 0, MouseX.kr(0, 1));
// use offset so negative values of SinOsc will map into the Env
var env = Env([-1, -0.7, 0.7, 1], [ 0.8666, 0.2666, 0.8668 ], \lin, -1.0);
var env = Env([-1, -0.7, 0.7, 1], [ 0.8666, 0.2666, 0.8668 ], \lin, offset: -1.0);
IEnvGen.ar(env, sin) * 0.1
}.play;
)
Expand Down

0 comments on commit 0b0e7c5

Please sign in to comment.