-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add information to printks manual page #660
Comments
can you give a simple csd that shows this? |
` sr = 96000 ;----------------------------------------------------------- |
or perhaps easier for what it is about here:
instr 1
kIndx = 0
while kIndx < 10 do
printks "hello loop\n", 0
printk2 kIndx
kIndx += 1
od
turnoff
endin
schedule(1,0,1)
…On 12/11/2022 19:22, PhNeum wrote:
`
-d -odac -W -3
sr = 96000
ksmps = 128
nchnls = 2
0dbfs = 1.0
;-----------------------------------------------------------
instr 1
kcount init 0
ktimek timeinstk
if ktimek == 100 kgoto loop
kgoto noloop
loop:
printks "k-cycle %d reached!%n", 0, ktimek
kcount = kcount + 1
printk2 kcount
if kcount < 11 kgoto loop
printks "k-END!%n", 0
noloop:
endin
;-----------------------------------------------------------
i1 0 1 `
—
Reply to this email directly, view it on GitHub
<#660 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQYHKWMQCDFQL22UPD7ZTLWH7N5TANCNFSM6AAAAAAR6MGBNE>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
this proves the same thing:
The output:
i do not know why only |
the behavior of printks in an k-cylce is not described fully in the manual.
there should be information about, that printks only print once in an k-loop.
The text was updated successfully, but these errors were encountered: