>>>>> "cenobyte" == cenobyte <[email protected]> writes:
> I was looking in my laptop repos and found the package octave-audio > which lets you record and plot audio from within Octave and thought it > might be cool to get this working on the Ben as a sort of Audacity > replacement (of course less features) Note that you can easily do audio-processing from Octave without octave-audio. Use popen() to open a pipe to the 'sox' program with 'sox' passing raw sample data to/from octave. Then use 'fread()' to read the sample data. Here is an example octave script I created a few years back: http://mosquito.dyndns.tv/freesvn/trunk/dkbin/splitaudio.oct It reads a wave file, searches for a certain 'beep' sound (given by the 'sepfile' argument), and cuts the input wave file into pieces whenever the 'beep' is found. It inputs and outputs wave files via popen&sox. If you slightly change the sox command line you could also input/output directly from the linux audio driver (try "-t ossdsp /dev/dsp", maybe it also supports ALSA?). cheers, David -- GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40
pgp4zjOdRSOzw.pgp
Description: PGP signature
_______________________________________________ Qi Hardware Discussion List Mail to list (members only): [email protected] Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion

