diskin2: file descriptor closed or invalid
Date | 2016-08-14 10:18 |
From | Luis Antunes Pena <00000107242cff1e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | diskin2: file descriptor closed or invalid |
Dear Csound-Community, I'm getting this error message "diskin2: file descriptor closed or invalid" when I turn a diskin2 instrument off using another instrument via turnoff2. Is there an elegant way to avoid this error message? I'm running csound 6.06 in OSX10.9.5 Thanks for any help, Luis |
Date | 2016-08-14 15:51 |
From | Tarmo Johannes |
Subject | Re: diskin2: file descriptor closed or invalid |
I have had the same but just ignored the message. Would be nice to hear a suggstion. One queation: 14.08.2016 17:18 kirjutas kuupƤeval "Luis Antunes Pena" <00000107242cff1e-dmarc-request@listserv.heanet.ie>:
|
Date | 2016-08-14 20:36 |
From | jpff |
Subject | Re: diskin2: file descriptor closed or invalid |
That error message is created by the diskin2 performance function when the file as been closed elsewhere. I would appreciate a csd file that triggered the error so I can case. ==Jon ff On Sun, 14 Aug 2016, Luis Antunes Pena wrote: > Dear Csound-Community, > I'm getting this error message "diskin2: file descriptor closed or invalid" > when I turn a diskin2 instrument off using another instrument via turnoff2. > Is there an elegant way to avoid this error message? > I'm running csound 6.06 in OSX10.9.5 > Thanks for any help, > Luis > > -- > http://luisantunespena.eu > 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 |
Date | 2016-08-16 08:16 |
From | Luis Antunes Pena <00000107242cff1e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: diskin2: file descriptor closed or invalid |
Thanks for your answers. I think I got
the problem. It seams like the instrument you want to turn off
should be before the one that kills this instrument. The
order of the instrument number looks like to be relevant for this
issue.
I made a csd file that creates this error. Changing the order of instrument 3 and 4 will avoid this error message. Best, Luis <CsoundSynthesizer> <CsOptions> -odac -iadc -d -m0 -b128 -B512 ; </CsOptions> <CsInstruments> sr = 44100 ksmps = 128 nchnls = 2 0dbfs = 1 instr 1 itime = 2 ktrig metro 1/itime schedkwhen ktrig, 0, 1, 4, 0, -1 schedkwhen ktrig, 0, 1, 3, .5, 0.1 endin instr 3 turnoff2 4, 0, 0 turnoff endin instr 4 p3 = p3+.1 a1, a2 diskin2 "FRAG4_T108_34.aiff", 1 outs a1, a2 endin </CsInstruments> <CsScore> i1 0 20 e </CsScore> </CsoundSynthesizer> Am 14.08.16 um 21:36 schrieb jpff: That error message is created by the diskin2 performance function when the file as been closed elsewhere. I would appreciate a csd file that triggered the error so I can case.
|