<div dir="ltr">Unsubscribe<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 14, 2014 at 3:15 PM, Perry Cook <span dir="ltr"><<a href="mailto:prc@cs.princeton.edu" target="_blank">prc@cs.princeton.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok,<br>
<br>
I just tried this on Windoze 8.1 Pro. Newest installer from<br>
The ChucK/mini download page. Ran both command line<br>
and miniAudicle. Audacity, QuickTime player, iTunes, and<br>
my own sndview (DOSBox based sound/spectrum viewer,<br>
First created in 1988, migrated forward since) all read and<br>
play the created file without complaint.<br>
<br>
Only GoldWave gave me a warning that the internal size<br>
didn't match the header, but opened it and played it fine.<br>
<br>
Prc<br>
<br>
<br>
Sent from my iPad :-)<br>
<br>
> On Jun 14, 2014, at 9:00 AM, <a href="mailto:chuck-users-request@lists.cs.princeton.edu">chuck-users-request@lists.cs.princeton.edu</a> wrote:<br>
><br>
> Send chuck-users mailing list submissions to<br>
> <a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
> or, via email, send a message with subject or body 'help' to<br>
> <a href="mailto:chuck-users-request@lists.cs.princeton.edu">chuck-users-request@lists.cs.princeton.edu</a><br>
><br>
> You can reach the person managing the list at<br>
> <a href="mailto:chuck-users-owner@lists.cs.princeton.edu">chuck-users-owner@lists.cs.princeton.edu</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of chuck-users digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. Re: WvOut format (Spencer Salazar)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Sat, 14 Jun 2014 14:37:09 +0800<br>
> From: Spencer Salazar <<a href="mailto:spencer@ccrma.stanford.edu">spencer@ccrma.stanford.edu</a>><br>
> To: ChucK Users Mailing List <<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a>><br>
> Subject: Re: [chuck-users] WvOut format<br>
> Message-ID:<br>
> <<a href="mailto:CA%2BezOE5VO%2BV40a3oK%2BV1W%2BA1WLrUA6R%2BO4uNjQpvhkXEevPung@mail.gmail.com">CA+ezOE5VO+V40a3oK+V1W+A1WLrUA6R+O4uNjQpvhkXEevPung@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> George,<br>
><br>
> This has been a source of problems the past few versions as we have<br>
> refactored WvOut to optimize real-time performance. That being said I can't<br>
> reproduce this bug on Windows XP with chuck 1.3.3.0 or 1.3.4.0. I can't<br>
> test on Windows 7 at the moment, but I may be able to try that a bit later.<br>
><br>
> A few ideas-<br>
><br>
> - Try an absolute path for the file path, or use me.dir():<br>
> me.dir() + "/blerg.wav" => string file;<br>
> There might be some strange file permissions issues happening if the<br>
> destination file isn't in a directory chuck can write to.<br>
><br>
> - Try updating to the latest version of chuck/mini (1.3.4.0).<br>
><br>
> - Do you get the same results in the command line version of chuck as in<br>
> miniAudicle?<br>
><br>
> spencer<br>
><br>
><br>
><br>
>> On Sat, Jun 14, 2014 at 4:32 AM, Michael Heuer <<a href="mailto:heuermh@gmail.com">heuermh@gmail.com</a>> wrote:<br>
>><br>
>> Hello George,<br>
>><br>
>> Your example seems to work fine for me on Windows XP<br>
>><br>
>> $ chuck --version<br>
>> chuck version: 1.3.4.0 (chimera)<br>
>> microsoft win32 : 32-bit<br>
>> <a href="http://chuck.cs.princeton.edu/" target="_blank">http://chuck.cs.princeton.edu/</a><br>
>> <a href="http://chuck.stanford.edu/" target="_blank">http://chuck.stanford.edu/</a><br>
>><br>
>> $ cat <a href="http://blerg.ck" target="_blank">blerg.ck</a><br>
>> SinOsc s => Gain g => dac;<br>
>> s.freq(400);<br>
>> g.gain(0.5);<br>
>> g => WvOut w => blackhole;<br>
>> "blerg.wav" => string file;<br>
>> w.wavFilename(file);<br>
>> 1::second => now;<br>
>> w.closeFile(file); // what is the function of the argument here? can<br>
>> WvOut record multiple buffers at once?<br>
>><br>
>> $ chuck <a href="http://blerg.ck" target="_blank">blerg.ck</a><br>
>><br>
>> blerg.wav opens fine in VLC, Audacity, and Reaper.<br>
>><br>
>> michael<br>
>><br>
>><br>
>> On Fri, Jun 13, 2014 at 11:39 AM, George Locke<br>
>> <<a href="mailto:george.locke.maxmsp@gmail.com">george.locke.maxmsp@gmail.com</a>> wrote:<br>
>>> just going to bump this. chuck can't record a wav! what?!<br>
>>><br>
>>> aifFilename is working, so at least I can record what I'm doing. but<br>
>> srsly,<br>
>>> ppl, this is a major bug.<br>
>>><br>
>>> - George<br>
>>><br>
>>><br>
>>> On Tue, Jun 10, 2014 at 5:02 PM, George Locke<br>
>>> <<a href="mailto:george.locke.maxmsp@gmail.com">george.locke.maxmsp@gmail.com</a>> wrote:<br>
>>>><br>
>>>> Thanks for the reply. I tried w.closeFile() (w/o the argument), and I<br>
>>>> tried ending the script with null @=> w; and neither has helped.<br>
>>>><br>
>>>> Regards,<br>
>>>> George<br>
>>>><br>
>>>><br>
>>>>> On Tue, Jun 10, 2014 at 4:43 PM, Tom Lieber <<a href="mailto:tom@alltom.com">tom@alltom.com</a>> wrote:<br>
>>>>><br>
>>>>> This probably isn?t helpful, but I?m using the same versions of ChucK<br>
>> and<br>
>>>>> miniAudicle on OS X and the blerg.wav file looks fine.<br>
>>>>><br>
>>>>> I?ve had trouble generating WAV files from miniAudicle in the past,<br>
>> but I<br>
>>>>> think that was when I didn?t call closeFile() explicitly and ChucK<br>
>> never<br>
>>>>> flushed.<br>
>>>>><br>
>>>>> I don?t think the argument to closeFile does anything, so I never<br>
>> provide<br>
>>>>> it. :)<br>
>>>>><br>
>>>>><br>
>>>>> 2014-06-10 8:34 GMT-07:00 George Locke <<a href="mailto:george.locke.maxmsp@gmail.com">george.locke.maxmsp@gmail.com</a><br>
>>> :<br>
>>>>>><br>
>>>>>> Hi,<br>
>>>>>><br>
>>>>>> The output format of WvOut is coming out wrong. Audacity doesn't<br>
>>>>>> recognize it as a wav (does not recognize type, suggests import raw),<br>
>> and<br>
>>>>>> windows media player rejects it as well. Importing the file into<br>
>> Audacity<br>
>>>>>> as raw data works somewhat, but as I'm diagnosing a dc-offset, I need<br>
>> an<br>
>>>>>> exact result.<br>
>>>>>><br>
>>>>>> here's some example code:<br>
>>>>>><br>
>>>>>> SinOsc s => Gain g => dac;<br>
>>>>>> s.freq(400);<br>
>>>>>> g.gain(0.5);<br>
>>>>>> g => WvOut w => blackhole;<br>
>>>>>> "blerg.wav" => string file;<br>
>>>>>> w.wavFilename(file);<br>
>>>>>> 1::second => now;<br>
>>>>>> w.closeFile(file); // what is the function of the argument here? can<br>
>>>>>> WvOut record multiple buffers at once?<br>
>>>>>><br>
>>>>>><br>
>>>>>> I'm not so experienced with chuck but experienced in "normal" computer<br>
>>>>>> programming. Running miniAudicle 1.3.1 with chuck 1.3.3.0 on windows<br>
>> 7 pro<br>
>>>>>> sp1 (32 bit).<br>
>>>>>><br>
>>>>>> Thanks,<br>
>>>>>> George<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>> _______________________________________________<br>
>>>>>> chuck-users mailing list<br>
>>>>>> <a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
>>>>>> <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> --<br>
>>>>> Tom Lieber<br>
>>>>> <a href="http://AllTom.com/" target="_blank">http://AllTom.com/</a><br>
>>>>> <a href="http://infinite-sketchpad.com/" target="_blank">http://infinite-sketchpad.com/</a><br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> chuck-users mailing list<br>
>>>>> <a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
>>>>> <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> chuck-users mailing list<br>
>>> <a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
>>> <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
>> _______________________________________________<br>
>> chuck-users mailing list<br>
>> <a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
>> <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<a href="http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20140614/1687e7e3/attachment-0001.html" target="_blank">http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20140614/1687e7e3/attachment-0001.html</a>><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> chuck-users mailing list<br>
> <a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
> <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
><br>
><br>
> End of chuck-users Digest, Vol 107, Issue 9<br>
> *******************************************<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div><br></div>