octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50674] audiorecorder() crashes in getaudiodat


From: Lars Kindermann
Subject: [Octave-bug-tracker] [bug #50674] audiorecorder() crashes in getaudiodata()
Date: Thu, 31 Aug 2017 00:51:23 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #7, bug #50674 (project octave):

Mike, to keep compability, getaudiodata() should work while recording. 

I don't have Matlab access at the moment to verify for the current version,
but I did a lot of audio processing with Matlab which I try to port to Octave
now. The Matlab options for real-time recording and processing are:

Audiorecorder object: easy to use, it is possible to access data during async
record, either in a loop or timer-fcn, but you can only retrieve the complete
data from the start of the recording, like Octave does now (apart from the
bug). This means after some time getaudiodata returns very big arrays where
only the end is of interest, and finally the memory will be full. But for some
time you can do real-time processing thiy way.
 
Data aquisition toolbox: works like it should be: you can record forever
because buffers can be released after retrieval. The only problem is the
restriction to standard audio settings: 2 channels and limited samplingrates.

Playrec: best solution so far, simultanous recording and playback of lots of
channels, resolutions and samplerates, all that portaudio supports. I managed
to process 16 channels at 192kHz and 32Bit resolution. Problem: difficult to
compile and setup. But code is open source.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50674>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]