Csound Csound-dev Csound-tekno Search About

[Csnd] Held notes?

Date2020-05-28 20:29
FromPete Goodeve
Subject[Csnd] Held notes?
AttachmentsNone  None  SineExper.csd  

Date2020-06-06 15:17
FromSteven Yi
SubjectRe: [Csnd] Held notes?
Hi Pete,

I don't remember if this was answered but this is the expected behavior. If a score is found, the engine will render until all notes are done and ignores held notes in that calculation.  Otherwise there's a halting problem and the project can run forever and that would not be ideal for rendering to disk! 

Steven



On Thu, May 28, 2020 at 3:29 PM Pete Goodeve <pete.goodeve@computer.org> wrote:
Hi,
This is a follow on from my attempt to sort out the 'd' score
statement yesterday.  I've simplified things by just seeing
how held notes behave, and I'm still confused!

Using a simple sine generator (CSD attached), I start
with a score like this (p4=MIDI number, p5=amp):

f0 z

i1 0 -1 60 1.0
i1 1 -1 67 1.0

And I get what I'd expect -- the 'C' note plays for one second
and is replaced by thw 'G', which plays until the csd is stopped.

Then I remove the 'f0 z'.  Now the C plays as before, but everything
quits after one second and the G never sounds!

In most situations these days I don't use 'f0' because a score
usually plays to the end, and a totally empty score section stays
active until killed.

Is the above expected behaviour, or is it just a bug?

Thanks.
        -- 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

Date2020-06-06 21:36
FromPete Goodeve
SubjectRe: [Csnd] Held notes?
AttachmentsNone