reading the values, i see mostly 0s but a few -1 and 1. using audacity to add more silence to the file, i do get a larger file ranging in size as one would expect with more samples. i think audacity is adding 0 level samples not using the "silent" chunk. i can send the wav file i am using if i know how to send it to you. if i edit the file in audacity using the draw function that allow you to edit each sample individually, i get pretty much random results instead of anything that makes sense. raising some 0 samples to something above the midline (0) i get a mix of negative values and pretty much all of them are distorted as if there is some offset in the bytes. the info dump shows numbers of bytes in samples and header, and total data that all add up correctly. thanks for any help.

In reply to Re^2: Audio::WAV data problem by spencoid
in thread Audio::WAV data problem by spencoid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.