[Cs-dev] Comments
Date | 2005-08-15 20:46 |
From | David Akbari |
Subject | [Cs-dev] Comments |
Hi List, Currently in Csound (4 and 5) the commenting style includes ; - comment out the rest of the line and /* */ - standard C style block comment I was wondering what issues exist that would prevent using // - double forward slash, standard C style equivalent to semicolon within Csound itself. At present, is there another function attached to the // symbol (such as reverse quotient divide??) I couldn't find any reference to it in the manual. -David ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-08-15 20:51 |
From | Istvan Varga |
Subject | Re: [Cs-dev] Comments |
David Akbari wrote: > I was wondering what issues exist that would prevent using > > // - double forward slash, standard C style equivalent to semicolon It should be possible to implement it, but is adding a third type of comment really useful ? You already have ; for the same style of comments (and that is also one less character to type). ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-08-16 15:03 |
From | Victor Lazzarini |
Subject | [Cs-dev] changes since end of June |
Have there been many changes to the csound 5 code since end of June? Can anyone summarise them? Thanks a lot Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-08-16 15:55 |
From | John ffitch |
Subject | Re: [Cs-dev] changes since end of June |
(Summaty -- not a lot but new code and file name-variable name changes) I have not updated this tree for a couple of days but the changeLog says 2005-08-03 Steven Yi |
Date | 2005-08-16 15:56 |
From | Istvan Varga |
Subject | Re: [Cs-dev] changes since end of June |
Victor Lazzarini wrote: > Have there been many changes to the csound 5 code since end of June? > Can anyone summarise them? Other than the usual bug fixes and code cleanup, addition of new opcodes (soundouts, loop_l, loop_le, loop_g, loop_ge, printf, printf_i, ftfree, ftgentmp, GEN53, and Andres Cabrera's DSSI plugin host opcodes), new API functions (see header files), and a revised PortAudio plugin (all files have been merged to a single rtpa.c), there are these major changes: * removed cs.h (all uses of this file have been replaced with csoundCore.h) * cleaned up headers: include csound.h from host applications, csdl.h from plugins, and csoundCore.h from Csound internals; changes were made for better separation of these interfaces. This work is still not complete, but having the API and headers finished will be a major step towards releasing Csound 5. * renamed ENVIRON to CSOUND (and struct ENVIRON_ to struct CSOUND_) * changed functions that take a void* Csound instance pointer to use CSOUND* type instead ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-08-16 17:31 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] changes since end of June |
what does loop_l (etc) do? Victor At 15:56 16/08/2005, you wrote: >Victor Lazzarini wrote: > >>Have there been many changes to the csound 5 code since end of June? >>Can anyone summarise them? > >Other than the usual bug fixes and code cleanup, addition of new opcodes >(soundouts, loop_l, loop_le, loop_g, loop_ge, printf, printf_i, ftfree, >ftgentmp, GEN53, and Andres Cabrera's DSSI plugin host opcodes), >new API functions (see header files), and a revised PortAudio plugin >(all files have been merged to a single rtpa.c), there are these major >changes: > > * removed cs.h (all uses of this file have been replaced with > csoundCore.h) > * cleaned up headers: include csound.h from host applications, csdl.h > from plugins, and csoundCore.h from Csound internals; changes were > made for better separation of these interfaces. > This work is still not complete, but having the API and headers > finished will be a major step towards releasing Csound 5. > * renamed ENVIRON to CSOUND (and struct ENVIRON_ to struct CSOUND_) > * changed functions that take a void* Csound instance pointer to use > CSOUND* type instead > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Csound-devel mailing list >Csound-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/csound-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-08-16 18:11 |
From | Istvan Varga |
Subject | Re: [Cs-dev] changes since end of June |
Victor Lazzarini wrote: > what does loop_l (etc) do? loop_l indx, incr, imax, label is identical to indx = indx + incr if (indx < imax) igoto label loop_l kndx, kncr, kmax, label is the same as kndx = kndx + kncr if (kndx < kmax) kgoto label loop_le, loop_g, and loop_ge are similar, but use <=, >, and >= instead of <, respectively. Also, loop_g and loop_ge decrement the iterator variable. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-08-16 20:13 |
From | Steven Yi |
Subject | Re: [Cs-dev] changes since end of June |
Attachments | None |
Date | 2005-08-17 16:21 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] changes since end of June |
This reminds me of a question: will it be possible in the future to have arrays of signals [& ugens], within, say, for loops? something like amix = 0 for ic=0, ic < 10, ic++ as[ic] oscil 1000, 100*(ic+1), 1 amix = as[ic] + amix endfor which you can currently do with recursion in UDOs, but not (afaik) in any other way. Victor At 20:13 16/08/2005, you wrote: >And just to mention, I think the loop opcodes are very handy! =) > >On 8/16/05, Istvan Varga |
Date | 2005-08-17 18:42 |
From | Steven Yi |
Subject | Re: [Cs-dev] changes since end of June |
Attachments | None |
Date | 2005-08-18 10:21 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] changes since end of June |
But the problem with the code below is that it implies the use of a single oscillator, which is not what it is meant (a bank of oscillators). With just one oscillator, it will not work, of course. In terms of declaring an array, perhaps we would need an opcode to initialise its length, something like as[] size 8 Anyway, your comments about ftgentmp are interesting and I will look at these new opcodes to see their possibilities. Victor At 18:42 17/08/2005, you wrote: >the out argument would have to accept not only pointers to values but >also this kind of expression statement, so that might mean it would >have to require a temp variable: > >atmp oscil 1000, 100*(ic+1), 1 >as[ic] = atmp > >but then that would not work either as = is an opcode. Hmm... okay, >so a little more work than I first thought! > >steven Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-10-09 17:46 |
From | jpff@codemist.co.uk |
Subject | Re: [Cs-dev] changes since end of June |
Would it not be more consistent to have the names loop_lt and loop_gt than loop_l and loop_g which are not clear names? ==John ffitch ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-10-09 18:58 |
From | Istvan Varga |
Subject | Re: [Cs-dev] changes since end of June |
jpff@codemist.co.uk wrote: > Would it not be more consistent to have the names loop_lt and loop_gt > than loop_l and loop_g which are not clear names? I do not generally object to this change, although some existing orchestras may need to be updated for the new names. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-10-09 22:03 |
From | Steven Yi |
Subject | Re: [Cs-dev] changes since end of June |
Attachments | None |