Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] scsort and scxtract

Date2005-10-27 18:10
FromMichael Gogins
SubjectRe: [Cs-dev] scsort and scxtract
Sounds good to me.

It would be helpful if the new CScore calls in the API had Doxygen-style comments. Just a hint what they are for would be nice.

Regards,
Mike

-----Original Message-----
From: Anthony Kozar 
Sent: Oct 27, 2005 11:46 AM
To: New Csound Developer list 
Subject: [Cs-dev] scsort and scxtract

from prototyp.h:

PUBLIC  void    scsort(CSOUND *, FILE *, FILE *);
PUBLIC  int     scxtract(CSOUND *, FILE *, FILE *, FILE *);


Should these two declarations be given "API-like" names and put into
csound.h instead??  I think they would be nice additions to the API and are
apparently already being exported.

Perhaps

PUBLIC  void    csoundScoreSort(CSOUND *, FILE *, FILE *);
PUBLIC  int     csoundScoreExtract(CSOUND *, FILE *, FILE *, FILE *);

I think it would be nice also to have a score extraction call in the API
where the parameters to the extraction could be passed to the function
instead of being read from a file.


Anthony Kozar
anthonykozar AT sbcglobal DOT net
http://akozar.spymac.net/



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel





-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-10-27 19:47
FromAnthony Kozar
SubjectRe: [Cs-dev] scsort and scxtract
Is something like this sufficient for each function, or is it more involved?
(Sorry, do not know anything about Doxygen).

  /**
   * Initialise Csound library; should be called once before creating
   * any Csound instances.
   * Returns zero on success.
   */
  PUBLIC int csoundInitialize(int *argc, char ***argv, int flags);


While we are on the subject, can we include the Cscore API in the language
wrappers as well?  Will the EVENT and EVLIST data structures be usuable from
those languages?

Anthony


Michael Gogins wrote on 10/27/05 1:10 PM:

> It would be helpful if the new CScore calls in the API had Doxygen-style
> comments. Just a hint what they are for would be nice.



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net