2014-06-18 21:39:05 +00:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< title > JSDoc: Class: AutoPanner< / title >
< script src = "scripts/prettify/prettify.js" > < / script >
< script src = "scripts/prettify/lang-css.js" > < / script >
<!-- [if lt IE 9]>
< script src = "//html5shiv.googlecode.com/svn/trunk/html5.js" > < / script >
<![endif]-->
< link type = "text/css" rel = "stylesheet" href = "styles/prettify-tomorrow.css" >
< link type = "text/css" rel = "stylesheet" href = "styles/jsdoc-default.css" >
< / head >
< body >
< div id = "main" >
< h1 class = "page-title" > Class: AutoPanner< / h1 >
< section >
< header >
< h2 >
2014-06-19 17:38:21 +00:00
< span class = "ancestors" > < a href = "Tone.html" > Tone< / a > .< / span >
2014-06-18 21:39:05 +00:00
AutoPanner
< / h2 >
< / header >
< article >
< div class = "container-overview" >
< dt >
< h4 class = "name" id = "AutoPanner" > < span class = "type-signature" > < / span > new AutoPanner< span class = "signature" > (< span class = "optional" > rate< / span > , < span class = "optional" > amount< / span > )< / span > < span class = "type-signature" > < / span > < / h4 >
< / dt >
< dd >
< div class = "description" >
AutoPanner creates a left-right panner effect (not a 3D panner).
< / div >
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th > Argument< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > rate< / code > < / td >
< td class = "type" >
< span class = "param-type" > number< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "description last" > (optional) rate in HZ of the left-right pan< / td >
< / tr >
< tr >
< td class = "name" > < code > amount< / code > < / td >
< td class = "type" >
< span class = "param-type" > number< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
2014-06-20 15:04:17 +00:00
< td class = "description last" > (optional) of the pan (0 - 1)< / td >
2014-06-18 21:39:05 +00:00
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2014-06-20 15:04:17 +00:00
< a href = "Tone.js.html" > Tone.js< / a > , < a href = "Tone.js.html#line2910" > line 2910< / a >
2014-06-18 21:39:05 +00:00
< / li > < / ul > < / dd >
< / dl >
< / dd >
< / div >
< h3 class = "subsection-title" > Methods< / h3 >
< dl >
< dt >
< h4 class = "name" id = "setAmount" > < span class = "type-signature" > < / span > setAmount< span class = "signature" > (amount)< / span > < span class = "type-signature" > < / span > < / h4 >
< / dt >
< dd >
< div class = "description" >
Set the amount of the AutoPanner.
< / div >
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > amount< / code > < / td >
< td class = "type" >
< span class = "param-type" > number< / span >
< / td >
< td class = "description last" > in dB (0 - 1)< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2014-06-20 15:04:17 +00:00
< a href = "Tone.js.html" > Tone.js< / a > , < a href = "Tone.js.html#line2971" > line 2971< / a >
2014-06-18 21:39:05 +00:00
< / li > < / ul > < / dd >
< / dl >
< / dd >
< dt >
< h4 class = "name" id = "setFrequency" > < span class = "type-signature" > < / span > setFrequency< span class = "signature" > (rate)< / span > < span class = "type-signature" > < / span > < / h4 >
< / dt >
< dd >
< div class = "description" >
Set frequency of the oscillator attached to the AutoPanner.
< / div >
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > rate< / code > < / td >
< td class = "type" >
< span class = "param-type" > number< / span >
|
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > in HZ of the oscillator's frequency.< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2014-06-20 15:04:17 +00:00
< a href = "Tone.js.html" > Tone.js< / a > , < a href = "Tone.js.html#line2962" > line 2962< / a >
2014-06-18 21:39:05 +00:00
< / li > < / ul > < / dd >
< / dl >
< / dd >
< dt >
< h4 class = "name" id = "setType" > < span class = "type-signature" > < / span > setType< span class = "signature" > (type)< / span > < span class = "type-signature" > < / span > < / h4 >
< / dt >
< dd >
< div class = "description" >
Set the type of oscillator attached to the AutoPanner.
< / div >
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > type< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > of oscillator the panner is attached to (sine|sawtooth|triangle|square)< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2014-06-20 15:04:17 +00:00
< a href = "Tone.js.html" > Tone.js< / a > , < a href = "Tone.js.html#line2953" > line 2953< / a >
2014-06-18 21:39:05 +00:00
< / li > < / ul > < / dd >
< / dl >
< / dd >
< dt >
< h4 class = "name" id = "start" > < span class = "type-signature" > < / span > start< span class = "signature" > (Time)< / span > < span class = "type-signature" > < / span > < / h4 >
< / dt >
< dd >
< div class = "description" >
Start the panner
< / div >
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > Time< / code > < / td >
< td class = "type" >
< span class = "param-type" > Tone.Time< / span >
< / td >
< td class = "description last" > the panner begins.< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2014-06-20 15:04:17 +00:00
< a href = "Tone.js.html" > Tone.js< / a > , < a href = "Tone.js.html#line2935" > line 2935< / a >
2014-06-18 21:39:05 +00:00
< / li > < / ul > < / dd >
< / dl >
< / dd >
< dt >
< h4 class = "name" id = "stop" > < span class = "type-signature" > < / span > stop< span class = "signature" > (time)< / span > < span class = "type-signature" > < / span > < / h4 >
< / dt >
< dd >
< div class = "description" >
Stop the panner
< / div >
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > time< / code > < / td >
< td class = "type" >
< span class = "param-type" > Tone.Time< / span >
< / td >
< td class = "description last" > the panner stops.< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2014-06-20 15:04:17 +00:00
< a href = "Tone.js.html" > Tone.js< / a > , < a href = "Tone.js.html#line2944" > line 2944< / a >
2014-06-18 21:39:05 +00:00
< / li > < / ul > < / dd >
< / dl >
< / dd >
< / dl >
< / article >
< / section >
< / div >
< nav >
2014-06-20 15:04:17 +00:00
< h2 > < a href = "index.html" > Index< / a > < / h2 > < h3 > Classes< / h3 > < ul > < li > < a href = "Tone.html" > Tone< / a > < / li > < li > < a href = "Tone.Add.html" > Add< / a > < / li > < li > < a href = "Tone.AutoPanner.html" > AutoPanner< / a > < / li > < li > < a href = "Tone.BitCrusher.html" > BitCrusher< / a > < / li > < li > < a href = "Tone.DryWet.html" > DryWet< / a > < / li > < li > < a href = "Tone.Envelope.html" > Envelope< / a > < / li > < li > < a href = "Tone.LFO.html" > LFO< / a > < / li > < li > < a href = "Tone.Merge.html" > Merge< / a > < / li > < li > < a href = "Tone.Meter.html" > Meter< / a > < / li > < li > < a href = "Tone.Microphone.html" > Microphone< / a > < / li > < li > < a href = "Tone.Multiply.html" > Multiply< / a > < / li > < li > < a href = "Tone.Noise.html" > Noise< / a > < / li > < li > < a href = "Tone.Oscillator.html" > Oscillator< / a > < / li > < li > < a href = "Tone.Panner.html" > Panner< / a > < / li > < li > < a href = "Tone.Player.html" > Player< / a > < / li > < li > < a href = "Tone.Recorder.html" > Recorder< / a > < / li > < li > < a href = "Tone.Scale.html" > Scale< / a > < / li > < li > < a href = "Tone.Signal.html" > Signal< / a > < / li > < li > < a href = "Tone.Source.html" > Source< / a > < / li > < li > < a href = "Tone.Split.html" > Split< / a > < / li > < li > < a href = "Tone.Transport.html" > Transport< / a > < / li > < / ul > < h3 > Global< / h3 > < ul > < li > < a href = "global.html#for the default output" > for the default output< / a > < / li > < li > {GainNode}< / li > < / ul >
2014-06-18 21:39:05 +00:00
< / nav >
< br clear = "both" >
< footer >
2014-06-20 15:04:17 +00:00
Documentation generated by < a href = "https://github.com/jsdoc3/jsdoc" > JSDoc 3.2.2< / a > on Fri Jun 20 2014 11:03:20 GMT-0400 (EDT)
2014-06-18 21:39:05 +00:00
< / footer >
< script > prettyPrint ( ) ; < / script >
< script src = "scripts/linenumber.js" > < / script >
< / body >
< / html >