Re: [Osalp-dev] aflibConverter question
Status: Abandoned
Brought to you by:
daservis
|
From: Akos M. <da...@ty...> - 2002-03-06 00:25:48
|
Darrick Servis wrote: > I do agree don't use the class directly. It's based on Julius Smith's > resample-1.6 program and is very hacked up to allow for streaming data. > > http://www-ccrma.stanford.edu/~jos/resample/Available_Software.html > > What is exactly is it you are trying to do. I've spent a lot of time on this > class and the library in general over the past couple of weeks so maybe there > is a better way to do what you need with using the aflibConvertor class > directly. What I want to do is: I have raw audio read from the soundcard (interleaved), and I need to resample it. The ultimate output will be an array of samples for each channel (of type double), but of course interleaved raw data is good enough (in a short array). It's all part of a project called darkice, http://darkice.sourceforge.net/ >>>- in inArray, should I supply a 2 channel input with channels >>> > > If you have more then one channel the data should be consectutive. i.e. all > the data for the first channel then all the data for the second. I see. So maybe it's better split an interleaved input to two channels, and resample them seperately? Thanks for all the info, Akos |