Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example code in documentation doesn't play for LocalIn function. Missing Out.ar(0,local); #1563

Closed
ceremona opened this issue Jun 25, 2015 · 1 comment
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. comp: help schelp documentation

Comments

@ceremona
Copy link

The following example code doesn't play in LocalIn:
(
{
var local, in;

in = Mix.fill(12, {
    Pan2.ar(
        Decay2.ar(Dust.ar(0.05), 0.1, 0.5, 0.1)
            * FSinOsc.ar(IRand(36,84).midicps).cubed.max(0),
        Rand(-1,1))
});
in = in + Pan2.ar(Decay2.ar(Dust.ar(0.03), 0.04, 0.3) * BrownNoise.ar, 0);

4.do { in = AllpassN.ar(in, 0.03, {Rand(0.005,0.02)}.dup, 1); };

local = LocalIn.ar(2) * 0.98;
local = OnePole.ar(local, 0.5);

local = Rotate2.ar(local[0], local[1], 0.23);
local = AllpassN.ar(local, 0.05, {Rand(0.01,0.05)}.dup, 2);

local = DelayN.ar(local, 0.3, [0.19,0.26]);
local = AllpassN.ar(local, 0.05, {Rand(0.03,0.15)}.dup, 2);

local = LeakDC.ar(local);
local = local + in;

LocalOut.ar(local);

}.play;
)

Needs Out.ar(0,local); at the end.

@telephon
Copy link
Member

thanks!
actually need simply local on the end.

@crucialfelix crucialfelix added bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. comp: help schelp documentation labels Jan 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. comp: help schelp documentation
Projects
None yet
Development

No branches or pull requests

3 participants