Csound Csound-dev Csound-tekno Search About

Frozen Delay

Date2016-09-03 03:10
FromAlex Weiss
SubjectFrozen Delay
Hi list,

How would I go about building a delay line that can be switched on and off? What I mean by that is that I can toggle whether it accepts incoming audio into its buffer or keeps looping through whatever is currently in the buffer. Essentially, I'm looking for a delay whose buffer can be frozen and further manipulated.

I tried building this as an UDO, but there doesn't seem to be general purpose circular buffer opcode that can be used as a building block.

Thanks,
Alex
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

Date2016-09-03 07:33
FromVictor Lazzarini
SubjectRe: Frozen Delay
delayr-delayw is a circular buffer that you could use. To use it in a loop, just feed the out of delayr into delayw without mixing any other input.

You can also use an ftable or an array, but delayr-w is simpler.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 3 Sep 2016, at 03:10, Alex Weiss <alexweiss86@GMAIL.COM> wrote:

Hi list,

How would I go about building a delay line that can be switched on and off? What I mean by that is that I can toggle whether it accepts incoming audio into its buffer or keeps looping through whatever is currently in the buffer. Essentially, I'm looking for a delay whose buffer can be frozen and further manipulated.

I tried building this as an UDO, but there doesn't seem to be general purpose circular buffer opcode that can be used as a building block.

Thanks,
Alex
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

Date2016-09-03 16:25
FromVictor Lazzarini
SubjectRe: Frozen Delay
Here’s the basic idea

 instr 1
ilp = p4
asig in
adel delayr ilp
kenv linsegr 1,ilp-.1,1,.1,0,1,0
delayw  asig*kenv+adel
  out adel*(1-kenv)
endin

========================
Dr 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 3 Sep 2016, at 07:33, Victor Lazzarini  wrote:
> 
> delayr-delayw is a circular buffer that you could use. To use it in a loop, just feed the out of delayr into delayw without mixing any other input.
> 
> You can also use an ftable or an array, but delayr-w is simpler.
> 
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
> On 3 Sep 2016, at 03:10, Alex Weiss  wrote:
> 
>> Hi list,
>> 
>> How would I go about building a delay line that can be switched on and off? What I mean by that is that I can toggle whether it accepts incoming audio into its buffer or keeps looping through whatever is currently in the buffer. Essentially, I'm looking for a delay whose buffer can be frozen and further manipulated.
>> 
>> I tried building this as an UDO, but there doesn't seem to be general purpose circular buffer opcode that can be used as a building block.
>> 
>> Thanks,
>> Alex
>> 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

Date2016-09-04 01:51
FromAlex Weiss
SubjectRe: Frozen Delay
Thanks Victor, that worked great. But is there a version of delayr/delayw that accepts a k-rate delay time? I can't find anything in the manual...

Thanks,
Alex

On Sat, Sep 3, 2016 at 8:25 AM Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Here’s the basic idea

 instr 1
ilp = p4
asig in
adel delayr ilp
kenv linsegr 1,ilp-.1,1,.1,0,1,0
delayw  asig*kenv+adel
  out adel*(1-kenv)
endin

========================
Dr 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 3 Sep 2016, at 07:33, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
>
> delayr-delayw is a circular buffer that you could use. To use it in a loop, just feed the out of delayr into delayw without mixing any other input.
>
> You can also use an ftable or an array, but delayr-w is simpler.
>
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
>
> On 3 Sep 2016, at 03:10, Alex Weiss <alexweiss86@GMAIL.COM> wrote:
>
>> Hi list,
>>
>> How would I go about building a delay line that can be switched on and off? What I mean by that is that I can toggle whether it accepts incoming audio into its buffer or keeps looping through whatever is currently in the buffer. Essentially, I'm looking for a delay whose buffer can be frozen and further manipulated.
>>
>> I tried building this as an UDO, but there doesn't seem to be general purpose circular buffer opcode that can be used as a building block.
>>
>> Thanks,
>> Alex
>> 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
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

Date2016-09-04 07:12
FromTarmo Johannes
SubjectRe: Frozen Delay

Hi,

There is vdelay opcode

Tarmo


04.09.2016 3:52 kirjutas kuupäeval "Alex Weiss" <alexweiss86@gmail.com>:
Thanks Victor, that worked great. But is there a version of delayr/delayw that accepts a k-rate delay time? I can't find anything in the manual...

Thanks,
Alex

On Sat, Sep 3, 2016 at 8:25 AM Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Here’s the basic idea

 instr 1
ilp = p4
asig in
adel delayr ilp
kenv linsegr 1,ilp-.1,1,.1,0,1,0
delayw  asig*kenv+adel
  out adel*(1-kenv)
endin

========================
Dr 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 3 Sep 2016, at 07:33, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
>
> delayr-delayw is a circular buffer that you could use. To use it in a loop, just feed the out of delayr into delayw without mixing any other input.
>
> You can also use an ftable or an array, but delayr-w is simpler.
>
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
>
> On 3 Sep 2016, at 03:10, Alex Weiss <alexweiss86@GMAIL.COM> wrote:
>
>> Hi list,
>>
>> How would I go about building a delay line that can be switched on and off? What I mean by that is that I can toggle whether it accepts incoming audio into its buffer or keeps looping through whatever is currently in the buffer. Essentially, I'm looking for a delay whose buffer can be frozen and further manipulated.
>>
>> I tried building this as an UDO, but there doesn't seem to be general purpose circular buffer opcode that can be used as a building block.
>>
>> Thanks,
>> Alex
>> 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
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

Date2016-09-04 10:57
FromVictor Lazzarini
SubjectRe: Frozen Delay
The way to do it is to use a tap instead (deltapi etc) and ignore the output of delayr.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Sep 2016, at 01:51, Alex Weiss <alexweiss86@GMAIL.COM> wrote:

Thanks Victor, that worked great. But is there a version of delayr/delayw that accepts a k-rate delay time? I can't find anything in the manual...

Thanks,
Alex

On Sat, Sep 3, 2016 at 8:25 AM Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Here’s the basic idea

 instr 1
ilp = p4
asig in
adel delayr ilp
kenv linsegr 1,ilp-.1,1,.1,0,1,0
delayw  asig*kenv+adel
  out adel*(1-kenv)
endin

========================
Dr 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 3 Sep 2016, at 07:33, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
>
> delayr-delayw is a circular buffer that you could use. To use it in a loop, just feed the out of delayr into delayw without mixing any other input.
>
> You can also use an ftable or an array, but delayr-w is simpler.
>
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
>
> On 3 Sep 2016, at 03:10, Alex Weiss <alexweiss86@GMAIL.COM> wrote:
>
>> Hi list,
>>
>> How would I go about building a delay line that can be switched on and off? What I mean by that is that I can toggle whether it accepts incoming audio into its buffer or keeps looping through whatever is currently in the buffer. Essentially, I'm looking for a delay whose buffer can be frozen and further manipulated.
>>
>> I tried building this as an UDO, but there doesn't seem to be general purpose circular buffer opcode that can be used as a building block.
>>
>> Thanks,
>> Alex
>> 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
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