[music-dsp] cos+img(sin) or... ifft...
Leif - Christian Ringstad
leifcr at hekta.org
Mon Mar 31 11:01:00 EST 2003
hehe... stupid me... I should have played a bit more around in matlab...
got locked up on that I needed the i for the phase...
> Just ditch the "i"--you are already doing it with the cos/sin
> Leif - Christian Ringstad wrote:
>>I'm doing this :
>>y = A*cos(k*x/32)+i*B*sin(k*x/32) and so on... where k is from 1 to 32.
>>which is the base of a ifft really...
>>What my problem now is... how to get that imaginary part onto c code..
>>this is an approach that I have thought of :
>>for (k = 1 ; k = 32;k++)
>>A and B are variables that come from some earlier parts of the code.
>>The problem then is how to implement the imaginary part, which will be
>>a change of the phase. Anyone that can lead me to a start ?
>>drift - hekta.org
> dupswapdrop -- the music-dsp mailing list and website: subscription
> info, FAQ, source code archive, list archive, book reviews, dsp links
More information about the music-dsp