[Csnd-dev] veloc

Tarmo Johannes <[email protected]> Tue, 23 Sep 2025 00:03:27 +0300
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CAPvdOzCSJ=Z26ODRqVrbFfrLdDtke1rYSbQ5pgWSpVYpR=2=7g@mail.gmail.com>
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