Csound Csound-dev Csound-tekno Search About

[Csnd] Arrays of the same instrument?

Date2018-05-13 12:23
Fromfauveboy
Subject[Csnd] Arrays of the same instrument?
sampler_two.csd
  

I currently have a single opcode to playback a single sample. If I want to
play multiple samples I would obviously add more of the (in this case)
flooper2 opcode to process it. 

But instead of copying and paste with a new instrument number is it possible
to create an array instead, just defining one flooper2 and then stating I
want eight of these, for example?



--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

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

Date2018-05-13 12:50
FromJohn ff
SubjectRe: [Csnd] Arrays of the same instrument?
Why not just start 8 instances of the instrument?

We have discussed having arrays of instances but it is not there at present.

⁣Sent from TypeApp ​

On May 13, 2018, 12:24, at 12:24, fauveboy  wrote:
>sampler_two.csd
>  
>
>I currently have a single opcode to playback a single sample. If I want
>to
>play multiple samples I would obviously add more of the (in this case)
>flooper2 opcode to process it. 
>
>But instead of copying and paste with a new instrument number is it
>possible
>to create an array instead, just defining one flooper2 and then stating
>I
>want eight of these, for example?
>
>
>
>--
>Sent from:
>http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
>
>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

Date2018-05-13 13:18
Fromfauveboy
SubjectRe: [Csnd] Arrays of the same instrument?
ah, of course, sorry, I could use multiple instances. I guess then I can have
multiple f tables storing the samples which can be allocated to a new
instance. 

Now that makes me wonder if there is a way to have an array f-tables? I am
thinking ahead here. but for example, if there are 0 to 8 samples stored on
disk a for loop could initialize an array of f-tables to save writing out
all the tables?



--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

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

Date2018-05-13 13:21
FromVictor Lazzarini
SubjectRe: [Csnd] Arrays of the same instrument?
yes, you can have multiple f-tables and store their numbers in an i-time array.

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

> On 13 May 2018, at 13:18, fauveboy  wrote:
> 
> ah, of course, sorry, I could use multiple instances. I guess then I can have
> multiple f tables storing the samples which can be allocated to a new
> instance. 
> 
> Now that makes me wonder if there is a way to have an array f-tables? I am
> thinking ahead here. but for example, if there are 0 to 8 samples stored on
> disk a for loop could initialize an array of f-tables to save writing out
> all the tables?
> 
> 
> 
> --
> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
> 
> 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

Date2018-05-13 13:30
Fromfauveboy
SubjectRe: [Csnd] Arrays of the same instrument?
but that would still require writing out each f tables?



--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

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

Date2018-05-13 13:32
FromVictor Lazzarini
SubjectRe: [Csnd] Arrays of the same instrument?
I think you may use a loop and ftgen.

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

> On 13 May 2018, at 13:31, fauveboy  wrote:
> 
> but that would still require writing out each f tables?
> 
> 
> 
> --
> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
> 
> 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

Date2018-05-13 13:34
FromVictor Lazzarini
SubjectRe: [Csnd] Arrays of the same instrument?
ah, there’s also this opcode from Rory


I forgot all about it.

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

On 13 May 2018, at 13:32, Victor Lazzarini <Victor.Lazzarini@MU.IE> wrote:

I think you may use a loop and ftgen.

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

On 13 May 2018, at 13:31, fauveboy <joel.ramsbottom@HOTMAIL.CO.UK> wrote:

but that would still require writing out each f tables?



--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

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

Date2018-05-13 13:38
Fromfauveboy
SubjectRe: [Csnd] Arrays of the same instrument?
Great, thanks you



--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

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

Date2018-05-13 16:42
FromVictor Lazzarini
SubjectRe: [Csnd] Arrays of the same instrument?
No, because that loop would run 1 flooper instance only.
For what you want to do you can:

1) use several instances of your instrument, each with
one flooper
2) use a recursive UDO.

========================
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 13 May 2018, at 12:23, fauveboy  wrote:
> 
> sampler_two.csd
>   
> 
> I currently have a single opcode to playback a single sample. If I want to
> play multiple samples I would obviously add more of the (in this case)
> flooper2 opcode to process it. 
> 
> But instead of copying and paste with a new instrument number is it possible
> to create an array instead, just defining one flooper2 and then stating I
> want eight of these, for example?
> 
> 
> 
> --
> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
> 
> 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