[Csnd] named instruments issue with livecoding
Date | 2021-08-03 15:37 |
From | jacopo greco d'alceo |
Subject | [Csnd] named instruments issue with livecoding |
Hi all! (I'm sorry I sent an incomplete mail before) I want to ask you something about an issue I've got in livecoding with csound. The idea is that I open a csound listening server and I send messages with reaper. The problem is that if I send for exemple three different named instruments (I need to use named instruments because I need that csound manage the instruments numbers), csound think they are always the same. For exemple, something like this: instr inst9B589C8D print p1 endin schedule "inst9B589C8D", 1.0, 0.5 instr inst0A7FFD81 print p1 endin schedule "inst0A7FFD81", 2.0, 0.5 instr inst0941D201 print p1 endin schedule "inst0941D201", 3.0, 0.5 // If I send it with livecoding, I get this result: instr 41: p1 = 41.000 instr 41: p1 = 41.000 instr 42: p1 = 42.000 // If I render offline, I get this result: instr 1: p1 = 1.000 instr 2: p1 = 2.000 instr 3: p1 = 3.000 Is this a bug or an issue. I didn't figure out why the last instrument is another number and sometimes csound gives me all three instruments the same number. Is it a time bound issue? Thank you for your answers, j 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 |
Date | 2021-08-03 19:46 |
From | Pete Goodeve |
Subject | Re: [Csnd] named instruments issue with livecoding |
Attachments | None |
Date | 2021-08-03 19:51 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd] named instruments issue with livecoding |
from where are you sending these, from first glance this looks like a bug, but I can't rule out if the host application is making some modifications On Tue, 3 Aug 2021 at 20:47, Pete Goodeve <pete.goodeve@computer.org> wrote: Hi, |
Date | 2021-08-03 20:39 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] named instruments issue with livecoding |
Since no one replied yet, I'll have a go. The only way to guarantee that a given number is assigned to an instrument is to assign one in the code. If not Csound will provide one depending on various factors. instr 1, name endin now you can either use name or 1 to refer to it. Prof. Victor Lazzarini Maynooth University Ireland > On Aug 3, 2021, at 3:37 PM, jacopo greco d'alceo |
Date | 2021-08-03 21:22 |
From | Rory Walsh |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] named instruments issue with livecoding |
But nstrnum("name") in this case does not return a 1 which seems odd. Or at least that's how I remember it being.. On Tue 3 Aug 2021, 8:39 p.m. Victor Lazzarini, <Victor.Lazzarini@mu.ie> wrote: Since no one replied yet, I'll have a |
Date | 2021-08-03 21:29 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] named instruments issue with livecoding |
Ok, then you just can't rely on a named instrument using a given number, because using a name will look for the assigned number and that can be anything.
if you need to rely on a numeric p1, you will need to use a number to instantiate it. That's the bottom line.
Prof. Victor Lazzarini
Maynooth University
Ireland
On Aug 3, 2021, at 9:23 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
|
Date | 2021-08-03 21:41 |
From | Rory Walsh |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] named instruments issue with livecoding |
I should have said that Steven already explained this to me 😂 I was just saying I don't it odd is all. On Tue 3 Aug 2021, 9:29 p.m. Victor Lazzarini, <Victor.Lazzarini@mu.ie> wrote:
|
Date | 2021-08-03 21:42 |
From | Rory Walsh |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] named instruments issue with livecoding |
...think it's odd. On Tue 3 Aug 2021, 9:41 p.m. Rory Walsh, <rorywalsh@ear.ie> wrote:
|
Date | 2021-08-03 23:55 |
From | Pete Goodeve |
Subject | Re: [Csnd] named instruments issue with livecoding |
Attachments | None |
Date | 2021-08-04 08:59 |
From | John ff |
Subject | Re: [Csnd] named instruments issue with livecoding |
When you say "live coding" what are you actually running? Sent from TypeApp On Aug 3, 2021, 19:47, at 19:47, Pete Goodeve |