From: wijesijp on
I am new to audio processing. What I wanted to do is amplify certain
frequencies in my data.

I have written an application in c++ with a callback function that gets the
audio data to a buffer. Now I need to apply some function to this data to
amplify my frequencies.

Can I do this using a filter?

Is there an existing code I can use?

Can someone point me in the right direction ?



From: Rune Allnor on
On 6 Mai, 14:43, "wijesijp" <wijesena(a)n_o_s_p_a_m.gmail.com> wrote:
> I am new to audio processing. What I wanted to do is amplify certain
> frequencies in my data.
>
> I have written an application in c++ with a callback function that gets the
> audio data to a buffer.  Now I need to apply some function to this data to
> amplify my frequencies.
>
> Can I do this using a filter?

Yes.

Rune
From: Jerry Avins on
On 5/6/2010 8:43 AM, wijesijp wrote:
> I am new to audio processing. What I wanted to do is amplify certain
> frequencies in my data.
>
> I have written an application in c++ with a callback function that gets the
> audio data to a buffer. Now I need to apply some function to this data to
> amplify my frequencies.
>
> Can I do this using a filter?

Yes. That's what filters do.

> Is there an existing code I can use?

Depends. What environment do you work in?

> Can someone point me in the right direction ?

You need to review the basics. Do you have time to read a book?

Jerry
--
"I view the progress of science as ... the slow erosion of the tendency
to dichotomize." --Barbara Smuts, U. Mich.
�����������������������������������������������������������������������
From: Mark on
On May 6, 8:43 am, "wijesijp" <wijesena(a)n_o_s_p_a_m.gmail.com> wrote:
> I am new to audio processing. What I wanted to do is amplify certain
> frequencies in my data.
>
> I have written an application in c++ with a callback function that gets the
> audio data to a buffer.  Now I need to apply some function to this data to
> amplify my frequencies.
>
> Can I do this using a filter?
>
> Is there an existing code I can use?
>
> Can someone point me in the right direction ?

there are existing PROGRAMS that do this, i.e. audio editing programs
called digital audio workstations (DAW).

N-track studio for example allows you to basically draw the shape of
the filter you would like and it will process a .wav file with that
filter. You can even drag /change the filter shape while you listen
to the playback in real time.

Mark


From: wijesijp on
>On 5/6/2010 8:43 AM, wijesijp wrote:
>> I am new to audio processing. What I wanted to do is amplify certain
>> frequencies in my data.
>>
>> I have written an application in c++ with a callback function that gets
the
>> audio data to a buffer. Now I need to apply some function to this data
to
>> amplify my frequencies.
>>
>> Can I do this using a filter?
>
>Yes. That's what filters do.
>
>> Is there an existing code I can use?
>
>Depends. What environment do you work in?


I wrote this program for iPhone. I guess I should be able to get a
standard c/c++ code to work.

>
>> Can someone point me in the right direction ?
>
>You need to review the basics. Do you have time to read a book?

I don't think I have time to read a book. Anyway my area is Human
Computer Interaction. So I would prefer to use some existing code and get
the program working.

What I like to do is amplify 250Hz, 500Hz, 1000Hz, 2000Hz, 4000Hz, 8000Hz
based on uses input.


>
>Jerry
>--
>"I view the progress of science as ... the slow erosion of the tendency
> to dichotomize." --Barbara Smuts, U. Mich.
>�����������������������������������������������������������������������
>