[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] p tags in docs



>>>>> "J" == Josh Parmenter <josh@xxxxxxxxxxxxxxxxx> writes:

    J> Looks a bit strange:
    J> Josh

It was a dumb file to test with.  You could try looking at a copy of the
bare Help.html file withouth images and such.

Here are 2 versions of SinOsc.html (a test-version and the original):

SinOsc interpolating sine wavetable oscillator

SinOsc.ar(freq, phase, mul, add)

Sinusoidal oscillator; a sine tone.    

Note: This is the same as Osc except that the table has already been fixed as a sine table of 8192 entries.

freq - frequency in Hertz
phase - phase offset or modulator in radians


{ SinOsc.ar(200, 0, 0.5) }.play;


// modulate freq
{ SinOsc.ar(XLine.kr(2000, 200), 0, 0.5) }.play;

// modulate freq
{ SinOsc.ar(SinOsc.ar(XLine.kr(1, 1000, 9), 0, 200, 800), 0, 0.25) }.play; 


// modulate phase
{ SinOsc.ar(800, SinOsc.ar(XLine.kr(1, 1000, 9), 0, 2pi), 0.25) }.play; 

SinOsc interpolating sine wavetable oscillator


SinOsc.ar(freq, phase, mul, add)


Sinusoidal oscillator; a sine tone.    


Note: This is the same as Osc except that the table has already been fixed as a sine table of 8192 entries.


freq - frequency in Hertz

phase - phase offset or modulator in radians



{ SinOsc.ar(200, 0, 0.5) }.play;



// modulate freq

{ SinOsc.ar(XLine.kr(2000, 200), 0, 0.5) }.play;


// modulate freq

{ SinOsc.ar(SinOsc.ar(XLine.kr(1, 1000, 9), 0, 200, 800), 0, 0.25) }.play; 



// modulate phase

{ SinOsc.ar(800, SinOsc.ar(XLine.kr(1, 1000, 9), 0, 2pi), 0.25) }.play;