Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] UDO now working

Date2006-07-31 15:37
FromMichael Gogins
SubjectRe: [Cs-dev] UDO now working
In my orchestra, I use pset to set p3 to 3600 instead of -1. I do this so that I can compute a meaningful envelope that will be released when a NOTE OFF message is received. It occurs to me that the Csound scheduler may not release a note that does not have p3 set to -1, or may release it incorrectly -- is there a chance of that?

Anyway, other details are:

Using --midi-key and --midi-velocity to route to pfields 4 and 5 (works fine)
Using linsegr for releasing envelopes (perhaps does not work in UDO? but it used to)
Using UDOs for releasing envelopes, stereo panning, and mixer routing (seems to work fine)

Behavior:

MIDI notes start and sound properly.
Notes are not released when they should be.
Some message about opdelim or something (can't recall exactly) keep appearing -- the message seems to be about whether the opcode list is as long as Csound thinks it is.
Messages "new alloc for instr N:" keep appearing -- it's as though released notes are not re-used, or notes are never actually released.
CPU usage climbs until it hits the wall.

I'm not sure whether the actual sound builds up -- didn't have a lot of time to test before leaving for work this morning. But the CPU load definitely is building up. It's as though instr instances are never removed from the active list.

Regards,
Mike

-----Original Message-----
>From: jpff@codemist.co.uk
>Sent: Jul 31, 2006 10:26 AM
>To: csound-devel@lists.sourceforge.net
>Cc: csound-devel@lists.sourceforge.net
>Subject: Re: [Cs-dev] UDO now working
>
>Can you give more information?  As far as i know I only changed UDOs,
>and in a benign fashion.
>==John ffitch
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-07-31 17:14
Fromjpff@codemist.co.uk
SubjectRe: [Cs-dev] UDO now working
I have reverted the code -- and will review it.
I now have a UDO test program which works correctly now and did not
(zeros inserted between all samples).
  Apologies; never did understand UDOs implementation and now I am
learning.

==John ffitch

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net