Csound Csound-dev Csound-tekno Search About

[Cs-dev] Bugs/Errors with opcodes, strings, filenames and Windows

Date2009-10-25 15:33
FromJacob Joaquin
Subject[Cs-dev] Bugs/Errors with opcodes, strings, filenames and Windows
Attachmentsopcode_string.csd  None  None  
Hello Everyone,

Ran into a few issues with the last Csound Blog I posted. So far, it
seems these issues only affect Windows users, though I have not
confirmed whether or not Linux users are having problems.  OS X works
fine.

1. francibal reported an issue with file names possibly not working
with leading numbers. " i don't know why but filename beginning with
number are not recognized, or something similar"

2. Opcodes and strings seem to be not working.  I've attached
opcode_string.csd to this email. I've been using this code for years
on OS X and have never run into a problem. It still works.

One thing francibal pointed out was that in the manual entry for
opcode, it says that String outputs are not supported. It works on my
system for some reason.  That affects the UDO objget_S.  However, even
with all code related to objget_S commented out, there are reported
issues with objcreate_S and objset_S, which do not output an S value.

Best,
Jake
-- 
The Csound Blog - http://csound.noisepages.com/

Date2009-10-25 18:14
FromRichard Dobson
SubjectRe: [Cs-dev] Bugs/Errors with opcodes, strings, filenames and Windows
Jacob Joaquin wrote:
> Hello Everyone,
> 
> Ran into a few issues with the last Csound Blog I posted. So far, it
> seems these issues only affect Windows users, though I have not
> confirmed whether or not Linux users are having problems.  OS X works
> fine.
> 
> 1. francibal reported an issue with file names possibly not working
> with leading numbers. " i don't know why but filename beginning with
> number are not recognized, or something similar"
> 

Not a Windows problem (unless radically changed in Vista, W7 etc); 
Windows has file names with leading numbers all over the place, and file 
names comprised entirely of numbers (or entirely in hex) are far from 
uncommon. You can have a directory name of all digits too. Not 
necessarily a good idea, but you can do it.

OS X does of course allow a whole tranche of characters in filenames 
(etc) that Windows (and NAS systems, most tiresome) does not accept; 
*?:\ among them.

Richard Dobson


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-10-25 18:28
FromJacob Joaquin
SubjectRe: [Cs-dev] Bugs/Errors with opcodes, strings, filenames and Windows
The file name in question is "105 Blanketed Lama.wav".  The only thing
I see that might be a problem is the use of space characters. Are
spaces allowed in Windows?

Best,
Jake
-- 
The Csound Blog - http://csound.noisepages.com/

> Not a Windows problem (unless radically changed in Vista, W7 etc);
> Windows has file names with leading numbers all over the place, and file
> names comprised entirely of numbers (or entirely in hex) are far from
> uncommon. You can have a directory name of all digits too. Not
> necessarily a good idea, but you can do it.
>
> OS X does of course allow a whole tranche of characters in filenames
> (etc) that Windows (and NAS systems, most tiresome) does not accept;
> *?:\ among them.
>
> Richard Dobson
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-10-25 18:53
FromJacob Joaquin
SubjectRe: [Cs-dev] Bugs/Errors with opcodes, strings, filenames and Windows
Some good news, it seems there is no error with the file name.
Francibal reports he had a typo, and that the original file name
works.

Now it seems the only problem(s) is with strings and udos.

Best,
Jake

On Sun, Oct 25, 2009 at 11:28 AM, Jacob Joaquin  wrote:
> The file name in question is "105 Blanketed Lama.wav".  The only thing
> I see that might be a problem is the use of space characters. Are
> spaces allowed in Windows?
>
> Best,
> Jake
> --
> The Csound Blog - http://csound.noisepages.com/
>
>> Not a Windows problem (unless radically changed in Vista, W7 etc);
>> Windows has file names with leading numbers all over the place, and file
>> names comprised entirely of numbers (or entirely in hex) are far from
>> uncommon. You can have a directory name of all digits too. Not
>> necessarily a good idea, but you can do it.
>>
>> OS X does of course allow a whole tranche of characters in filenames
>> (etc) that Windows (and NAS systems, most tiresome) does not accept;
>> *?:\ among them.
>>
>> Richard Dobson
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>



-- 
The Csound Blog - http://csound.noisepages.com/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-dev