Hi, I have made a small package for playing and recording audio using ALSA for octave. The package contains the four functions: aplay, arecord, aplayrec, and ainfo respectively.
The duplex funtion, aplayrec, uses one thread for playing and one for capturing audio data. This is probably not the best method but I have not found any way to synchronize the play and rec processes (the play and rec processes seem to be independent). Anyway, I have put the file (aaudio-0.1.0.tar.gz) here http://folk.uio.no/fl/aaudio.shtml for review. I would be happy to add it to octave-forge (do I need svn access for that?) Regards, Fredrik Lingvall ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev