100 lines
No EOL
5.3 KiB
HTML
100 lines
No EOL
5.3 KiB
HTML
<!doctype html><html lang='en'><head><title>FreeVerb2 | SuperCollider 3.9.3 Help</title>
|
|
<link rel='stylesheet' href='./../scdoc.css' type='text/css' />
|
|
<link rel='stylesheet' href='./../frontend.css' type='text/css' />
|
|
<link rel='stylesheet' href='./../custom.css' type='text/css' />
|
|
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
|
|
<script>
|
|
var helpRoot = './..';
|
|
var scdoc_title = 'FreeVerb2';
|
|
var scdoc_sc_version = '3.9.3';
|
|
</script>
|
|
<script src='./../scdoc.js' type='text/javascript'></script>
|
|
<script src='./../docmap.js' type='text/javascript'></script>
|
|
<script src='./../prettify.js' type='text/javascript'></script>
|
|
<script src='./../lang-sc.js' type='text/javascript'></script>
|
|
</head>
|
|
<body onload='fixTOC();prettyPrint()'>
|
|
<div id='toc'>
|
|
<div id='toctitle'>FreeVerb2:</div>
|
|
<span class='toc_search'>Filter: <input id='toc_search'></span><ul class='toc'><li class='toc1'><a href='#description'>Description</a></li>
|
|
<ul class='toc'></ul><li class='toc1'><a href='#classmethods'>Class methods</a></li>
|
|
<ul class='toc'><li class='toc3'><a href='#*ar'>ar</a> </li>
|
|
<li class='toc2'><a href='#Inherited%20class%20methods'>Inherited class methods</a></li>
|
|
</ul><li class='toc1'><a href='#instancemethods'>Instance methods</a></li>
|
|
<ul class='toc'><li class='toc2'><a href='#Inherited%20instance%20methods'>Inherited instance methods</a></li>
|
|
</ul><li class='toc1'><a href='#examples'>Examples</a></li>
|
|
<ul class='toc'></ul></ul></div><div class='contents'>
|
|
<div id='menubar'></div>
|
|
<div class='header'>
|
|
<div id='label'>
|
|
<span id='folder'>Classes</span>
|
|
| <span id='categories'><a href='./../Browse.html#UGens'>UGens</a> > <a href='./../Browse.html#UGens>Reverbs'>Reverbs</a></span>
|
|
</div><h1>FreeVerb2<span id='superclasses'> : <a href="../Classes/MultiOutUGen.html">MultiOutUGen</a> : <a href="../Classes/UGen.html">UGen</a> : <a href="../Classes/AbstractFunction.html">AbstractFunction</a> : <a href="../Classes/Object.html">Object</a></span>
|
|
</h1>
|
|
<div id='summary'>A two-channel reverb</div>
|
|
</div>
|
|
<div class='subheader'>
|
|
<div id='filename'>Source: <a href='file:///Applications/SuperCollider.app/Contents/Resources/SCClassLibrary/Common/Audio/FreeVerb.sc' title='/Applications/SuperCollider.app/Contents/Resources/SCClassLibrary/Common/Audio/FreeVerb.sc'>FreeVerb.sc</a></div><div id='related'>See also: <a href="./../Classes/FreeVerb.html">FreeVerb</a>, <a href="./../Classes/GVerb.html">GVerb</a></div>
|
|
</div>
|
|
<h2><a class='anchor' name='description'>Description</a></h2>
|
|
|
|
<p>Coded from experiments with faust.<h2><a class='anchor' name='classmethods'>Class Methods</a></h2>
|
|
<h3 class='method-code'><span class='method-prefix'>FreeVerb2.</span><a class='method-name' name='*ar' href='./../Overviews/Methods.html#ar'>ar</a>(<span class='argstr'>in</span>, <span class='argstr'>in2</span>, <span class='argstr'>mix: 0.33</span>, <span class='argstr'>room: 0.5</span>, <span class='argstr'>damp: 0.5</span>, <span class='argstr'>mul: 1</span>, <span class='argstr'>add: 0</span>)</h3>
|
|
<div class='method'><h4>Arguments:</h4>
|
|
<table class='arguments'>
|
|
<tr><td class='argumentname'>in<td class='argumentdesc'>
|
|
<p>input signal channel 1.<tr><td class='argumentname'>in2<td class='argumentdesc'>
|
|
<p>input signal channel 2.<tr><td class='argumentname'>mix<td class='argumentdesc'>
|
|
<p>dry/wet balance. range 0..1.<tr><td class='argumentname'>room<td class='argumentdesc'>
|
|
<p>room size. rage 0..1.<tr><td class='argumentname'>damp<td class='argumentdesc'>
|
|
<p>Reverb HF damp. range 0..1.<tr><td class='argumentname'>mul<td class='argumentdesc'><tr><td class='argumentname'>add<td class='argumentdesc'></table><h4>Discussion:</h4>
|
|
|
|
<p>Valid parameter range from 0 to 1. Values outside this range are clipped by the UGen.</div><h3><a class='anchor' name='Inherited%20class%20methods'>Inherited class methods</a></h3>
|
|
<div id='inheritedclassmets'></div><h2><a class='anchor' name='instancemethods'>Instance Methods</a></h2>
|
|
<h3><a class='anchor' name='Inherited%20instance%20methods'>Inherited instance methods</a></h3>
|
|
<div id='inheritedinstmets'></div><h2><a class='anchor' name='examples'>Examples</a></h2>
|
|
<pre class='code prettyprint lang-sc'>s.boot;
|
|
|
|
// FreeVerb2 - demo synthdef
|
|
(
|
|
SynthDef(\FreeVerb2x2, { |out, mix = 0.25, room = 0.15, damp = 0.5, amp = 1.0|
|
|
var signal;
|
|
|
|
signal = In.ar(out, 2);
|
|
|
|
ReplaceOut.ar(out,
|
|
FreeVerb2.ar( // FreeVerb2 - true stereo UGen
|
|
signal[0], // Left channel
|
|
signal[1], // Right Channel
|
|
mix, room, damp, amp
|
|
)
|
|
); // same params as FreeVerb 1 chn version
|
|
|
|
}).add;
|
|
)
|
|
|
|
// 2ch source
|
|
(
|
|
a = SynthDef(\src2x2, { |out|
|
|
Out.ar(out,
|
|
Decay.ar(Impulse.ar(1), 0.25, LFCub.ar(1200, 0, 0.1)) ! 2
|
|
+
|
|
Pan2.ar(
|
|
Decay.ar(Impulse.ar(1, pi), 0.1, WhiteNoise.ar(0.1)),
|
|
LFNoise1.kr(0.5).range(-1, 1)
|
|
)
|
|
)
|
|
}).play
|
|
)
|
|
|
|
// kick it in
|
|
z = Synth(\FreeVerb2x2, [\outbus, 0], addAction:\addToTail)
|
|
// experiment with some settings
|
|
z.set(\room, 0.7)
|
|
z.set(\mix, 0.33)
|
|
z.set(\damp, 0.9)
|
|
|
|
// silence
|
|
[a, z].do(_.free)</pre>
|
|
|
|
<p><div class='doclink'>helpfile source: <a href='file:///Applications/SuperCollider.app/Contents/Resources/HelpSource/Classes/FreeVerb2.schelp'>/Applications/SuperCollider.app/Contents/Resources/HelpSource/Classes/FreeVerb2.schelp</a><br>link::Classes/FreeVerb2::<br></div></div></body></html> |