bugGNU Octave - Bugs: bug #39639, wavread(name,"size")...

 
 

bug #39639: wavread(name,"size") returns outputs incorrectly

Submitter:  None
Submitted:  Wed 31 Jul 2013 11:29:35 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Fixed Assigned to:  None
Originator Name:  Julius Smith Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 07 Aug 2013 02:37:36 PM UTC, comment #2: 

I fixed this on the development branch in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/af2051e363ea).  It will be a part of the next release of Octave (3.8) or you can build from Mercurial sources to see the fix.

Rik <rik5>
Group administrator
Thu 01 Aug 2013 01:19:25 PM UTC, comment #1: 

Thanks for your bug report. Confirmed on the latest development version of Octave.

Mike Miller <mtmiller>
Group Member
Wed 31 Jul 2013 11:29:35 PM UTC, original submission:  


> [len,chans] = wavread(fname,"size");

> len
len =

   41603       1

> chans
chans =  22050


The number of channels is 1.  22050 happens to be the sampling rate.  It should look like this, according to "help wavread":

> [len,chans] = wavread(fname,"size");

> len
len = 41603

> chans
chans =  1



Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-07 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2013-08-01 mtmiller StatusNone Confirmed
        Release3.6.4 dev
        Operating SystemMac OS Any

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code