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

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

[Octave-bug-tracker] [bug #64379] audioplayer creation fails


From: Rik
Subject: [Octave-bug-tracker] [bug #64379] audioplayer creation fails
Date: Sun, 9 Jul 2023 01:22:54 -0400 (EDT)

Follow-up Comment #2, bug #64379 (project octave):

The second issue, getplayer() failing, does only occur when the data is empty.
 I tried this code which works:


A = audiorecorder ();
record (A);
## talk to microphone
stop (A);
p = getplayer (A);


In Matlab, attempting 


p = audioplayer ([], 8000)


emits an error that the first argument, Y, must be non-empty.

It seems that Octave should do likewise, rather than emit a strange error
about out-of-bound indexing.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64379>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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