| I fixed it -- I replaced sccanf with atof in argdecode.c. Using sscanf might
work for float but not for double, at least not without an #ifdef.
Regards,
Mike
----- Original Message -----
From: "Michael Gogins"
To: "Developer discussions"
Sent: Thursday, March 22, 2007 9:57 PM
Subject: Re: [Cs-dev] Broken
>I can add that I just now downloaded the 5.05 installer, and that works
>just
> fine.
>
> So, between when I built 5.05 and when I built the current CVS main
> branch,
> something very definitely broke. This is the double-precision sample
> version. All build options were completely identical in both cases.
>
> Regards,
> Mike
>
> ----- Original Message -----
> From: "Michael Gogins"
> To: "Steven Yi" ; "Developer discussions"
>
> Sent: Thursday, March 22, 2007 9:16 PM
> Subject: Re: [Cs-dev] Broken
>
>
>> The directory is writable, and whether the file does not yet exist or is
>> writable, I get the same error. This is a change in behavior. The same
>> scripts worked a week ago.
>>
>> Regards,
>> Mike
>>
>> ----- Original Message -----
>> From: "Steven Yi"
>> To: "Michael Gogins" ; "Developer discussions"
>>
>> Sent: Thursday, March 22, 2007 8:09 PM
>> Subject: Re: [Cs-dev] Broken
>>
>>
>>> Hi Michael,
>>>
>>> Regarding the sfinit, that message seems to only happen if
>>> csoundFindOutputFile doesn't find the file or if the file can not be
>>> opened for writing. (in libsnd.c). I'm not sure if you have a debug
>>> build and can do a breakpoint in that code to see which one is
>>> occuring. Is the file you are trying to open writable? Or perhaps
>>> the directory is not writable?
>>>
>>> steven
>>>
>>> On 3/22/07, Michael Gogins wrote:
>>>> Csound in CVS is currently broken with respect to (at least in some
>>>> cases) rendering using the Python API.
>>>>
>>>> One error message is:
>>>>
>>>> sfinit: cannot open
>>>> D:\utah\home\mkg\projects\music\mkg-2007-03-04-a.py.wav
>>>>
>>>> Another error message is:
>>>>
>>>> sr = 5.899556e-315, kr = 5.764064e-315, ksmps = 1.023506
>>>> error: invalid ksmps value
>>>>
>>>> These messages come from code that used to work just fine and has not
>>>> been changed at all.
>>>>
>>>> Did anyone change anything that might cause this, in the way soundfiles
>>>> are opened, or in the Python interface definition, or in the way
>>>> command-line options are parsed?
>>>>
>>>> Regards,
>>>> Mike
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>> your
>>>> opinions on IT & business topics through brief surveys-and earn cash
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |