how to scale web audio oscillator from (-1,1) to (x,y)
<p>I would like to map the signal of an oscillator from (-1,1) to (x,y)
For what I've understand so far, gain nodes can be used for that.</p>

<p>if i connect my oscillator to a gain node that value is 1, I've get back my signal in the range (0,2)</p>

<p>if I feed this signal into another gain at value 0.25 i've get back a signal in range (0,0.5)</p>

<p>but how to do if I want my signal to be in the range (0.5, 1) ?</p>

<p>I'm wandering why we cannot simply map a function over a signal.</p>

<p>like signal.map(function(x){return x + 0.5})</p>