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