<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Have you tried running it on the
      command line rather than through the miniAudicle? I think at the
      moment we're having trouble reproducing this bug.<br>
      <br>
      Joel<br>
      <br>
      On 06/13/2014 11:39 AM, George Locke wrote:<br>
    </div>
    <blockquote
cite="mid:CAD9rD4o8hwUXXEziRoz4UDtqA688_p2NpwT5x8Nbz7yFn9dD_g@mail.gmail.com"
      type="cite">
      <div dir="ltr">just going to bump this. &nbsp;chuck can't record a wav!
        &nbsp;what?!
        <div><br>
        </div>
        <div>aifFilename is working, so at least I can record what I'm
          doing. &nbsp;but srsly, ppl, this is a major bug.</div>
        <div><br>
        </div>
        <div>&nbsp;- George</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Jun 10, 2014 at 5:02 PM, George
          Locke <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:george.locke.maxmsp@gmail.com"
              target="_blank">george.locke.maxmsp@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>Thanks for the reply. &nbsp;I tried&nbsp;w.closeFile() (w/o the
                argument), and I tried ending the script with null
                @=&gt; w; and neither has helped.<br>
              </div>
              <div><br>
              </div>
              <div>Regards,</div>
              <div>George</div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">On Tue, Jun 10, 2014 at 4:43
                    PM, Tom Lieber <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:tom@alltom.com" target="_blank">tom@alltom.com</a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">This probably isn&#8217;t helpful, but
                        I&#8217;m using the same versions of ChucK and
                        miniAudicle on OS X and the blerg.wav file looks
                        fine.
                        <div><br>
                        </div>
                        <div>I&#8217;ve had trouble generating WAV files from
                          miniAudicle in the past, but I think that was
                          when I didn&#8217;t call closeFile() explicitly and
                          ChucK never flushed.
                          <div>
                            <br>
                          </div>
                          <div>I don&#8217;t think the argument to closeFile
                            does anything, so I never provide it. :)</div>
                        </div>
                      </div>
                      <div class="gmail_extra"><br>
                        <br>
                        <div class="gmail_quote">2014-06-10 8:34
                          GMT-07:00 George Locke <span dir="ltr">&lt;<a
                              moz-do-not-send="true"
                              href="mailto:george.locke.maxmsp@gmail.com"
                              target="_blank">george.locke.maxmsp@gmail.com</a>&gt;</span>:<br>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">
                            <div>
                              <div>
                                <div dir="ltr">Hi,
                                  <div><br>
                                  </div>
                                  <div>The output format of WvOut is
                                    coming out wrong. &nbsp;Audacity doesn't
                                    recognize it as a wav (does not
                                    recognize type, suggests import
                                    raw), and windows media player
                                    rejects it as well. &nbsp;Importing the
                                    file&nbsp;into Audacity&nbsp;as raw data works
                                    somewhat, but as I'm diagnosing a
                                    dc-offset, I need an exact result.</div>
                                  <div><br>
                                  </div>
                                  <div>here's some example code:</div>
                                  <div>
                                    <div><br>
                                    </div>
                                    <div>SinOsc s =&gt; Gain g =&gt;
                                      dac;</div>
                                    <div>s.freq(400);</div>
                                    <div>g.gain(0.5);</div>
                                    <div>g =&gt; WvOut w =&gt;
                                      blackhole;</div>
                                    <div>"blerg.wav" =&gt; string file;</div>
                                    <div>w.wavFilename(file);</div>
                                    <div>1::second =&gt; now;</div>
                                    <div>w.closeFile(file); // what is
                                      the function of the argument here?
                                      can WvOut record multiple buffers
                                      at once?</div>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div>
                                    I'm not so experienced with chuck
                                    but experienced in "normal" computer
                                    programming. &nbsp;Running miniAudicle
                                    1.3.1 with chuck 1.3.3.0 on windows
                                    7 pro sp1 (32 bit).</div>
                                  <div><br>
                                  </div>
                                  <div>Thanks,</div>
                                  <div>George</div>
                                  <div><br>
                                  </div>
                                  <div><br>
                                  </div>
                                </div>
                                <br>
                              </div>
                            </div>
_______________________________________________<br>
                            chuck-users mailing list<br>
                            <a moz-do-not-send="true"
                              href="mailto:chuck-users@lists.cs.princeton.edu"
                              target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
                            <a moz-do-not-send="true"
                              href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users"
                              target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
                            <br>
                          </blockquote>
                        </div>
                        <span><font color="#888888"><br>
                            <br clear="all">
                            <div><br>
                            </div>
                            -- <br>
                            Tom Lieber<br>
                            <a moz-do-not-send="true"
                              href="http://AllTom.com/" target="_blank">http://AllTom.com/</a><br>
                            <a moz-do-not-send="true"
                              href="http://infinite-sketchpad.com/"
                              target="_blank">http://infinite-sketchpad.com/</a>
                          </font></span></div>
                      <br>
                      _______________________________________________<br>
                      chuck-users mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:chuck-users@lists.cs.princeton.edu"
                        target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
                      <a moz-do-not-send="true"
                        href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users"
                        target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
chuck-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>