Csound Csound-dev Csound-tekno Search About

[Csnd] xtratim or max issue

Date2020-05-25 11:07
From"Jeanette C."
Subject[Csnd] xtratim or max issue
Hey hey,
I found a problem, which I don't understand. Consider this line of code:
xtratim max(ivar1, ivar2) ; both ivar1 and ivar2 exist

This results in the following error:
error:  Unable to find opcode entry for 'xtratim' with matching argument 
types:
Found: (null) xtratim k

The manual states that there is a form:
imax max iin1, iin2, ...
So why could this particular code be recognised as having a k-rate output from 
max?

For the time being I worked around it by first assigning the result from max 
to another i-rate variable and giving this to xtratim.

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Don't, don't let me be the last to know
Don't hold back, just let it go <3
(Britney Spears)

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

Date2020-05-25 11:07
FromEduardo Moguillansky
SubjectRe: [Csnd] xtratim or max issue
this is fixed in git

On 25.05.20 12:07, Jeanette C. wrote:
> Hey hey,
> I found a problem, which I don't understand. Consider this line of code:
> xtratim max(ivar1, ivar2) ; both ivar1 and ivar2 exist
>
> This results in the following error:
> error:  Unable to find opcode entry for 'xtratim' with matching 
> argument types:
> Found: (null) xtratim k
>
> The manual states that there is a form:
> imax max iin1, iin2, ...
> So why could this particular code be recognised as having a k-rate 
> output from max?
>
> For the time being I worked around it by first assigning the result 
> from max to another i-rate variable and giving this to xtratim.
>
> Best wishes,
>
> Jeanette
>

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

Date2020-05-25 11:14
From"Jeanette C."
SubjectRe: [Csnd] xtratim or max issue
May 25 2020, Eduardo Moguillansky has written:

> this is fixed in git
Thank you.
>
> On 25.05.20 12:07, Jeanette C. wrote:
>> Hey hey,
>> I found a problem, which I don't understand. Consider this line of code:
>> xtratim max(ivar1, ivar2) ; both ivar1 and ivar2 exist
>> 
>> This results in the following error:
>> error:  Unable to find opcode entry for 'xtratim' with matching argument 
>> types:
>> Found: (null) xtratim k
>> 
>> The manual states that there is a form:
>> imax max iin1, iin2, ...
>> So why could this particular code be recognised as having a k-rate output 
>> from max?
>> 
>> For the time being I worked around it by first assigning the result from 
>> max to another i-rate variable and giving this to xtratim.
>> 
>> Best wishes,
>> 
>> Jeanette
>> 
>
> 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
>

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Don't, don't let me be the last to know
Don't hold back, just let it go <3
(Britney Spears)

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

Date2020-05-25 17:51
Fromjoachim heintz
SubjectRe: [Csnd] xtratim or max issue
but perhaps to write
	xtratim max:i(ivar1, ivar2)
should nevertheless be recommended ...

On 25/05/2020 12:14, Jeanette C. wrote:
> May 25 2020, Eduardo Moguillansky has written:
> 
>> this is fixed in git
> Thank you.
>>
>> On 25.05.20 12:07, Jeanette C. wrote:
>>> Hey hey,
>>> I found a problem, which I don't understand. Consider this line of code:
>>> xtratim max(ivar1, ivar2) ; both ivar1 and ivar2 exist
>>>
>>> This results in the following error:
>>> error:  Unable to find opcode entry for 'xtratim' with matching 
>>> argument types:
>>> Found: (null) xtratim k
>>>
>>> The manual states that there is a form:
>>> imax max iin1, iin2, ...
>>> So why could this particular code be recognised as having a k-rate 
>>> output from max?
>>>
>>> For the time being I worked around it by first assigning the result 
>>> from max to another i-rate variable and giving this to xtratim.
>>>
>>> Best wishes,
>>>
>>> Jeanette
>>>
>>
>> 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

Date2020-05-25 17:58
FromDave Seidel
SubjectRe: [Csnd] xtratim or max issue
Maybe better to be to be consistent with functional notation?

xtratrim(max:i(ivar1, ivar1)) 

Not tested.


On Mon, May 25, 2020, 12:52 PM joachim heintz <jh@joachimheintz.de> wrote:
but perhaps to write
        xtratim max:i(ivar1, ivar2)
should nevertheless be recommended ...

On 25/05/2020 12:14, Jeanette C. wrote:
> May 25 2020, Eduardo Moguillansky has written:
>
>> this is fixed in git
> Thank you.
>>
>> On 25.05.20 12:07, Jeanette C. wrote:
>>> Hey hey,
>>> I found a problem, which I don't understand. Consider this line of code:
>>> xtratim max(ivar1, ivar2) ; both ivar1 and ivar2 exist
>>>
>>> This results in the following error:
>>> error:  Unable to find opcode entry for 'xtratim' with matching
>>> argument types:
>>> Found: (null) xtratim k
>>>
>>> The manual states that there is a form:
>>> imax max iin1, iin2, ...
>>> So why could this particular code be recognised as having a k-rate
>>> output from max?
>>>
>>> For the time being I worked around it by first assigning the result
>>> from max to another i-rate variable and giving this to xtratim.
>>>
>>> Best wishes,
>>>
>>> Jeanette
>>>
>>
>> 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