Easier just to use phasor with negative frequency? ----- Original Message ----- From: Oeyvind Brandtsegg Date: Tuesday, March 8, 2011 3:55 pm Subject: Re: [Csnd] Reading a table backwards? To: csound@lists.bath.ac.uk > maybe you can do: > > ilen = ftlen(itab) > kindex init ilen > kvalue table kindex, itab > kindex = kindex -1 > > then, if you want to loop: > kindex = (kindex == 0 ? ilen : kindex) > > or if you want to stop: > if kindex == 0 goto stopMe > goto end > stopMe: > turnoff > end: > > (not tested) > best > Oeyvind > > 2011/3/8 Louis Cohen : > > I'd like to use the same table for generating k-rate signals > reading the > > table forward in some cases and backwards in other cases. > > > > Is there an opcode that reads a table from last entry to first > entry at > > k-rate? > > > > thanks! > > > > -Lou Cohen > > > > > > > > Send bugs reports to the Sourceforge bug tracker > > > https://sourceforge.net/tracker/?group_id=81968&atid=564599> > Discussions of bugs and features can be posted here > > To unsubscribe, send email sympa@lists.bath.ac.uk with body > "unsubscribe> csound" > > > > > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body > "unsubscribe csound" > Dr Victor Lazzarini, Senior Lecturer, Dept. of Music, National University of Ireland, Maynooth Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"