| After gotten the advices I tried to use the wg-opcodes again and can not figure
out, how to use them:
Your first examble works fine.
a1 wgflute 30000, 400, 0.2, 0.1, 0.1, 0.15, 0, 0, 1, 50
But this works not as expected (csound version 3.52 at Linux 2.0.35):
a1 wgflute kamp, 400, 0.2, 0.1, 0.1, 0.15, 0, 0, 1
The first note of a score will not be played, so if you try only one note you
get nothing.
Your second example does not work either (on my maschine):
a1 wgflute 30000, kfq, 0.2, 0.1, 0.1, 0.15, 0, 0, 1, 50
csound needs allmost all of my cpu power and seems to do nothing for a long
time (!?)
Futhermore iminfreq seems to have an influence on the pitch:
a1 wgflute 30000, 400, 0.2, 0.1, 0.1, 0.15, 0, 0, 1, p4
with:
f1 0 8192 10 1
i1 0 2 200
i1 + 2 300
i1 + 2 399
e
same with kjet:
a1 wgflute 30000, 400, p4, 0.1, 0.1, 0.15, 0, 0, 1, 50
f1 0 8192 10 1
i1 0 2 .1
i1 + 2 .2
i1 + 2 .3
e
(And I can't notice the difference in the noise-amount)
But perhaps the failure is quite another, in this example nothing changes but
every note is different (!)
a1 wgflute 30000, 400, .1, 0.1, 0.1, 0.15, 0, 0, 1, 50
f1 0 8192 10 1
i1 0 2
i1 + 2
i1 + 2
i1 + 2
i1 + 2
e
(This effect will be gone, if an other kjet is used, say 0.2)
A similar effect can be tried with:
a1 wgclar 30000, 400, .2, 0.1, 0.1, 0.15, 0, 0, 1, 50
f1 0 8192 10 1
i1 0 2
i1 + 2
i1 + 2
i1 + 2
i1 + 2
e
Here kstiff seems to be changed without really be changed but happily no side
effect in pitch happens.
Sorry, but do I really missuse these opcodes?
hoping for some fixes
Torsten
>a1 wgflute 31129.60, 440, 0.32, 0.1, 0.1, 0.15, 5.925, 0.05, 1
>a1 wgflute 31129.60, kfq, 0.32, 0.1, 0.1, 0.15, 5.925, 0.05, 1, 400
>
>are both OK. However if one tries
>
>a1 wgflute 31129.60, kfq, 0.32, 0.1, 0.1, 0.15, 5.925, 0.05, 1
>
>at init time the value of kfq is not available -- it really is not
>there until the first cycle -- so a perf error is given saying no
>lowest frequency.
>
>What to do about it? I can think of 3 possible things.
>1) Accept the status quo as it is what is really happening
>2) Delay the creation of the structures to the first cycle, and accept
>the performance hit of checking every cycle
>3) Assume that no one uses frequencies before 50Hz without thinking,
>so default to 50Hz if there is no other way to determine at init time.
>
>Any preferences? 1 and 3 are easy to code. 2 will take a little
>longer.
>
>==John ffitch
>
>PS the mandol opcode seems to have stopped functioning. No idea what |