Csound Csound-dev Csound-tekno Search About

Re: new printi opcode

Date1999-09-13 06:37
FromPeter Neubacker
SubjectRe: new printi opcode
John ffitch wrote:
> Would in not be better to extent printv to include strings?

It sure would - provided you have a flag that tells the
opcode to use "printf" or "putchar" to decide if you want
to see the output even if all printing is disabled for
realtime performance - that was the main purpose of printi.

And, I think, you would have to do some internal handling
of "print" in RDORCH.C like for the "oscil" variations, as
on one hand you need the variable parameter list first as
in the current version, on the other hand the string first,
then the mode flag, then the variable parameter list.
I've never done that kind of handling in rdorch...