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

Re: [sc-users] Oscillator phase reset possible?



You could use an osc with a freq of 0, then just phase modulate it with something that can retrigger:

s = Server.internal.boot;
s.scope

// osc at 440 hz... when mouse goes from left of screen to write, it resets

{SinOsc.ar(0, Sweep.ar(MouseX.kr(-1, 1), 2pi * 440).wrap(-pi, pi), 1)}.play(s)

Josh


On May 5, 2009, at 2:42 PM, Dan Stowell wrote:

I must admit I don't know of a way of doing it. I had a quick scan
through the standard oscillators and I don't see one with resettable
phase.

See also this conversation:
http://www.electro-music.com/forum/viewtopic.php?t=33591

Dan

2009/5/5, Carlo Capocasa <theman@xxxxxxxxxxxxxxxxx>:
Hello everyone!

I never cease to be amazed how many industrious helpful people this
community has. Thank you!

Is it possible to trigger a reset of the phase of an oscillator? IE reset
it to the state it was in at the time it was instantiated.

Carlo


_______________________________________________
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/



--
http://www.mcld.co.uk

_______________________________________________
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/

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/


_______________________________________________
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/