[Csnd] midifilestatus usage?
Date | 2013-07-16 12:56 |
From | zappfinger |
Subject | [Csnd] midifilestatus usage? |
I am trying out this new opcode midifilestatus, but I get: error: Unable to find opcode entry for 'midifilestatus' with matching argument types: Found: i midifilestatus (null) Line: 58 Loc: 1 Parsing failed due to 1 semantic error! I use it as gistatus midifilestatus The opcode is listed with the -z flag Am I missing an argument or so? When use it as: gistatus midifilestatus() I get: error: syntax error, unexpected T_OPCODEB (token "midifilestatus") line 57: >>>gistatus midifilestatus <<< Unexpected untyped word gistatus when expecting a variable Richard -- View this message in context: http://csound.1045644.n5.nabble.com/midifilestatus-usage-tp5725665.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-07-16 16:27 |
From | Victor Lazzarini |
Subject | Re: [Csnd] midifilestatus usage? |
sorry my mistake; it's supposed to be kres midifilestatus and kres is 1 while it plays and 0 when it's the end. i-time output wouldn't make any sense. Victor On 16 Jul 2013, at 12:56, zappfinger wrote: > I am trying out this new opcode midifilestatus, but I get: > > error: Unable to find opcode entry for 'midifilestatus' with matching > argument types: > Found: i midifilestatus (null) > Line: 58 Loc: 1 > Parsing failed due to 1 semantic error! > > I use it as > > gistatus midifilestatus > > The opcode is listed with the -z flag > Am I missing an argument or so? > > When use it as: > gistatus midifilestatus() > > I get: > error: syntax error, unexpected T_OPCODEB (token "midifilestatus") line 57: >>>> gistatus midifilestatus <<< > Unexpected untyped word gistatus when expecting a variable > > Richard > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/midifilestatus-usage-tp5725665.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-07-16 17:01 |
From | zappfinger |
Subject | [Csnd] Re: midifilestatus usage? |
Ok, makes sense... It seems to do the job now. Thanks! Richard -- View this message in context: http://csound.1045644.n5.nabble.com/midifilestatus-usage-tp5725665p5725676.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-07-16 19:06 |
From | Andres Cabrera |
Subject | Re: [Csnd] midifilestatus usage? |
This is good. Is there a way to check this from a host through the API? AndrésCheers, On Tue, Jul 16, 2013 at 8:27 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: sorry my mistake; it's supposed to be |