Csound Csound-dev Csound-tekno Search About

[Cs-dev] Unable to find opcode entry for...

Date2014-01-30 08:13
FromOeyvind Brandtsegg
Subject[Cs-dev] Unable to find opcode entry for...
Attachmentsspect.csd  None  None  
I am stumbling across more strange errors when running some of my old
csd under csound6

For the attached csd I have:

error:  Unable to find opcode entry for 'pvsfreeze' with matching
argument types:
Found: l pvsfreeze fkk
Line: 83
 from file spect.csd (1)
Parsing failed due to 1 semantic error!

This happens only with cs6, not with 5.19
Any ideas?

-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

Date2014-01-30 08:57
FromVictor Lazzarini
SubjectRe: [Cs-dev] Unable to find opcode entry for...
The problem is that “freezeN” is used as a label and as a variable. I think it may be possible that
the old parser allowed that, but the new one certainly doesn’t.

 freeze1:
if kfreeze1Active == 0 kgoto skipFreeze1
	kfreez1		init -5
	kgain1		linseg 0, i(kfreezeAttack), 1, i(kfreezeLength-kfreezeAttack-kfreezeRelease), 1, i(kfreezeRelease), 0, 1, 0
	rireturn
	freeze1		pvsfreeze fftin, kfreez1, kfreez1
	kfreez1 	= (kfreez1 < 2 ? kfreez1 + 1 : kfreez1)
	kreset1		trigger kgain1, 0.001, 1
	kfreeze1Active 	= (kreset1 > 0 ? 0 : kfreeze1Active)
	fwarp1		pvswarp freeze1, kscale, kshift
	af1		pvsynth fwarp1
	afreeze		= afreeze + af1*kgain1*afrezLevel*i(afrezLevel)	; i(afrezLevel) is updated only on new segments, so we can fade out but not fade in manually

On 30 Jan 2014, at 08:13, Oeyvind Brandtsegg  wrote:

> I am stumbling across more strange errors when running some of my old
> csd under csound6
> 
> For the attached csd I have:
> 
> error:  Unable to find opcode entry for 'pvsfreeze' with matching
> argument types:
> Found: l pvsfreeze fkk
> Line: 83
> from file spect.csd (1)
> Parsing failed due to 1 semantic error!
> 
> This happens only with cs6, not with 5.19
> Any ideas?
> 
> -- 
> 
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
> 
> http://flyndresang.no/
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://soundcloud.com/t-emp
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable 
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-01-30 09:19
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] Unable to find opcode entry for...
Nicely spotted, thank you!

However, it leads me on to another semantic error, as I use
i(afrezLevel)
with the purpose of reading the a-rate level control, updated at every reinit.
This used to be allowed in csound5, but fails now
Is it supposed to be illegal now?

Oeyvind

2014-01-30 Victor Lazzarini :
> The problem is that "freezeN" is used as a label and as a variable. I think it may be possible that
> the old parser allowed that, but the new one certainly doesn't.
>
>  freeze1:
> if kfreeze1Active == 0 kgoto skipFreeze1
>         kfreez1         init -5
>         kgain1          linseg 0, i(kfreezeAttack), 1, i(kfreezeLength-kfreezeAttack-kfreezeRelease), 1, i(kfreezeRelease), 0, 1, 0
>         rireturn
>         freeze1         pvsfreeze fftin, kfreez1, kfreez1
>         kfreez1         = (kfreez1 < 2 ? kfreez1 + 1 : kfreez1)
>         kreset1         trigger kgain1, 0.001, 1
>         kfreeze1Active  = (kreset1 > 0 ? 0 : kfreeze1Active)
>         fwarp1          pvswarp freeze1, kscale, kshift
>         af1             pvsynth fwarp1
>         afreeze         = afreeze + af1*kgain1*afrezLevel*i(afrezLevel) ; i(afrezLevel) is updated only on new segments, so we can fade out but not fade in manually
>
> On 30 Jan 2014, at 08:13, Oeyvind Brandtsegg  wrote:
>
>> I am stumbling across more strange errors when running some of my old
>> csd under csound6
>>
>> For the attached csd I have:
>>
>> error:  Unable to find opcode entry for 'pvsfreeze' with matching
>> argument types:
>> Found: l pvsfreeze fkk
>> Line: 83
>> from file spect.csd (1)
>> Parsing failed due to 1 semantic error!
>>
>> This happens only with cs6, not with 5.19
>> Any ideas?
>>
>> --
>>
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>>
>> http://flyndresang.no/
>> http://www.partikkelaudio.com/
>> http://soundcloud.com/brandtsegg
>> http://soundcloud.com/t-emp
>> ------------------------------------------------------------------------------
>> WatchGuard Dimension instantly turns raw network data into actionable
>> security intelligence. It gives you real-time visual feedback on key
>> security issues and trends.  Skip the complicated setup - simply import
>> a virtual appliance and go from zero to informed in seconds.
>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk_______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-01-30 12:43
FromVictor Lazzarini
SubjectRe: [Cs-dev] Unable to find opcode entry for...
No, that is supposed to work (I think, maybe John or Steven can confirm). 
If so, would you be able to do a minimal example showing it does not work and
file a bug?

Victor

On 30 Jan 2014, at 09:19, Oeyvind Brandtsegg  wrote:

> Nicely spotted, thank you!
> 
> However, it leads me on to another semantic error, as I use
> i(afrezLevel)
> with the purpose of reading the a-rate level control, updated at every reinit.
> This used to be allowed in csound5, but fails now
> Is it supposed to be illegal now?
> 
> Oeyvind
> 
> 2014-01-30 Victor Lazzarini :
>> The problem is that "freezeN" is used as a label and as a variable. I think it may be possible that
>> the old parser allowed that, but the new one certainly doesn't.
>> 
>> freeze1:
>> if kfreeze1Active == 0 kgoto skipFreeze1
>>        kfreez1         init -5
>>        kgain1          linseg 0, i(kfreezeAttack), 1, i(kfreezeLength-kfreezeAttack-kfreezeRelease), 1, i(kfreezeRelease), 0, 1, 0
>>        rireturn
>>        freeze1         pvsfreeze fftin, kfreez1, kfreez1
>>        kfreez1         = (kfreez1 < 2 ? kfreez1 + 1 : kfreez1)
>>        kreset1         trigger kgain1, 0.001, 1
>>        kfreeze1Active  = (kreset1 > 0 ? 0 : kfreeze1Active)
>>        fwarp1          pvswarp freeze1, kscale, kshift
>>        af1             pvsynth fwarp1
>>        afreeze         = afreeze + af1*kgain1*afrezLevel*i(afrezLevel) ; i(afrezLevel) is updated only on new segments, so we can fade out but not fade in manually
>> 
>> On 30 Jan 2014, at 08:13, Oeyvind Brandtsegg  wrote:
>> 
>>> I am stumbling across more strange errors when running some of my old
>>> csd under csound6
>>> 
>>> For the attached csd I have:
>>> 
>>> error:  Unable to find opcode entry for 'pvsfreeze' with matching
>>> argument types:
>>> Found: l pvsfreeze fkk
>>> Line: 83
>>> from file spect.csd (1)
>>> Parsing failed due to 1 semantic error!
>>> 
>>> This happens only with cs6, not with 5.19
>>> Any ideas?
>>> 
>>> --
>>> 
>>> Oeyvind Brandtsegg
>>> Professor of Music Technology
>>> NTNU
>>> 7491 Trondheim
>>> Norway
>>> Cell: +47 92 203 205
>>> 
>>> http://flyndresang.no/
>>> http://www.partikkelaudio.com/
>>> http://soundcloud.com/brandtsegg
>>> http://soundcloud.com/t-emp
>>> ------------------------------------------------------------------------------
>>> WatchGuard Dimension instantly turns raw network data into actionable
>>> security intelligence. It gives you real-time visual feedback on key
>>> security issues and trends.  Skip the complicated setup - simply import
>>> a virtual appliance and go from zero to informed in seconds.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk_______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> 
>> ------------------------------------------------------------------------------
>> WatchGuard Dimension instantly turns raw network data into actionable
>> security intelligence. It gives you real-time visual feedback on key
>> security issues and trends.  Skip the complicated setup - simply import
>> a virtual appliance and go from zero to informed in seconds.
>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> 
> -- 
> 
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
> 
> http://flyndresang.no/
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://soundcloud.com/t-emp
> 
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable 
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-01-30 15:19
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] Unable to find opcode entry for...
aho....,
now, when trying to make a simple example it seems that even though
csound5 did not complain,
it did not use the init-time value, it did actually update the
i(avariable) at a-rate.
Checking the manual, I see that it actually says
i(x) (control-rate or init-rate arg)
so, my bad.
Csound6 correctly catches the error and stops.
So I changed my code to
kvariable downsamp avariable
then do
i(kvariable)
and I can do what I want.
No bug, sorry for the noise.
Oeyvind

2014-01-30 Victor Lazzarini :
> No, that is supposed to work (I think, maybe John or Steven can confirm).
> If so, would you be able to do a minimal example showing it does not work and
> file a bug?
>
> Victor
>
> On 30 Jan 2014, at 09:19, Oeyvind Brandtsegg  wrote:
>
>> Nicely spotted, thank you!
>>
>> However, it leads me on to another semantic error, as I use
>> i(afrezLevel)
>> with the purpose of reading the a-rate level control, updated at every reinit.
>> This used to be allowed in csound5, but fails now
>> Is it supposed to be illegal now?
>>
>> Oeyvind
>>
>> 2014-01-30 Victor Lazzarini :
>>> The problem is that "freezeN" is used as a label and as a variable. I think it may be possible that
>>> the old parser allowed that, but the new one certainly doesn't.
>>>
>>> freeze1:
>>> if kfreeze1Active == 0 kgoto skipFreeze1
>>>        kfreez1         init -5
>>>        kgain1          linseg 0, i(kfreezeAttack), 1, i(kfreezeLength-kfreezeAttack-kfreezeRelease), 1, i(kfreezeRelease), 0, 1, 0
>>>        rireturn
>>>        freeze1         pvsfreeze fftin, kfreez1, kfreez1
>>>        kfreez1         = (kfreez1 < 2 ? kfreez1 + 1 : kfreez1)
>>>        kreset1         trigger kgain1, 0.001, 1
>>>        kfreeze1Active  = (kreset1 > 0 ? 0 : kfreeze1Active)
>>>        fwarp1          pvswarp freeze1, kscale, kshift
>>>        af1             pvsynth fwarp1
>>>        afreeze         = afreeze + af1*kgain1*afrezLevel*i(afrezLevel) ; i(afrezLevel) is updated only on new segments, so we can fade out but not fade in manually
>>>
>>> On 30 Jan 2014, at 08:13, Oeyvind Brandtsegg  wrote:
>>>
>>>> I am stumbling across more strange errors when running some of my old
>>>> csd under csound6
>>>>
>>>> For the attached csd I have:
>>>>
>>>> error:  Unable to find opcode entry for 'pvsfreeze' with matching
>>>> argument types:
>>>> Found: l pvsfreeze fkk
>>>> Line: 83
>>>> from file spect.csd (1)
>>>> Parsing failed due to 1 semantic error!
>>>>
>>>> This happens only with cs6, not with 5.19
>>>> Any ideas?
>>>>
>>>> --
>>>>
>>>> Oeyvind Brandtsegg
>>>> Professor of Music Technology
>>>> NTNU
>>>> 7491 Trondheim
>>>> Norway
>>>> Cell: +47 92 203 205
>>>>
>>>> http://flyndresang.no/
>>>> http://www.partikkelaudio.com/
>>>> http://soundcloud.com/brandtsegg
>>>> http://soundcloud.com/t-emp
>>>> ------------------------------------------------------------------------------
>>>> WatchGuard Dimension instantly turns raw network data into actionable
>>>> security intelligence. It gives you real-time visual feedback on key
>>>> security issues and trends.  Skip the complicated setup - simply import
>>>> a virtual appliance and go from zero to informed in seconds.
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk_______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WatchGuard Dimension instantly turns raw network data into actionable
>>> security intelligence. It gives you real-time visual feedback on key
>>> security issues and trends.  Skip the complicated setup - simply import
>>> a virtual appliance and go from zero to informed in seconds.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> --
>>
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>>
>> http://flyndresang.no/
>> http://www.partikkelaudio.com/
>> http://soundcloud.com/brandtsegg
>> http://soundcloud.com/t-emp
>>
>> ------------------------------------------------------------------------------
>> WatchGuard Dimension instantly turns raw network data into actionable
>> security intelligence. It gives you real-time visual feedback on key
>> security issues and trends.  Skip the complicated setup - simply import
>> a virtual appliance and go from zero to informed in seconds.
>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net