sc_phasor Signal Generators:Phasors sc_phasor sc_phasor A resettable linear ramp between two levels (renamed as trigphasor) Description Plugin opcode in scugens. A resettable linear ramp between two levels. Port of Supercollider's Phasor. DEPRECATED (renamed as trigphasor, ) Syntax aindex sc_phasor xtrig, xrate, kstart, kend [, kresetPos] kindex sc_phasor xtrig, xrate, kstart, kend [, kresetPos] Performance Phasor is a linear ramp between kstart and kend values. When its trigger input crosses from non-positive to positive, sc_phasor's output will jump to its reset position (or to kstartif no reset value was given). Upon reaching the end of its ramp, sc_phasor will wrap back to its start. If kresetPos is specified, this value will be used to jump to after a trigger. Otherwise, a trigger will set the position back to kstart If one wants Phasor to output a signal with frequency freq oscillating between start and end, then the rate should be: (end - start) * freq / sr Examples Here is an example of the sc_phasor opcode. It uses the file sc_phasor.csd. Example of the sc_phasor opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See also phasor Credits By: &nameeduardo; 2017