vinniefalco / DSPFilters

A Collection of Useful C++ Classes for Digital Signal Processing
1.87k stars 380 forks source link

What format are the filters expecting for audio data? #58

Open tdbarth1 opened 4 years ago

tdbarth1 commented 4 years ago

I am attempting to construct filters for testing, but I am not sure where to get audio data for which to run through the filters and what format the filters expect the data to be in. Any help would be appreciated, thanks!

Rakib1503052 commented 3 years ago

The format is an array of pointers to data arrays. e.g. float* a[1]; a[0] = new float[44410]; //filter setup process(a,44410); "a" can have more elements, each pointing to a different array. The filter will treat each of them as separate channels. The audio data goes into the "new" array.