Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6175765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:58:53+00:00 2026-05-23T23:58:53+00:00

Hello, I’d like to implement a similar visual effects as iTunes plays music. I’m

  • 0

iTunes EQ

Hello,

I’d like to implement a similar visual effects as iTunes plays music. I’m using AVAudioPlayer, my sound files are local. I played the same files in iTunes and captured this screenshot.

Updated:

  1. I did research Apple’s avTouch sample. Visualization-wise, I’ve got a rough idea. but this sample is about volume metering
  2. someone told me I need to use FFT, but that’s too much over my head
  3. I found after iOS 4.1, the Accelerometer framework contains FFT DSP functions
  4. It seems I need to touch down to Core Audio (Audio Queue?) to get sample buffer then FFT it

Gee, I only want to implement a simple spectrum for my playback, anyone can help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:58:53+00:00Added an answer on May 23, 2026 at 11:58 pm

    The FFT “I” or real input is n samples from the sample buffer (preferably with a window weighting applied prior to the transformation). Set the “Q” or imaginary input to al zeros.

    The output is the complex spectrum with DC in the index=0 position. Index=1 corresponds to the sampling frequency divided by the FFT length N, index=2 twice that frequency and so on up to index N/2. To get the power at a certain frequency you need to add the squared real and imaginary parts.

    Typically you want to display the power in a dB scale, which is calculated as 10*log10(power), each block in the display corresponds to e.g. 3dB. You may also want to add some averaging or peak detection.

    The more advanced displays has a logarithmic frequency axis as well, e.g. each column corresponds to 1/12 octave. Ideally each output has its own filter but you may achieve something similar by adding the higher index FFT outputs instead of showing them all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello,I'd like to ask you two questions. (I am using java and jedis) I
Hello i have the following problem, I record a video using red5 like this:
Hello , I am using arshaw fullcalendar v1.5.2 (only month view ) for property
Hello StackOverflow, I'd like to know if there is way to trigger an event
Hello I am trying to implement a wake lock for an application. PowerManager pm
Hello I am trying to create a stacked barplot using the following code: test
Hello my Japplet is using a JComboBox and 5 JRadioButtons to draw and paint
hello dear developers! what are benefits of using rest api + oAuth in Rails
hello I am using ubuntu on android(with chroot) I am trying to execute xev
Hello i been trying to get a tokenizer to work using the boost library

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.