Csound Csound-dev Csound-tekno Search About

[Csnd-dev] veloc

Date2025-09-22 22:03
FromTarmo Johannes
Subject[Csnd-dev] veloc
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




Date2025-09-23 06:42
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] veloc
No reason, it looks like a bug.
Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Sep 2025, at 22:03, Tarmo Johannes <trmjhnns@gmail.com> 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




Date2025-09-23 07:30
FromTarmo Johannes
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] veloc
Thanks,
I issued a ticket so it easier to keep track with it:
https://github.com/csound/csound/issues/2284

tarmo

Kontakt Victor Lazzarini (<000010b17ddd988e-dmarc-request@listserv.heanet.ie>) kirjutas kuupäeval T, 23. september 2025 kell 08:42:
No reason, it looks like a bug.
Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Sep 2025, at 22:03, Tarmo Johannes <trmjhnns@gmail.com> 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




Date2025-09-23 08:47
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] veloc
great, thx. I've diagnosed it, now looking for a solution.
Prof. Victor Lazzarini
Maynooth University
Ireland

On 23 Sep 2025, at 07:31, Tarmo Johannes <trmjhnns@gmail.com> wrote:


Thanks,
I issued a ticket so it easier to keep track with it:
https://github.com/csound/csound/issues/2284

tarmo

Kontakt Victor Lazzarini (<000010b17ddd988e-dmarc-request@listserv.heanet.ie>) kirjutas kuupäeval T, 23. september 2025 kell 08:42:
No reason, it looks like a bug.
Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Sep 2025, at 22:03, Tarmo Johannes <trmjhnns@gmail.com> 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