[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59082] Audioplayer command is always returnin
From: |
John Grimes |
Subject: |
[Octave-bug-tracker] [bug #59082] Audioplayer command is always returning an error. |
Date: |
Tue, 8 Sep 2020 11:14:12 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36 Edg/84.0.522.63 |
URL:
<https://savannah.gnu.org/bugs/?59082>
Summary: Audioplayer command is always returning an error.
Project: GNU Octave
Submitted by: johng
Submitted on: Tue 08 Sep 2020 03:14:10 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name: John Grimes
Originator Email:
Open/Closed: Open
Release: 6.0.90
Discussion Lock: Any
Operating System: Microsoft Windows
_______________________________________________________
Details:
Version 6.0.90 of Octave.
I have not been able to get the audioplayer or sound commands to function
properly. I get the following error.
à£żerror: audioplayer: NBITS must be 8, 16, or 24
error: called from
audioplayer at line 112 column 19
Here is is what I used to generate the error. When I play cosine.ogg with
another media player, it functions fine.
filename='cosine.ogg';
fs=44100;
t=0:1/fs:10;
w=2*pi*440*t;
signal=cos(w);
audiowrite(filename, signal, fs);
[y,fs]=audioread('cosine.ogg');
player=audioplayer(y,fs,8)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59082>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59082] Audioplayer command is always returning an error.,
John Grimes <=