Csound Csound-dev Csound-tekno Search About

[Csnd] manually writing tables at k-rate

Date2013-08-09 05:00
Fromzohar a
Subject[Csnd] manually writing tables at k-rate

Hi all

I'm trying to put k-rate pitch results in a table. after seeing some issues with phasor and tablew i chose


kindx=0

loop:

tablew kVar, kindx, FTindx

kindx=kindx+1

if kinds<END kgoto loop


but i when i check the table with Graph on CsoundQT it shows minimum and maximum of 0.

when i read it, using table print UDO found here:

http://www.booki.cc/csound/user-defined-opcodes/

then it always prints a single value.


so whats wrong? writing or reading? or both?


thanks

Zohar


Date2013-08-09 07:19
FromJim Aikin
Subject[Csnd] Re: manually writing tables at k-rate
I vaguely recall some uncertainty about exactly how or when a k-rate loop is
executed. Have you tried using init, as int:

kindx init 0



--
View this message in context: http://csound.1045644.n5.nabble.com/manually-writing-tables-at-k-rate-tp5726521p5726522.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-08-09 12:58
Fromjoachim heintz
SubjectRe: [Csnd] manually writing tables at k-rate
hi zohar -

what is END in your code? can you post a complete csd?

best -

	joachim



Am 09.08.2013 06:00, schrieb zohar a:
> Hi all
>
> I'm trying to put k-rate pitch results in a table. after seeing some
> issues with phasor and tablew i chose
>
>
> kindx=0
>
> loop:
>
> tablew kVar, kindx, FTindx
>
> kindx=kindx+1
>
> if kinds
>
> but i when i check the table with Graph on CsoundQT it shows minimum and
> maximum of 0.
>
> when i read it, using table print UDO found here:
>
> http://www.booki.cc/csound/user-defined-opcodes/
>
> then it always prints a single value.
>
>
> so whats wrong? writing or reading? or both?
>
>
> thanks
>
> Zohar
>

Date2013-08-09 13:46
FromMachina
SubjectRe: [Csnd] Re: manually writing tables at k-rate
AttachmentsNone  None