Csound Csound-dev Csound-tekno Search About

[Csnd] Enforced mono held notes

Date2020-06-19 19:04
FromPeter Burgess
Subject[Csnd] Enforced mono held notes
Hi. I've just noticed that if you trigger a held note via the score using negative duration, you cannot stack held notes, each consecutive held note event counts as updating the parameters. Is there a way to change this behaviour so I don't need to give every note instance a decimal value in p1 and track all currently active notes on my app?

Pete
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

Date2020-06-19 20:11
FromEduardo Moguillansky
SubjectRe: [Csnd] Enforced mono held notes

#define  FOREVER #9999999999#

schedule("instrname", 0,  $FOREVER)

On 19.06.20 20:04, Peter Burgess wrote:
Hi. I've just noticed that if you trigger a held note via the score using negative duration, you cannot stack held notes, each consecutive held note event counts as updating the parameters. Is there a way to change this behaviour so I don't need to give every note instance a decimal value in p1 and track all currently active notes on my app?

Pete
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

Date2020-06-19 20:17
FromJohn ff
SubjectRe: [Csnd] Enforced mono held notes
Or use a z for the note length in the score?

⁣Sent from TypeApp ​

On Jun 19, 2020, 20:14, at 20:14, Eduardo Moguillansky  wrote:
>#define  FOREVER #9999999999#
>
>schedule("instrname", 0,  $FOREVER)
>
>On 19.06.20 20:04, Peter Burgess wrote:
>> Hi. I've just noticed that if you trigger a held note via the score 
>> using negative duration, you cannot stack held notes, each
>consecutive 
>> held note event counts as updating the parameters. Is there a way to 
>> change this behaviour so I don't need to give every note instance a 
>> decimal value in p1 and track all currently active notes on my app?
>>
>> Pete
>> 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

Date2020-06-19 22:25
FromPeter Burgess
SubjectRe: [Csnd] Enforced mono held notes
Sorry, to be clear I'm creating the score event from the c++ API using Csound:: ScoreEvent() which takes an array of doubles as P values, so I can't use 'z'.

I could set a really high value I guess, but will the 'd' events that cancel held notes actually cancel these events seeing as they're not strictly speaking held notes?

On Fri, 19 Jun 2020, 20:18 John ff, <jpff@codemist.co.uk> wrote:
Or use a z for the note length in the score?

⁣Sent from TypeApp ​

On Jun 19, 2020, 20:14, at 20:14, Eduardo Moguillansky <eduardo.moguillansky@gmail.com> wrote:
>#define  FOREVER #9999999999#
>
>schedule("instrname", 0,  $FOREVER)
>
>On 19.06.20 20:04, Peter Burgess wrote:
>> Hi. I've just noticed that if you trigger a held note via the score
>> using negative duration, you cannot stack held notes, each
>consecutive
>> held note event counts as updating the parameters. Is there a way to
>> change this behaviour so I don't need to give every note instance a
>> decimal value in p1 and track all currently active notes on my app?
>>
>> Pete
>> Csound mailing list Csound@listserv.heanet.ie
>> <mailto: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