[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55530] audiorecorder default settings incorre
From: |
Lars Kindermann |
Subject: |
[Octave-bug-tracker] [bug #55530] audiorecorder default settings incorrect |
Date: |
Sun, 20 Jan 2019 17:33:23 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0 |
URL:
<https://savannah.gnu.org/bugs/?55530>
Summary: audiorecorder default settings incorrect
Project: GNU Octave
Submitted by: larskindermann
Submitted on: Sun 20 Jan 2019 10:33:21 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.0.1
Operating System: Any
_______________________________________________________
Details:
The help for audiorecorder states 8 bit mono audio at 8000 Hz sample rate as
default.
This is also the Matlab default.
>> help audiorecorder
'audiorecorder' is a function from the file
/usr/local/share/octave/5.0.1/m/audio/@audiorecorder/audiorecorder.m
-- RECORDER = audiorecorder ()
-- RECORDER = audiorecorder (FS, NBITS, CHANNELS)
-- RECORDER = audiorecorder (FS, NBITS, CHANNELS, ID)
Create an audiorecorder object recording 8 bit mono audio at 8000 Hz
sample rate.
But current audirecorder initializes to 16 bit stereo at 44100 Hz.
> recorder=audiorecorder
recorder =
audiorecorder object with properties:
BitsPerSample = 16
CurrentSample = 0
DeviceID = -1
NumberOfChannels = 2
Running = off
SampleRate = 44100
TotalSamples = 0
Tag =
Type = audiorecorder
UserData = [](0x0)
Perhaps this was chosen due to
bug #44305: audiorecorder (8000, 8, 1) returns corrupted audio stream
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55530>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55530] audiorecorder default settings incorrect,
Lars Kindermann <=