[Csnd] add multiple input macro example at docs.?
| Date | 2024-10-14 18:42 |
| From | Lucas Ceccon Martinelli <00000fa7b5cfaa13-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | [Csnd] add multiple input macro example at docs.? |
from the link https://csound.com/docs/manual/ScoreMacros.html
Example 3. Macros with multiple arguments
#define ARG(A ' B ' C ' D ' E) # 2.345 1.03 $A $B $C $D $E 234.9#
i1 0 1 8.00 1000 $ARG(2 ' 9 ' 10 ' 7 ' 2.3)
i1 + 1 8.01 1200 $ARG(3'6'5'3'2.77)
which expands to
i1 0 1 8.00 1000 2.345 1.03 2 9 10 7 2.3 234.9
i1 + 1 8.01 1200 2.345 1.03 3 6 5 3 2.77 234.9
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
|
| Date | 2024-10-14 19:04 |
| From | "Dr. Richard Boulanger" |
| Subject | Re: [Csnd] add multiple input macro example at docs.? |
NICE - Dr.B Dr. Richard Boulanger Professor Electronic Production and Design Berklee College of Music Professional Writing & Technology Division On Mon, Oct 14, 2024 at 1:42 PM Lucas Ceccon Martinelli <00000fa7b5cfaa13-dmarc-request@listserv.heanet.ie> wrote: from the link https://csound.com/docs/manual/ScoreMacros.html |