hi Martin, RedPhasor blocks negative rates in the c code: double rate= sc_max(0, ZIN0(1));sorry i forgot why. i'll make some tests and see if i can remember. perhaps there's no reason and the clipping can be removed.
later, _f 29 dec 2008 kl. 14.09 skrev Martin .:
Hi all, Fredrik,are anyone familiar with a way to make RedPhasor go backwards like Phasor?b = Buffer.read(s, "sounds/a11wlk01.wav"); ( //works { var phasor, rate; rate = MouseX.kr(-1.0, 1.0); phasor = Phasor.ar(0, BufRateScale.kr(b)*rate, 0, BufFrames.kr(b)); BufRd.ar(1, b, phasor); }.play; ) ( //goes silent at negative rate values { var phasor, rate; rate = MouseX.kr(-1.0, 1.0); phasor = RedPhasor.ar(0, BufRateScale.kr(b)*rate, 0, BufFrames.kr(b)); BufRd.ar(1, b, phasor); }.play; ) cheers, martin
#| fredrikolofsson.com klippav.org musicalfieldsforever.com |# _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: https://listarc.bham.ac.uk/marchives/sc-users/ search: https://listarc.bham.ac.uk/lists/sc-users/search/