Csound Csound-dev Csound-tekno Search About

[Cs-dev] functional syntax broken?

Date2013-07-13 10:12
Fromjoachim heintz
Subject[Cs-dev] functional syntax broken?
hi all -

is the functional syntax broken? instead of this:
   instr 1
a1 poscil .2, 400
out a1
   endin

i tried
   instr 1
a1 poscil .2, 400
out(a1)
   endin

and get a segfault.

when i try
   instr 1
out(poscil(.2, 400))
   endin

i get:
error:  Unable to find opcode entry for 'out' with matching argument types:
Found: (null) out c
Line: 12 Loc: 1
Parsing failed due to 1 semantic error!

this is with
csound6 july 10 (commit 920d81334b25d33aab3aa4f277a6214f8f71effe)
ubuntu studio 12.04

thanks and best regards -

	joachim

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-07-13 10:50
FromVictor Lazzarini
SubjectRe: [Cs-dev] functional syntax broken?
Possibly with John's fixes for Rory's detected bug has broken the syntax where opcodes with no outputs could
be used like that. So for the moment, avoid  

out()

using out ...

instead. Otherwise, the other things should work.

Victor
On 13 Jul 2013, at 10:12, joachim heintz wrote:

> hi all -
> 
> is the functional syntax broken? instead of this:
>   instr 1
> a1 poscil .2, 400
> out a1
>   endin
> 
> i tried
>   instr 1
> a1 poscil .2, 400
> out(a1)
>   endin
> 
> and get a segfault.
> 
> when i try
>   instr 1
> out(poscil(.2, 400))
>   endin
> 
> i get:
> error:  Unable to find opcode entry for 'out' with matching argument types:
> Found: (null) out c
> Line: 12 Loc: 1
> Parsing failed due to 1 semantic error!
> 
> this is with
> csound6 july 10 (commit 920d81334b25d33aab3aa4f277a6214f8f71effe)
> ubuntu studio 12.04
> 
> thanks and best regards -
> 
> 	joachim
> 
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-07-13 11:23
FromVictor Lazzarini
SubjectRe: [Cs-dev] functional syntax broken?
Fixed in GIT now.
On 13 Jul 2013, at 10:50, Victor Lazzarini wrote:

> Possibly with John's fixes for Rory's detected bug has broken the syntax where opcodes with no outputs could
> be used like that. So for the moment, avoid  
> 
> out()
> 
> using out ...
> 
> instead. Otherwise, the other things should work.
> 
> Victor
> On 13 Jul 2013, at 10:12, joachim heintz wrote:
> 
>> hi all -
>> 
>> is the functional syntax broken? instead of this:
>>  instr 1
>> a1 poscil .2, 400
>> out a1
>>  endin
>> 
>> i tried
>>  instr 1
>> a1 poscil .2, 400
>> out(a1)
>>  endin
>> 
>> and get a segfault.
>> 
>> when i try
>>  instr 1
>> out(poscil(.2, 400))
>>  endin
>> 
>> i get:
>> error:  Unable to find opcode entry for 'out' with matching argument types:
>> Found: (null) out c
>> Line: 12 Loc: 1
>> Parsing failed due to 1 semantic error!
>> 
>> this is with
>> csound6 july 10 (commit 920d81334b25d33aab3aa4f277a6214f8f71effe)
>> ubuntu studio 12.04
>> 
>> thanks and best regards -
>> 
>> 	joachim
>> 
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-07-13 16:48
Fromjoachim heintz
SubjectRe: [Cs-dev] functional syntax broken?
excellent, victor. works now.
thanks -
	joachim


Am 13.07.2013 12:23, schrieb Victor Lazzarini:
> Fixed in GIT now.
> On 13 Jul 2013, at 10:50, Victor Lazzarini wrote:
>
>> Possibly with John's fixes for Rory's detected bug has broken the syntax where opcodes with no outputs could
>> be used like that. So for the moment, avoid
>>
>> out()
>>
>> using out ...
>>
>> instead. Otherwise, the other things should work.
>>
>> Victor
>> On 13 Jul 2013, at 10:12, joachim heintz wrote:
>>
>>> hi all -
>>>
>>> is the functional syntax broken? instead of this:
>>>   instr 1
>>> a1 poscil .2, 400
>>> out a1
>>>   endin
>>>
>>> i tried
>>>   instr 1
>>> a1 poscil .2, 400
>>> out(a1)
>>>   endin
>>>
>>> and get a segfault.
>>>
>>> when i try
>>>   instr 1
>>> out(poscil(.2, 400))
>>>   endin
>>>
>>> i get:
>>> error:  Unable to find opcode entry for 'out' with matching argument types:
>>> Found: (null) out c
>>> Line: 12 Loc: 1
>>> Parsing failed due to 1 semantic error!
>>>
>>> this is with
>>> csound6 july 10 (commit 920d81334b25d33aab3aa4f277a6214f8f71effe)
>>> ubuntu studio 12.04
>>>
>>> thanks and best regards -
>>>
>>> 	joachim
>>>
>>> ------------------------------------------------------------------------------
>>> See everything from the browser to the database with AppDynamics
>>> Get end-to-end visibility with application monitoring from AppDynamics
>>> Isolate bottlenecks and diagnose root cause in seconds.
>>> Start your free trial of AppDynamics Pro today!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net