| Hello Sergio,
I'm not sure I understand your question correctly, however it sounds
like you might be able to achieve what you're looking for with
"no-carry" and perhaps the opcode "pset"?
http://csound.github.io/docs/manual/ScoreTop.html#ScoreCarry
http://csound.github.io/docs/manual/pset.html
The manual entry for pset is a little confusing in it's wording, but
it allows you to set a "default" value for pfields that aren't there.
Then, if a note in the score doesn't have those fields it gets the
value given. You could then use the no-carry symbol "!" in your score
to clear out the remaining pfields.
The caveat I see for your usage: Any pfields after the no-carry
symbol are dropped, so you might need to rearrange your pfields so
that the ones you want to be able to blank are always at the end of
the score's i-statement.
Here's an example that may be useful. You will see that in the second
note p4 becomes -99 (the default I chose), and p5 is lost.
; Select audio/midi flags here according to platform
-odac ;;;realtime audio out
;-iadc ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
; -o ftgenonce.wav -W ;;; for file output any platform
sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1
instr 1
pset 0, 0, 0, -99
print p4, p5
endin
i 1 1 1 1 2
i 1 2 1 ! 2
e
On Mon, Sep 1, 2014 at 10:14 AM, COCHEDELAFERTE wrote:
> Hi all,
>
>
> I have a score like this :
>
> i3 0 8 622.254 64 0 0 0 0 0 2
>
>
> Is it possible to replace the "0" in the columns 6-10 by any character which
> mean that the p-field is really present, but has no value and doesn't be
> read, and what as character (or another solution) ?
>
>
> Greatings
>
> Sergio
>
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Carry-tp5737270.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>
|