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

  • Home
  • SEARCH
  • 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 267457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T23:33:15+00:00 2026-05-11T23:33:15+00:00

Hi it’d like to know if it’s at all possible create a parametric equalizer

  • 0

Hi it’d like to know if it’s at all possible create a “parametric” equalizer in flash.
Not just the usual graphic effects but a tool to modify the output of the sound that pass trough the application. Any reference, tips idea welcomed.
Thanks

  • 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-11T23:33:15+00:00Added an answer on May 11, 2026 at 11:33 pm

    It’s not going to be terribly easy… but here might be a way:

    var parameters:Array = [1,1,1,1,0.5]
    var sound:Sound = new Sound();
    sound.addEventListener(SampleDataEvent.SAMPLE_DATA, filter); 
    sound.load(soundURLRequest);
    sound.play();
    
    private function filter(event:SampleDataEvent):void
    {
        var freqDomain:Array = FFT(event.data, parameters.length); // You will need to find a FFT(Fast Fourier Transform) function to generate an array. 
        for(var i:int = 0; i < freqDomain.length; i++)
        {
            freqDomain[i] = freqDomain[i] * parameters[i]; // This is where your EQ parameters get applied.
        }
        var timeDomain:Array = IFFT(freqDomain, event.data.length); // Inverse FFT
    
        for(value:Number in timeDomain) 
        {
            event.data.writeFloat(value);
        }
    }
    

    Some on the FFT and IFFT functions, FFT usually outputs complex values (real + complex components), which can be converted to magnitude and phase components. What you really need is only the magnitude, which has a formula = (sqrt(real^2 + complex^2)). Humans ears are NOT sensitive to the phase (As opposed to the eyes, which are VERY sensitive to phase), so when you do the inverse FFT, you can insert a random or flat phase with little difference. Note that my approach is very low level in terms of filter implementation.

    Here is a Fourier Transform function (not Fast though, it’s just a convolution (O(n^2)) vs FFT O(nlogn)) just for reference (err.. it’s off the top of my head so if might be wrong with the constants):

    // Note that this only returns the magnitude, I am discarding the phase.
    function FFT(sample:Array, size):Array
    {
        var frequencies = new Array(size);
        for(int i = 0; i < sample.size; i++)
        {
            for(int j = 0; i < frequencies.size; j++)
            {
                var real:Number = sample[i] * Math.cos(Math.PI/2 * i * j);
                var complex:Number = sample[i] * Math.sin(Math.PI/2 * i * j);
                frequencies[j] += Math.sqrt(real * real + complex * complex);
            }
        }
        return frequencies;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 252k
  • Answers 252k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Receiving mails with a servlet is like eating soup with… May 13, 2026 at 9:42 am
  • Editorial Team
    Editorial Team added an answer You have not specified ID for your <asp:panel> (?) This… May 13, 2026 at 9:42 am
  • Editorial Team
    Editorial Team added an answer The info you need can be found here. What you… May 13, 2026 at 9:42 am

Related Questions

Hi it'd like to know if it's at all possible create a parametric equalizer
So what I'm trying to do is replace a string keyword with <b>keyword</b> in
Hi is it possible to do the following? <a href=/Reports/report.aspx?StartDate=<% Request.Params.Get(StartDate); %>&EndDate=<% Request.Params.Get(EndDate); %>>View
Hi is it possible to fire pageindex changing event of a gridview with in
Hi is it possible to transform an images perspective. so it's new shape is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.