Re: UPDATE - Re: java coreaudio, missing methods
Re: UPDATE - Re: java coreaudio, missing methods
- Subject: Re: UPDATE - Re: java coreaudio, missing methods
- From: Wesley Miaw <email@hidden>
- Date: Tue, 2 Jul 2002 16:32:22 -0700
I just ran into this problem. The AudioConverterConvertBuffer and
AudioConverterFillBuffer functions didn't work for me. (The former
because it only does integral resampling, the latter because it doesn't
pass the data through a filter before resampling. (I suppose I could put
the filter in the input callback, but it was easier for me to just grab
the library I mention in the next paragraph.)
So, to convert 44.1kHz down to 8kHz, I used a combination of the
open-source dspGuru resampling algorithms (
http://www.dspguru.com/) and
Matlab to create a lowpass FIR filter. If you want to see my efforts,
along with the Matlab instructions, checkout Open Mash
(
http://www.openmash.org/) from CVS and look in the
mash/audio/audio-macosx.[h|cc] and mash/audio/decim_3528kHz_8kHz.inc
files.
Date: Tue, 2 Jul 2002 13:25:28 +0200
From: Kay Michael Koehler <email@hidden>
i installed the java131 update, but the following class method
(mentioned in the docs) is not available.
AudioHardware.createVirtualSource();
if this problem is not resolvable, is there an other way to convert the
44khz audio down to 8khz ?
--
Wesley Miaw, Berkeley Multimedia Research Center
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.