/usr/share/SuperCollider/HelpSource/Classes/Amplitude.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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | class:: Amplitude
summary:: Amplitude follower
categories:: UGens>Analysis>Amplitude
description::
Tracks the peak amplitude of a signal.
classmethods::
method:: ar, kr
argument::in
Input signal
argument::attackTime
60dB convergence time for following attacks.
argument::releaseTime
60dB convergence time for following decays.
argument::mul
argument::add
examples::
code::
(
// use input amplitude to control SinOsc frequency
{
SinOsc.ar(
Amplitude.kr(
Blip.ar(3, 20) * LFNoise1.kr(0.1).range(0, 1),
MouseX.kr(0.001, 1, 1),
MouseY.kr(0.001, 1, 1),
1200,
400
),
0, 0.3)
}.play;
)
::
code::
// use input amplitude to control Pulse amplitude - use headphones to prevent feedback.
{ Pulse.ar(90, 0.3, Amplitude.kr(SoundIn.ar(0))) }.play;
::
code::
(
// use input amplitude to control SinOsc frequency - use headphones to prevent feedback.
{
SinOsc.ar(
Amplitude.kr(
SoundIn.ar(0),
0.01,
0.01,
1200,
400
),
0, 0.3)
}.play;
)
::
|