Re: Audiofire 8 sound card (=?ISO-8859-1?Q?P=E1draig_Kitterick?=)


Subject: Re: Audiofire 8 sound card
From:    =?ISO-8859-1?Q?P=E1draig_Kitterick?= <=?ISO-8859-1?Q?P=E1draig_Kitterick?=>
Date:    Tue, 31 Jul 2007 09:50:19 +0100
List-Archive:<http://lists.mcgill.ca/scripts/wa.exe?LIST=AUDITORY>

Dear list, Due to the large amount of interest I have received from members of this list in relation to the Matlab ASIO extension I mentioned, I thought it would be a good idea to post a link to the code here. You can find it on the Matlab Fileexchange at: http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15704&objectType=file Any questions or comments, etc. are welcome, Best wishes, Padraig -------- Original Message -------- Subject: Re: Audiofire 8 sound card Date: Mon, 09 Jul 2007 10:43:12 +0100 From: Pádraig Kitterick <p.kitterick@xxxxxxxx> To: AUDITORY - Research in Auditory Perception <AUDITORY@xxxxxxxx> References: <AUDITORY%200707080010278280.5021@xxxxxxxx> Hi Elena, Be aware that pa_wavplay loads the entire sample buffer into memory _before_ playing, which of course causes large delays for large soundfiles. This was a particular problem with the type of multi-channel, high sampling rate files I was trying to play in a time-critical application. So, I put together a MEX extension for Matlab which uses ASIO, PortAudio (http://www.portaudio.com/) and libsndfile (http://www.mega-nerd.com/libsndfile/). It does a buffered read from the sound file, allowing for instant playback of even very large files, and has full support for any device with ASIO-compliant drivers. Let me know if you're interested and I send you the code. Padraig -- Pádraig Kitterick Graduate Student Department of Psychology University of York Heslington York YO10 5DD UK Tel: +44 (0) 1904 43 3170 Email: p.kitterick@xxxxxxxx -- Pádraig Kitterick Graduate Student Department of Psychology University of York Heslington York YO10 5DD UK Tel: +44 (0) 1904 43 3170 Email: p.kitterick@xxxxxxxx


This message came from the mail archive
http://www.auditory.org/postings/2007/
maintained by:
DAn Ellis <dpwe@ee.columbia.edu>
Electrical Engineering Dept., Columbia University