Hi Victor, > Looking at Miller's PD code, it's interesting to see the way it's > implemented. I'll summarise: Would you have a pointer to this ? > The locking is implemented as follows: the signal at point 4 above, > composed of the difference between 1st input phases and current output > and 1st input magnitudes is taken in re, im format. The complex data > of each bin is added to the two adjacent bins. The comments say this > result will tend toward the bin with the strongest magnitude (but I > have to work this out in my head, I am not sure I immediately reach > the same conclusion, do you?). (This may be completely misleading) Adding to adjacent bins amounts to a convolution in the F-domain, which is equivalent to windowing in the T-domain. How this relates to the problem at hand is a mystery to me ATM... If you add two complex numbers, the argument of the sum will be close the argument of the largest one if the magnitude difference is significant - just look at it as a sum of vectors to see this. Ciao, -- FA O tu, che porte, correndo si ? E guerra e morte ! ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net