Csound Csound-dev Csound-tekno Search About

[Csnd] Re: API - csound command max length

Date2008-09-29 14:07
FromMichael Gogins
Subject[Csnd] Re: API - csound command max length
Ask away.

Regards,
Mike

-----Original Message-----
>From: Joseph Sanger 
>Sent: Sep 28, 2008 9:43 PM
>To: csound@lists.bath.ac.uk
>Subject: [Csnd] API - csound command max length
>
>Hi there,
>
>I've recently started experimenting with the API and C (whilst trying to 
>learn C at the same time). I would like to set a rather large macro when 
>compiling csound from the API, using the --omacro flag.
>
>Is there any limit to the length of the csound command in this case? I 
>know that terminals have a character limit for each command line, but 
>presumably the API doesn't have this problem.
>
>If there is a limit, I'll just write the macro to a temporary file and 
>get the --omacro flag to point to it. I just thought it would be a 
>little bit cleaner to write as few files as possible.
>
>I haven't tried it yet as I'm still programming rather slowly in C...
>
>Also, in future, is it better for me to ask about the API on the 
>csound-dev list, bearing in mind my questions may be rather elementary?
>
>Many thanks in advance,
>
>Joe
>
>-- 
>Joseph Sanger
>
>Blueberry Eikaiwa
>www.bbeikaiwa.com
>joe@bbeikaiwa.com
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"