[Csnd] readk manual page, wrong csd example..
Date | 2008-01-25 16:46 |
From | Rory Walsh |
Subject | [Csnd] readk manual page, wrong csd example.. |
I think the csd example must be for something else as their is no mention of readk in it at all. Rory. |
Date | 2008-01-25 16:56 |
From | Rory Walsh |
Subject | [Csnd] Re: readk manual page, wrong csd example.. |
They, all read family opcodes, are also missing the iprd parameter in the syntax example. Rory. Rory Walsh wrote: > I think the csd example must be for something else as their is no > mention of readk in it at all. > > > Rory. > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" > |
Date | 2008-01-27 15:55 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] [Csnd] Re: readk manual page, wrong csd example.. |
Thanks Rory, I've changed the entries in CVS and added a new better example. One question, looking at the sources (OOps/dumpf.c) it appears that the optional interp parameter for the readk family is not implemented, is this correct? Cheers, Andrés Just a question El vie, 25-01-2008 a las 16:56 +0000, Rory Walsh escribió: > They, all read family opcodes, are also missing the iprd parameter in > the syntax example. > > Rory. > > > Rory Walsh wrote: > > I think the csd example must be for something else as their is no > > mention of readk in it at all. > > > > > > Rory. > > > > > > Send bugs reports to this list. > > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > > csound" > > > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net https |
Date | 2008-01-28 08:48 |
From | Rory Walsh |
Subject | Re: [Cs-dev] [Csnd] Re: readk manual page, wrong csd example.. |
I think ipol and interp are the same parameter and it appears it is not implemented. I think the syntax should read kres readk ifilname, iformat, irpd [, interp] I downloaded the manual hoping to update the pages myself over the weekend but I never quite got around to finishing them. It made me appreciate fully the massive amount of work involved in keeping the manual up to date, fair play for all the hard work. Rory. Andres Cabrera wrote: > Thanks Rory, > I've changed the entries in CVS and added a new better example. > > One question, looking at the sources (OOps/dumpf.c) it appears that the > optional interp parameter for the readk family is not implemented, is > this correct? > > Cheers, > Andrés > > > Just a question > El vie, 25-01-2008 a las 16:56 +0000, Rory Walsh escribió: >> They, all read family opcodes, are also missing the iprd parameter in >> the syntax example. >> >> Rory. >> >> >> Rory Walsh wrote: >>> I think the csd example must be for something else as their is no >>> mention of readk in it at all. >>> >>> >>> Rory. >>> >>> >>> Send bugs reports to this list. >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe >>> csound" >>> >> >> Send bugs reports to this list. >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net https://lists.sourcef |
Date | 2008-01-28 09:12 |
From | jpff |
Subject | Re: [Cs-dev] [Csnd] Re: readk manual page, wrong csd example.. |
I believe that the interp component was in the manual but not in the code from the 1980s. I did once spend a little time wondering about it, but I was not sure what was intended or how to do it ==John ffitch ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-01-28 21:48 |
From | Anthony Kozar |
Subject | Re: [Cs-dev] [Csnd] Re: readk manual page, wrong csd example.. |
Correct. It does appear that the interp parameter is there but that it is ignored. Same thing for readk2, readk3, and readk4. The descriptions of these opcodes still included information that only applies to dumpk. So I have committed further corrections to their entries. Also, there appears to be a bug in nkread() for case 7: case 7: while (nk--) { char *bp = inbuf; do { /* Skip whitespace */ *bp = (char)getc(ifd); } while (isspace(*bp)); do { /* Absorb digits */ *(++bp) = (char)getc(ifd); } while (isdigit(*bp)); I don't think that this code will read negative integers, will it? (Also, will provide strange results if unexpected characters are encountered -- there is no error reporting for this in case 7 or case 8). Anthony Rory Walsh wrote on 1/28/08 3:48 AM: > I think ipol and interp are the same parameter and it appears it is not > implemented. I think the syntax should read > > kres readk ifilname, iformat, irpd [, interp] > > I downloaded the manual hoping to update the pages myself over the > weekend but I never quite got around to finishing them. It made me > appreciate fully the massive amount of work involved in keeping the > manual up to date, fair play for all the hard work. > Andres Cabrera wrote: >> Thanks Rory, >> I've changed the entries in CVS and added a new better example. >> >> One question, looking at the sources (OOps/dumpf.c) it appears that the >> optional interp parameter for the readk family is not implemented, is >> this correct? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-01-29 07:21 |
From | jpff |
Subject | Re: [Cs-dev] [Csnd] Re: readk manual page, wrong csd example.. |
True; it should be using strtok or similar. Will think about it. ==John ffitch ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-02-05 19:47 |
From | Anthony Kozar |
Subject | Re: [Cs-dev] [Csnd] Re: readk manual page, wrong csd example.. |
I was looking at the new readk example CSD which is very nice. But it uses cpsoct() when I think that it intends to use cpspch(). Also, regarding the changes to the readk and dumpk family manual pages: information was added crediting John ffitch as writing the opcodes in 1999. I think this may have been a misunderstanding of a comment in the source code and that the opcodes are actually much older (possibly written by Barry Vercoe?). I appears that John "just" rewrote the code for readk in 1999. Can he confirm? Anthony ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-02-06 15:02 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] [Csnd] Re: readk manual page, wrong csd example.. |
Hi Anthony, Thanks for finding this. The idea was to use cpspch, thanks for the correction. Cheers, Andrés El mar, 05-02-2008 a las 14:47 -0500, Anthony Kozar escribió: > I was looking at the new readk example CSD which is very nice. But it uses > cpsoct() when I think that it intends to use cpspch(). > > Also, regarding the changes to the readk and dumpk family manual pages: > information was added crediting John ffitch as writing the opcodes in 1999. > I think this may have been a misunderstanding of a comment in the source > code and that the opcodes are actually much older (possibly written by Barry > Vercoe?). > > I appears that John "just" rewrote the code for readk in 1999. Can he > confirm? > > Anthony > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listi |