Csound Csound-dev Csound-tekno Search About

Csound error in OM-Prisma library

Date2017-01-18 17:30
FromFabio De Sanctis De Benedictis
SubjectCsound error in OM-Prisma library
Hi All,

I apologize if this subject is off topic.

In using OM-Prisma library in OpenMusic, I receive this error:

opcode timeoftravel_discrete, a, aii
asound, idist, idopplerfunction xin
idelaytime = idist*2.9411764705882353
idelayindex = idelaytime*0.0068
idelaytime tablei idelayindex, idopplerfunction, 1, 0, 0
adelaytime limit idelaytime, 128/sr, 0.3 ;;;; this is line 99
aspkfeed vdelayxw asound, adelaytime, 0.3, 256
xout aspkfeed
endop

Apparently the error is always on timeoftravel_discrete opcode, and the
error is specifically on adelaytime instruction. Using WinXound on sco
and orc files generated by OM the message is:

error: Unable to find opcode entry for ‘limit’ with matching argument
types:
Found: a limit iic
Line: 99
from file /Users/fabio/lib/OM_workspace/out-files/my_synt.csd (1)
Parsing failed to syntax errors
Stopping on parser failure

I am using OM 6.09 on OsX 10.8.5 and OM-Prisma 2.35 and Csound 6.08.
Please, note: this error does not present using Csound 6.06 (about 6.07
I have not tested).

Thank you in advance for any suggestion.

Ciao


fdsdb

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

Date2017-01-18 17:38
Fromjpff
SubjectRe: Csound error in OM-Prisma library
limit to return an a-typ needs an a-type first argument.  The answer type 
for your argumens is i
   Just looking  at the manual


On Wed, 18 Jan 2017, Fabio De Sanctis De Benedictis wrote:

> Hi All,
>
> I apologize if this subject is off topic.
>
> In using OM-Prisma library in OpenMusic, I receive this error:
>
> opcode timeoftravel_discrete, a, aii
> asound, idist, idopplerfunction xin
> idelaytime = idist*2.9411764705882353
> idelayindex = idelaytime*0.0068
> idelaytime tablei idelayindex, idopplerfunction, 1, 0, 0
> adelaytime limit idelaytime, 128/sr, 0.3 ;;;; this is line 99
> aspkfeed vdelayxw asound, adelaytime, 0.3, 256
> xout aspkfeed
> endop
>
> Apparently the error is always on timeoftravel_discrete opcode, and the
> error is specifically on adelaytime instruction. Using WinXound on sco
> and orc files generated by OM the message is:
>
> error: Unable to find opcode entry for ‘limit’ with matching argument
> types:
> Found: a limit iic
> Line: 99
> from file /Users/fabio/lib/OM_workspace/out-files/my_synt.csd (1)
> Parsing failed to syntax errors
> Stopping on parser failure
>
> I am using OM 6.09 on OsX 10.8.5 and OM-Prisma 2.35 and Csound 6.08.
> Please, note: this error does not present using Csound 6.06 (about 6.07
> I have not tested).
>
> Thank you in advance for any suggestion.
>
> Ciao
>
>
> fdsdb
>
> 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

Date2017-01-21 07:11
FromFabio De Sanctis De Benedictis
SubjectRe: Csound error in OM-Prisma library
Hi,

Thank you for reply and sorry for delay in answering.
The problem is that orc and sco files are generated by Prisma library,
and anyway I don't understand why Csound 6.06 runs: I think a bad orc
file should generated an error also in 6.06 version.
I have posted the same problem at one Ircam list, I hope to have an
answer that I will post in this list, too.

Thank you again for help, Best


fdsdb


Il giorno mer, 18/01/2017 alle 17.38 +0000, jpff ha scritto:
> limit to return an a-typ needs an a-type first argument.  The answer type 
> for your argumens is i
>    Just looking  at the manual
> 
> 
> On Wed, 18 Jan 2017, Fabio De Sanctis De Benedictis wrote:
> 
> > Hi All,
> >
> > I apologize if this subject is off topic.
> >
> > In using OM-Prisma library in OpenMusic, I receive this error:
> >
> > opcode timeoftravel_discrete, a, aii
> > asound, idist, idopplerfunction xin
> > idelaytime = idist*2.9411764705882353
> > idelayindex = idelaytime*0.0068
> > idelaytime tablei idelayindex, idopplerfunction, 1, 0, 0
> > adelaytime limit idelaytime, 128/sr, 0.3 ;;;; this is line 99
> > aspkfeed vdelayxw asound, adelaytime, 0.3, 256
> > xout aspkfeed
> > endop
> >
> > Apparently the error is always on timeoftravel_discrete opcode, and the
> > error is specifically on adelaytime instruction. Using WinXound on sco
> > and orc files generated by OM the message is:
> >
> > error: Unable to find opcode entry for ‘limit’ with matching argument
> > types:
> > Found: a limit iic
> > Line: 99
> > from file /Users/fabio/lib/OM_workspace/out-files/my_synt.csd (1)
> > Parsing failed to syntax errors
> > Stopping on parser failure
> >
> > I am using OM 6.09 on OsX 10.8.5 and OM-Prisma 2.35 and Csound 6.08.
> > Please, note: this error does not present using Csound 6.06 (about 6.07
> > I have not tested).
> >
> > Thank you in advance for any suggestion.
> >
> > Ciao
> >
> >
> > fdsdb
> >
> > 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