Follow up on my previous comment: I have pa_wavplay working now on a 64-bit Win 7 machine with MATLAB R2013b(32-bit). The digitizer is a PreSonus FP-10 with Firewire interface and the PreSonus ASIO driver. My experience agrees with what Philippe-Aubert Gauthier reported below in 2010: pa_wavplay still works but you must use a 32-bit version of MATLAB.
What is is the maximum number of channels that it can support?
I plan to use about 64 Inputs. I can manage to find a 64 Input sound card. But, is it possible to record all those channels using this code?
Pretty good stuff, my only gripes would be my inability to turn off the printed text "Playing on device (x)" and "Recording on device (x)", probably because I'm a DLL novice. Also, the lag between recordings (see Daniel Oberfeld's comment) was an issue for my planned use. Nevertheless, great coding and thanks!
Following my previous comment, here is my recent advice. On win64 bits, I have not been able to run pa_wavplay in Matlab 64 bits. Using Matlab 32 bits in Win 7 64 bits, I have been able to run pa_wavplay without any problem with a 96-channel system made from MOTU sound cards.
Anybody heard about a a win64 compiled version of the pa_wavplay's sll?
15 May 2008
Works well with my Creative E-MU 0202 USB SoundCard
28 Jan 2008
Worked extremely well out of the box! Why hasn't something like this been incorporated into Matlab yet?
16 May 2007
Fantastic; it worked straight away with my Digigram VXPocket 440 soundcard (4 outputs and 2 inputs); many thanks!
06 Apr 2006
I am wondering if pa_wavplay is working with ASIO or ASIO2? Since it is from 2003, and I think (?) that ASIO2 are from 2002-2003?
23 Mar 2006
A really great set of functions. I am now using pawavplaya directly and wondering why (by comparison with "soundsc" or "sound" in Matlab) it is not possible to make something else (in the command window) when "pawavplaya" is running ... "sound" seems to be based on "playsnd" which does not stop the access to the command window. Anyway, the functions are so great that I must admit that without that I would not have been able to finish my PhD on time!
23 Feb 2006
Very good software, but I've got a mistake with memory management: I have put the function call 'pawavplayw' into a loop to continuously record 1 second samples, but it uses more and more memory, and Matlab crashes after about 50 iterations.
So do anyone have the solution to this problem?? (how to release memory between each iteration?)
30 Jan 2006
First of all how do I get this application to run.I am new to matlab so please would someone give me a step by step guide on how to do this.I want to play a wav file that has 5 columns in matlab so i understand pa_wavplay can do that.However,I realised the setup is quite straight.What other supporting libraries do i need to download and where do i install what.do the dll's go into my matlab working directory or somewhere else?
Too many questions,please help
09 Dec 2005
I would love some follow up concerning using this file with the MBox since that was the only negative review. grazi: firstname.lastname@example.org
06 Apr 2005
Once again Matt Frear amazes us with his amazing talents and produces software that exceeds even our most lofty expectations. Well done Matt!
05 Apr 2005
I can't seem to get any sound in or out using M-box (I've installed the ASIO core drivers available on Digidesigns homepage)! :(
11 Mar 2005
Great, exactly what I was looking for... Tried to code something myself with PortAudio, but this tool saved me loads of time.
1) Would be nice if one could control the latency between input and output. I use an RME Digi 9636 and the recodings always have some 100 ms of silence at the beginning.
2) Sometimes I get 'truncated playback': the last few ms of a sound are not played. I use a simple workaround by padding the sound with 100 ms digital 0.
02 Mar 2005
Works great! Very useful!
28 Dec 2004
ASIO works great with the Echo Gina3G multichannel card. Thank you!
03 Nov 2004
22 May 2004
Excellent job. Its very helpfull. :)
21 May 2004
very nice, but with 'async' mode support, this package will be more and more useful. Regarding 'async' mode, see "help wavplay";-)
28 Nov 2003
Very neat and nice indeed! I think you're using PortAudio. Thanks!
02 Oct 2003
This is simply the best piece of software ever written.
02 Oct 2003
Rua Haszard Morris
02 Oct 2003
Modified documentation and Description for web page.
19 Nov 2003
Added a link to the source code in Other requirements.