Csound Csound-dev Csound-tekno Search About

[Csnd] loscil - Backward

Date2017-12-17 23:47
FromRoger Kelly
Subject[Csnd] loscil - Backward
Is there any opcode like loscil that can simply play a table backward (reversed)?
 
I see alot that can do this with looping, but off hand nothing to just do a simple reverse sample.


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2017-12-18 07:01
FromVictor Lazzarini
SubjectRe: [Csnd] loscil - Backward
Just use phasor with a  -1/ftlen(itable) frequency and tablei, like

aph phasor -1/ftlen(itab)
audio tablei aph, itable,0,1


========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 17 Dec 2017, at 23:47, Roger Kelly  wrote:
> 
> Is there any opcode like loscil that can simply play a table backward (reversed)?
>  
> I see alot that can do this with looping, but off hand nothing to just do a simple reverse sample.
> 
> 
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-12-18 08:00
FromAnton Kholomiov
SubjectRe: [Csnd] loscil - Backward
Is kcps in loscil just a scaling factor?

kcps/ftlen(itab)


2017-12-18 10:01 GMT+03:00 Victor Lazzarini <Victor.Lazzarini@mu.ie>:
Just use phasor with a  -1/ftlen(itable) frequency and tablei, like

aph phasor -1/ftlen(itab)
audio tablei aph, itable,0,1


========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 17 Dec 2017, at 23:47, Roger Kelly <loraxman@gmail.com> wrote:
>
> Is there any opcode like loscil that can simply play a table backward (reversed)?
>
> I see alot that can do this with looping, but off hand nothing to just do a simple reverse sample.
>
>
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here