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 9127743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:21:15+00:00 2026-06-17T07:21:15+00:00

I use the FFT function from the Libgdx library for a project in Android,

  • 0

I use the FFT function from the Libgdx library for a project in Android, where I process the accelerometer signal for create a signal spectrum.

I need to normalize the output from accelerometer data, i read there isn’t a “correct” way to do this but is conventional. Someone use dividing by 1/N in FFT, other by 1/sqrt(N).

I didn’t understand if this is conventional for who implements the library, this mean that every library have his normalization factor, or is conventional for the user than I can decide for aesthetic representation.

If it depends on library, which is the normalization factor for FFT in LIBGDX library?

Edit1: I searched already inside documentation but I found nothing. Here is it: http://libgdx-android.com/docs/api/com/badlogic/gdx/audio/analysis/FFT.html

  • 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-06-17T07:21:16+00:00Added an answer on June 17, 2026 at 7:21 am

    I was about to say “just check the documentation”, but it turns out that it’s terrible, and doesn’t say one way or the other!

    Still, you could determine the scale factor empirically. Just run an FFT on all-ones dataset. There will be one non-zero bin in the output. There are three likely values of this bin:

    • 1.0: The scale was 1/N
    • sqrt(N): The scale was 1/sqrt(N)
    • N: The scale was 1

    You can do the same trick for the inverse FFT, although it’s redundant. The forward and inverse scale factors must multiply to 1/N.

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

Sidebar

Related Questions

I have a question regarding use of FFT. Using function getBand(int i) with Minim
Do i need to use FFT? Is there any SDK or smth?
Rebuilding original signal from frequencies, amplitude, and phase obtained after doing an fft. Greetings
I am using the FFT function in NumPy to do some signal processing. I
I build Android project where I use Android NDK with LibXTract to extract audio
I want to use fft in MATLAB to analize some exprimental data saved as
Implementing a low pass FIR filter, when should one use FFT and IFFT instead
I am trying to re-implement one of the matlab toolboxes. they use fft over
I'm working on an android project that involves native code and I'm trying to
I want to do the FFT of an audio signal in real time, meaning

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.