[Csnd-dev] Creating a table through API
Date | 2018-01-04 19:49 |
From | Alex Weiss |
Subject | [Csnd-dev] Creating a table through API |
Hi list,
Is there a way to create a table programmatically through the API? I couldn't find anything in the documentation. Thanks, Alex |
Date | 2018-01-04 20:04 |
From | Michael Gogins |
Subject | Re: [Csnd-dev] Creating a table through API |
You can always send an "f" statement through csoundInputMessage or csoundReadScore. Regards, Mike ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Thu, Jan 4, 2018 at 2:49 PM, Alex Weiss |
Date | 2018-01-04 20:06 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] Creating a table through API |
yes, that is the way to do it. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2018-01-04 20:09 |
From | Michael Gogins |
Subject | Re: [Csnd-dev] Creating a table through API |
Plus, once you have created a table of a specified size, you can replace the created elements with elements that you compute in the host, using the API. I think this is what you were looking for. Regards, Mike ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Thu, Jan 4, 2018 at 3:06 PM, Victor Lazzarini |
Date | 2018-01-04 20:34 |
From | Alex Weiss |
Subject | Re: [Csnd-dev] Creating a table through API |
Perfect, that's exactly what I need. Is there also a way to delete a table that way? Thanks, Alex On Thu, Jan 4, 2018 at 9:09 PM Michael Gogins <michael.gogins@gmail.com> wrote: Plus, once you have created a table of a specified size, you can |
Date | 2018-01-04 20:39 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] Creating a table through API |
you don’t need to delete a table, by creating one with the same number, you replace it. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2018-01-04 20:40 |
From | Alex Weiss |
Subject | Re: [Csnd-dev] Creating a table through API |
Oh, I didn't know that! So the memory of the old table is freed when I create a new one with the same number? On Thu, Jan 4, 2018 at 9:39 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
|
Date | 2018-01-04 20:44 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] Creating a table through API |
not always, only if the table space is not enough, then it’s reallocated. Otherwise it’s just reused. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|