bugGNU Octave - Bugs: bug #31842, play WARN au: header size 24 is...

 
 

bug #31842: play WARN au: header size 24 is too small when using sound command

Submitter:  Rick T <ratulloch>
Submitted:  Fri 10 Dec 2010 06:30:55 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Octave Forge Assigned to:  None
Originator Name:  Rick T Open/Closed:  * Closed
Release:  * 3.2.4 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 12 Dec 2010 05:26:35 AM UTC, comment #2: 

BTW, I think the reason you can't suppress the warning message using Octave's warning function is that the sound function executes the external program "play" to play the sound file and the warning is coming from the  external program, not Octave.

John W. Eaton <jwe>
Group administrator
Sun 12 Dec 2010 05:23:56 AM UTC, comment #1: 

This looks like a problem with an Octave Forge package, not a bug
in Octave.  The correct place to report this problem is the
Octave Forge mailing list, octave-dev@lists.sourceforge.net.

A copy of this update to the bug report is being sent to that
list so that they are aware of it.  Please follow up there.

John W. Eaton <jwe>
Group administrator
Fri 10 Dec 2010 06:30:55 AM UTC, original submission:  

I'm using the sound command and successfully playing the audio, but getting a warning message returned every time it plays. I'd like to get rid of the warning- it's quite annoying.

I've tried the warning off command, either using the the first line of the warning message as my specific warning to turn off in the command or just using the typing in >>>warning ("off", "all")
to get rid of all warnings. Neither work. It may be because Octave doesn't consider it a proper warning message (which would be odd, since it uses the word 'warn' in the message). When I type in >>>lastwarn, it returns an earlier, unrelated warning instead of the one that was just given (perhaps of a more standard warning format? It returns >>>warning: fopen: file found in load path). Maybe I need to tell Octave to suppress something besides a warning? I've copied/pasted an example below:

>>> sound([y( 21481 : 24558 )], 44100, 16);

play WARN au: header size 24 is too small

-: (au)

  Encoding: Signed PCM    
  Channels: 1 @ 16-bit  
Samplerate: 44100Hz      
Replaygain: off        
  Duration: unknown      


In:0.00% 00:00:00.00 [00:00:00.00] Out:0     [      |      ]        Clip:0    
In:0.00% 00:00:00.07 [00:00:00.00] Out:3.08k [  ====|====  ]        Clip:0    
Done.

This is the versions I have installed
GNU Octave Version 3.2.4
GNU Octave License: GNU General Public License
Operating System: Linux 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 10:14:11 UT
C 2010 x86_64
----------------------------------------------------------------------
Package Name       | Version | Installation directory
-------------------+---------+-----------------------
            audio *|   1.1.4 | /usr/share/octave/packages/3.2/audio-1.1.4
    combinatorics *|   1.0.9 | .../share/octave/packages/3.2/combinatorics-1.0.
9
   communications *|  1.0.10 | .../octave/packages/3.2/communications-1.0.10
          control *|  1.0.11 | /usr/share/octave/packages/3.2/control-1.0.11
              ftp  |   1.0.2 | /usr/share/octave/packages/3.2/ftp-1.0.2
informationtheory *|   0.1.8 | .../octave/packages/3.2/informationtheory-0.1.8
      integration *|   1.0.7 | /usr/share/octave/packages/3.2/integration-1.0.7
             irsa *|   1.0.7 | /usr/share/octave/packages/3.2/irsa-1.0.7
   linear-algebra *|   1.0.8 | .../octave/packages/3.2/linear-algebra-1.0.8
    miscellaneous *|   1.0.9 | .../share/octave/packages/3.2/miscellaneous-1.0.
9
        multicore *|  0.2.15 | /usr/share/octave/packages/3.2/multicore-0.2.15
              nan  |   1.0.9 | /usr/share/octave/packages/3.2/nan-1.0.9
            optim *|   1.0.6 | /usr/share/octave/packages/3.2/optim-1.0.6
           signal *|  1.0.10 | /usr/share/octave/packages/3.2/signal-1.0.10
          specfun *|   1.0.8 | /usr/share/octave/packages/3.2/specfun-1.0.8
          splines *|   1.0.7 | /usr/share/octave/packages/3.2/splines-1.0.7
          strings *|   1.0.7 | /usr/share/octave/packages/3.2/strings-1.0.7
         symbolic *|   1.0.9 | /usr/share/octave/packages/3.2/symbolic-1.0.9
             time *|   1.0.9 | /usr/share/octave/packages/3.2/time-1.0.9

Rick T <ratulloch>

 

(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 jwe (Posted a comment)
  • -email is unavailable- added by jwe
  • -email is unavailable- added by ratulloch (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-12 jwe StatusNone Octave Forge
        Open/ClosedOpen Closed
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code