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

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

[Octave-bug-tracker] [bug #43994] New audio can crash octave when rerun.


From: Stefan Mahr
Subject: [Octave-bug-tracker] [bug #43994] New audio can crash octave when rerun.
Date: Wed, 14 Jan 2015 19:22:26 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0

Follow-up Comment #8, bug #43994 (project octave):

markuman was so kind to test this code with matlab R2014b:

Fs=44100;
t=10;
x=0:1/Fs:t;
y(:,2)=sin(2*pi*220*x);
y(:,1)=sin(2*pi*440*x);
q=audioplayer(y,Fs,16);
play(q);
pause(2);
q=audioplayer(y,Fs,16);


The sound stopped after 2 seconds. There was *no warning and no error*
message.

Without second 'q=audioplayer...' it plays 10 seconds, as expected.

So I think the current approach is the right way, but the warning is not
neccessary to be MATLAB compatible.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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