This file is indexed.

/usr/share/SuperCollider/HelpSource/Classes/EnvGate.schelp is in supercollider-common 1:3.8.0~repack-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
class:: EnvGate
summary:: singleton fade envelope
categories:: Libraries>JITLib>NodeProxy
related:: Classes/EnvGen

description::
Convenience class for an envelope generator combining fadeTime and gate arguments.

ClassMethods::

method::new
Returns an link::Classes/EnvGen::.

argument::i_level
initial level of envelope (if set to 1, it starts open)

argument::gate
a gate input. if nil, EnvGate creates a link::Classes/NamedControl:: named 'gate'

argument::fadeTime
an input for both attack and decay time. if nil, EnvGate creates a link::Classes/NamedControl:: named 'fadeTime' (default time: 0.02)

argument::doneAction
doneAction of the link::Classes/EnvGen::

argument::curve
envelope curve

Examples::

code::
a = { LPF.ar(Saw.ar(200), 600) * EnvGate.new }.play;
a.set(\fadeTime, 2);
a.release;

// the same as:
a.set(\gate, 0);

// several env gates can coexist in one synth def.
(
a = {
	var sound1 = LPF.ar(Saw.ar(80), 600) * EnvGate.new;
	var sound2 = RLPF.ar(Saw.ar(200) * 0.5, 6000 * EnvGate.new + 60, 0.1) * EnvGate.new;
	sound1 + sound2
}.play;
)
a.set(\fadeTime, 5);
a.release;
::