[Csnd] Exponential envelopes and 0
Date | 2019-02-23 16:25 |
From | Peter Burgess |
Subject | [Csnd] Exponential envelopes and 0 |
Hi guys. I was thinking it might be nice if the exponential curve generators accepted a value of 0 and just internally converted it to the minimum non 0 value. If I was to succeed in modifying this, would that be something that would get put in the main source? I figure it doesn't break backwards compatibility at least, and (without yet having looked at the code) I'd imagine will only require a small initialisation overhead if done right
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
Pete |
Date | 2019-02-23 16:36 |
From | Rory Walsh |
Subject | Re: [Csnd] Exponential envelopes and 0 |
I'd find it odd seeing a zero as an input argument to an exponential envelope generator, but I'm not against the idea. I've forgotten the number of times I've had to correct this simple mistake in student's code. On Sat, 23 Feb 2019 at 16:25, Peter Burgess <pete.soundtechnician@gmail.com> wrote:
|
Date | 2019-02-23 16:43 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Exponential envelopes and 0 |
Easy enough to do as a UDO. We can't change behaviour, and it doesn't merit
a new set of opcodes (IMHO).
Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2019-02-23 16:58 |
From | mskala@ANSUZ.SOOKE.BC.CA |
Subject | Re: [Csnd] Exponential envelopes and 0 |
On Sat, 23 Feb 2019, Peter Burgess wrote: > Hi guys. I was thinking it might be nice if the exponential curve generators > accepted a value of 0 and just internally converted it to the minimum non 0 > value. If I was to succeed in modifying this, would that be something that One problem with this is that it makes the speed of the envelope change a lot depending on what the "minimum nonzero value" actually is. Increasing from -50dB to 0dB in 1s sounds a lot different from increasing from -100dB to 0dB in 1s. So in order to make use of an envelope with this feature I need to have a pretty good idea of what the minimum value is, and depend on that not changing in some future version, and if I have to think that hard I'd be better off really writing what I mean instead of depending on the system to correct my error. -- Matthew Skala mskala@ansuz.sooke.bc.ca People before tribes. https://ansuz.sooke.bc.ca/ 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 |
Date | 2019-02-23 18:26 |
From | Peter Burgess |
Subject | Re: [Csnd] Exponential envelopes and 0 |
Victor - You wouldn't be changing the behaviour for everyone who has 0.0001 as their "0" value, and anyone already using 0 had bigger problems right now. Mathew - The minimum value will change depending on whether float or double is used, that is true... Although you could set it to always use float's minimum non 0 value no matter what... Or a note in the manual might work instead? On Sat, 23 Feb 2019, 16:57 <mskala@ansuz.sooke.bc.ca wrote: On Sat, 23 Feb 2019, Peter Burgess wrote: |
Date | 2019-02-23 18:31 |
From | Peter Burgess |
Subject | Re: [Csnd] Exponential envelopes and 0 |
And am I right in thinking negative values are possible for expseg etc? If so this will allow things like randomly selected values or sweeping values from negative to positive without the user guarding against zero
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
|