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

Re: [sc-dev] [approve?] PV_Correlation etc

On Dec 17, 2003, at 8:17 AM, nikolai collinsky wrote:

I wanted to check before making my first CVS

PV_Add and PV_Mul lack SC code definition in FFT.sc

Trivial to sort out, but something I can safely commit

Can I also add pure PV_Convolution (since PV_MagMul
does nothing with phase, and PV_Mul isn't a proper
complex multiply), PV_Correlation, PV_Mag1Phase2
(simple cross synth using mag of first, phase of
second) at the same time?

A full complex multiply of two STFFTs is not really a convolution.
You'd want to have the FFT of one wave stored and complex multiply that by a suitably zero padded input. The PV object base class does not handle that case as is.


_______________________________________________________________________ _ BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer ends 21st December 2003. The way the internet was meant to be. http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk
sc-dev mailing list

--- james mccartney   james@xxxxxxxxxxxxxx   <http://www.audiosynth.com>
SuperCollider - a real time audio synthesis programming language