Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] veloc

Victor Lazzarini <[email protected]> Tue, 23 Sep 2025 05:42:13 +0000
Newsgroups gmane.comp.audio.csound.devel
Message-ID <[email protected]>
No reason, it looks like a bug.
Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Sep 2025, at 22:03, Tarmo Johannes <[email protected]> wrote:


*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Hi!

I there a reason why this "old style" line:

iVelocity veloc

throws an error in Csound 7:

error: Unable to find opcode with name: iVelocity

iVelocity=veloc() ; works.
iVelocity veloc 10, 100 ; works too

Minimal csd:


<CsoundSynthesizer>

<CsOptions>

-odac

</CsOptions>

<CsInstruments>


sr = 44100

ksmps = 64

nchnls = 2

0dbfs = 1



instr 1

iVelocity veloc ; fails

iVel2 veloc 10, 100 ; works

iVel3 = veloc() ; works

endin


</CsInstruments>

<CsScore>


</CsScore>

</CsoundSynthesizer>


tarmo