views:

357

answers:

2

Hello,

I have a 44100 samples audio data at the moment but this will be larger in size. This is saved in a file. I would like to make a interval of these while reading this from a file and doing some more mathematical operations.

The interval will be repeated in the middle point until several levels. I was thinking about this but I use finally the whole samples without the interval. I could do interval in the middle initially, then repeating this in the middle in a repeated manner and then shifting and overlapping are confusing to me at this level.

I will appreciate this if you could give me some directions or some examples or hints of reference to learn more about this to be able to manage my algorithmic result. This is not an course assignment.

A: 

May I recommend you investigate libSndFile? (http://www.mega-nerd.com/libsndfile/) That will abstract away all the file handling from you, and has the bonus that you can save to a file format that you can easily audition.

Dave Gamble
A: 

Did you look at PortAudio SDK? http://www.portaudio.com/

Hernán