• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Altivec FFT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Altivec FFT


  • Subject: Re: Altivec FFT
  • From: Daniel Todd Currie <email@hidden>
  • Date: Sun, 25 Jan 2004 19:34:29 -0800

I'm no expert, but isn't FFT for decomposition of acquired data?

If I wanted to create a buffer of sinewave data, I would think it far easier to just do:

unsigned i;
float sineBuffer[512];
float desiredFrequency = 440; // 440 Hz, for example

while(i < 512)
{
sineBuffer[i] = sin(2 * M_PI * i * (desiredFrequency / 44100)); // for sample rates of 44.1 kHz
}

// Daniel Currie


On 2004 Jan 25, at 18:24, John Mullins wrote:

Hey,
I'm trying to use the FFT functions in vDSP to generate Sine, Square, etc, but I'm pretty clueless as to how to accomplish this. If someone could send me the code to generate a sine wave with it, or some already existing sample code that would be great.

I don't really understand how to actually grab from the table , or where it puts the information generated... thanks

John Mullins
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Altivec FFT
      • From: Kurt Bigler <email@hidden>
References: 
 >Altivec FFT (From: John Mullins <email@hidden>)

  • Prev by Date: Altivec FFT
  • Next by Date: Stereo interleaved 16-bit format
  • Previous by thread: Altivec FFT
  • Next by thread: Re: Altivec FFT
  • Index(es):
    • Date
    • Thread