|
btw, I'd be willing to author the manual page about the order in which
preprocessors are processed. All I need to know is the order.
Best,
Jake
Jacob Joaquin wrote:
>
> I just ran a test to see whether or not a score expression or the it
> produces is carried. From my test, I can only assume that expressions are
> preprocessed before the carry statement. Perhaps the manual could note
> this in either the page about expressions and/or on the carry page.
>
> Also, having a page in the manual the describes the order in which
> preprocessors are processed would be very helpful.
>
> Here is my test script:
>
>
> __begin__
> #!/usr/bin/env csound -g -odac
>
> Tests if expressions are carried, or if the values they produce are
> carried.
>
> Conclusion:
>
> Only the values are carried. To evalute an expression for each
> i-event, you must explicitly write the expression and not use the carry
> preprocessor.
>
>
>
> sr = 44100
> kr = 4410
> ksmps = 10
> nchnls = 1
>
> 0dbfs = 1.0
>
> instr 1
> iamp = p4
> ifreq = p5
>
> asig oscils iamp, ifreq, 0
> out asig
> endin
>
>
>
> i 1 0 0.125 1 [~ * 440 + 440]
> i 1 + . . .
> i 1 + . . .
> i 1 + . . [~ * 440 + 440]
> i 1 + . . .
> i 1 + . . .
> i 1 + . . [~ * 440 + 440]
> i 1 + . . .
> i 1 + . . .
>
> e
>
>
> __end__
>
> Best,
> Jake
>
--
View this message in context: http://www.nabble.com/The-Manual%2C-Expressions-and-Carry-tp24704167p24704248.html
Sent from the Csound - Dev mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |