[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] RedPhasor backwards?
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: [sc-users] RedPhasor backwards?
- From: "Martin ." <blindmanonacid@xxxxxxxxx>
- Date: Mon, 29 Dec 2008 14:09:37 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=jLwd91eGgmInop+vzWVPXAXbE/VKaV2/l1ObRGn/DEE=; b=nImziTxT2At+W2yZK7o6QblEOsfavVUwdxbNfE9e6M6uDt73Uucec7a4yRWvopTOSf V7opD9PS/bHF10hOroe7+lPhrJFhzYY5OtVopMwdxHjxJtdork88oyjoA0HAcRs2oy6W 3khKp53XDxyRiN4H4jO3BpDHyMboWLXIr0UOo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=hm/eZ0+8DFEk6FoimG1Bpaynel+bAJ3gfYfS9Kv4vqDxHMFrEGCNDqBQoXkmlU2GMr Q2ZYl159ciVjaivCOh2Fr4GojA2hh+1M3ojMi5ZoDyGtN0/Dbz4589iwplGPu4e9wpPF TjLXCrIgYL5XcNWCxYVLZecpcNH4JfUwFmPVY=
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
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
_______________________________________________
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/