transeg and transegr
Date | 2016-01-09 02:16 |
From | Guillermo Senna |
Subject | transeg and transegr |
Attachments | transeg_r.csd |
Hi, I was trying to do something with MIDI. So for an envelope I tried transegr. I am hearing steps in anything but the release segment.Could you test the attached .csd and tell me if that is how transegr should actually work? It is the same envelope in both instr 1 and 2, but the result is completely different. There are no curves with transegr. Thanks. |
Date | 2016-01-09 10:31 |
From | Peter Burgess |
Subject | Re: transeg and transegr |
Hmm, I've had a quick test, and I can't tell you anything more than that transegr is stepping for me too. I can't see any issues with your .csd. The only thing that occurs to me is that the release portion alters how the envelope works slightly, but I wouldn't of thought that should cause the stepping. I also can't find the source for these two opcodes to have a shifty through, anyone know which source they're from? Are they bundled into a general "seg" source or something? On Sat, Jan 9, 2016 at 2:16 AM, Guillermo Senna |
Date | 2016-01-09 11:17 |
From | Tarmo Johannes |
Subject | Re: transeg and transegr |
Hi, Tarmo 09.01.2016 12:33 kirjutas kuupäeval "Peter Burgess" <pete.soundtechnician@gmail.com>:
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
Hmm, I've had a quick test, and I can't tell you anything more than |
Date | 2016-01-09 11:22 |
From | Peter Burgess |
Subject | Re: transeg and transegr |
Using an a-rate does solve the problem for me, but why? The krate should be quick enough to give no audible jumps, and the segments are all long enough too. I donno, I'm not an expert, I'm probably out of my depth here. On Sat, Jan 9, 2016 at 11:17 AM, Tarmo Johannes |
Date | 2016-01-09 11:34 |
From | Iain McCurdy |
Subject | Re: transeg and transegr |
There does seem to be a problem with the r version of the opcode. It's not an a- of k-rate issue. The release time is being interpretted correctly but the curve, it seems, is not being calculated correctly. I'll file a ticket if no one else does... On a related note, cossegr doesn't seem to work correctly either. The penultimate value is not held during normal note sustain as it ought to, it simply carries on through to the final value while a note is begin held. Put simply, there doesn't seem to be any difference between cosseg and cossegr. Iain > Date: Sat, 9 Jan 2016 11:22:08 +0000 > From: pete.soundtechnician@GMAIL .COM > Subject: Re: [Csnd] transeg and transegr > To: CSOUND@LISTSERV.HEANET.IE > > Using an a-rate does solve the problem for me, but why? The krate > should be quick enough to give no audible jumps, and the segments are > all long enough too. I donno, I'm not an expert, I'm probably out of > my depth here. > > On Sat, Jan 9, 2016 at 11:17 AM, Tarmo Johannes > <tarmo.johannes@otsakool.edu.ee> wrote: > > Hi, > > Would convering kenv to a rate solve the problem? > > aenv interp kenv > > poscil aenv, etc? > > > > Tarmo > > > > 09.01.2016 12:33 kirjutas kuupäeval "Peter Burgess" > > <pete.soundtechnician@gmail.com>: > >> > >> Hmm, I've had a quick test, and I can't tell you anything more than > >> that transegr is stepping for me too. > >> > >> I can't see any issues with your .csd. The only thing that occurs to > >> me is that the release portion alters how the envelope works slightly, > >> but I wouldn't of thought that should cause the stepping. > >> > >> I also can't find the source for these two opcodes to have a shifty > >> through, anyone know which source they're from? Are they bundled into > >> a general "seg" source or something? > >> > >> On Sat, Jan 9, 2016 at 2:16 AM, Guillermo Senna <gsenna@gmail.com> wrote: > >> > Hi, > >> > > >> > I was trying to do something with MIDI. So for an envelope I tried > >> > transegr. > >> > I am hearing steps in anything but the release segment. > >> > > >> > Could you test the attached .csd and tell me if that is how transegr > >> > should > >> > actually work? It is the same envelope in both instr 1 and 2, but the > >> > result > >> > is completely different. There are no curves with transegr. > >> > > >> > Thanks. > >> > 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 > >> > >> 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 > > > > 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 > > 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 | 2016-01-09 12:02 |
From | Victor Lazzarini |
Subject | Re: transeg and transegr |
Could you determine if these problems are with a-rate, k-rate or both, in each case? That will help us fix it. There were changes to the a-rate versions of these opcodes, to accommodate the sample accurate mode. It could be the case that these changes broke the k-rate opcodes, since they shared the initialisation stage between them. ======================== Dr Victor Lazzarini Dean of Arts, Celtic Studies and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 9 Jan 2016, at 11:34, Iain McCurdy |
Date | 2016-01-09 12:19 |
From | Victor Lazzarini |
Subject | Re: transeg and transegr |
I have found two suspicious lines, which I will investigate later when I can test it. ======================== Dr Victor Lazzarini Dean of Arts, Celtic Studies and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 9 Jan 2016, at 12:02, Victor Lazzarini |
Date | 2016-01-09 12:39 |
From | Iain McCurdy |
Subject | Re: transeg and transegr |
In both cases similar problems are exhibited with both the k- and a-rate versions of the opcodes. Iain. > Date: Sat, 9 Jan 2016 12:02:23 +0000 > From: Victor.Lazzarini@NUIM.IE > Subject: Re: [Csnd] transeg and transegr > To: CSOUND@LISTSERV.HEANET.IE > > Could you determine if these problems are with a-rate, k-rate or both, in each case? That will > help us fix it. > > There were changes to the a-rate versions of these opcodes, to accommodate the sample accurate > mode. It could be the case that these changes broke the k-rate opcodes, since they shared the > initialisation stage between them. > > ======================== > Dr Victor Lazzarini > Dean of Arts, Celtic Studies and Philosophy, > Maynooth University, > Maynooth, Co Kildare, Ireland > Tel: 00 353 7086936 > Fax: 00 353 1 7086952 > > > On 9 Jan 2016, at 11:34, Iain McCurdy <i_mccurdy@hotmail.com> wrote: > > > > There does seem to be a problem with the r version of the opcode. It's not an a- of k-rate issue. The release time is being interpretted correctly but the curve, it seems, is not being calculated correctly. I'll file a ticket if no one else does... > > > > On a related note, cossegr doesn't seem to work correctly either. The penultimate value is not held during normal note sustain as it ought to, it simply carries on through to the final value while a note is begin held. Put simply, there doesn't seem to be any difference between cosseg and cossegr. > > > > Iain > > > > > Date: Sat, 9 Jan 2016 11:22:08 +0000 > > > From: pete.soundtechnician@GMAIL .COM > > > Subject: Re: [Csnd] transeg and transegr > > > To: CSOUND@LISTSERV.HEANET.IE > > > > > > Using an a-rate does solve the problem for me, but why? The krate > > > should be quick enough to give no audible jumps, and the segments are > > > all long enough too. I donno, I'm not an expert, I'm probably out of > > > my depth here. > > > > > > On Sat, Jan 9, 2016 at 11:17 AM, Tarmo Johannes > > > <tarmo.johannes@otsakool.edu.ee> wrote: > > > > Hi, > > > > Would convering kenv to a rate solve the problem? > > > > aenv interp kenv > > > > poscil aenv, etc? > > > > > > > > Tarmo > > > > > > > > 09.01.2016 12:33 kirjutas kuupäeval "Peter Burgess" > > > > <pete.soundtechnician@gmail.com>: > > > >> > > > >> Hmm, I've had a quick test, and I can't tell you anything more than > > > >> that transegr is stepping for me too. > > > >> > > > >> I can't see any issues with your .csd. The only thing that occurs to > > > >> me is that the release portion alters how the envelope works slightly, > > > >> but I wouldn't of thought that should cause the stepping. > > > >> > > > >> I also can't find the source for these two opcodes to have a shifty > > > >> through, anyone know which source they're from? Are they bundled into > > > >> a general "seg" source or something? > > > >> > > > >> On Sat, Jan 9, 2016 at 2:16 AM, Guillermo Senna <gsenna@gmail.com> wrote: > > > >> > Hi, > > > >> > > > > >> > I was trying to do something with MIDI. So for an envelope I tried > > > >> > transegr. > > > >> > I am hearing steps in anything but the release segment. > > > >> > > > > >> > Could you test the attached .csd and tell me if that is how transegr > > > >> > should > > > >> > actually work? It is the same envelope in both instr 1 and 2, but the > > > >> > result > > > >> > is completely different. There are no curves with transegr. > > > >> > > > > >> > Thanks. > > > >> > 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 > > > >> > > > >> 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 > > > > > > > > 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 > > > > > > 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 > > 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 > > 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 | 2016-01-09 13:18 |
From | Victor Lazzarini |
Subject | Re: transeg and transegr |
transegr is fixed. Could you post an example for cossegr so I can look at it? ======================== Dr Victor Lazzarini Dean of Arts, Celtic Studies and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 9 Jan 2016, at 12:39, Iain McCurdy |
Date | 2016-01-09 13:20 |
From | Peter Burgess |
Subject | Re: transeg and transegr |
when you fix things, does that mean they'll be available in the next version, or does that mean you've fixed them in the currently downloadable source? On Sat, Jan 9, 2016 at 1:18 PM, Victor Lazzarini |
Date | 2016-01-09 13:37 |
From | Victor Lazzarini |
Subject | Re: transeg and transegr |
Fixed in git develop branch, always. This gets released in the next version and pushed to master branch them. If you build from git, you can use it immediately. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 9 Jan 2016, at 13:20, Peter Burgess |
Date | 2016-01-09 13:44 |
From | Peter Burgess |
Subject | Re: transeg and transegr |
Cool, cheers! On Sat, Jan 9, 2016 at 1:37 PM, Victor Lazzarini |
Date | 2016-01-09 16:36 |
From | Victor Lazzarini |
Subject | Re: transeg and transegr |
cossegr also fixed now, both a + k versions. ======================== Dr Victor Lazzarini Dean of Arts, Celtic Studies and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 9 Jan 2016, at 13:18, Victor Lazzarini |
Date | 2016-01-09 16:38 |
From | Iain McCurdy |
Subject | Re: transeg and transegr |
Test example below. For me on 6.07 on Windows cossegr doesn't work correctly. A linsegr with similar values does hold the penultimate value during note sustain as expected. Adding more stages to the envelope doesn't fix it either. Again on cosseg, is it maybe time to switch off some of the stuff that it prints to the terminal? It's a bit overwhelming if many of them are being created. <CsoundSynthesizer> <CsOptions> -odac -+rtmidi=virtual -M0 </CsOptions> <CsInstruments> instr 1 ;aenv linsegr 0.3,1,0 aenv cossegr 0.3,1,0 a1 poscil aenv*0dbfs,1000 out a1 endin </CsInstruments> </CsoundSynthesizer> > Date: Sat, 9 Jan 2016 13:18:02 +0000 > From: Victor.Lazzarini@NUIM.IE > Subject: Re: [Csnd] transeg and transegr > To: CSOUND@LISTSERV.HEANET.IE > > transegr is fixed. Could you post an example for cossegr so I can look at it? > ======================== > Dr Victor Lazzarini > Dean of Arts, Celtic Studies and Philosophy, > Maynooth University, > Maynooth, Co Kildare, Ireland > Tel: 00 353 7086936 > Fax: 00 353 1 7086952 > > > On 9 Jan 2016, at 12:39, Iain McCurdy <i_mccurdy@HOTMAIL.COM> wrote: > > > > In both cases similar problems are exhibited with both the k- and a-rate versions of the opcodes. > > > > Iain. > > > > > Date: Sat, 9 Jan 2016 12:02:23 +0000 > > > From: Victor.Lazzarini@NUIM.IE > > > Subject: Re: [Csnd] transeg and transegr > > > To: CSOUND@LISTSERV.HEANET.IE > > > > > > Could you determine if these problems are with a-rate, k-rate or both, in each case? That will > > > help us fix it. > > > > > > There were changes to the a-rate versions of these opcodes, to accommodate the sample accurate > > > mode. It could be the case that these changes broke the k-rate opcodes, since they shared the > > > initialisation stage between them. > > > > > > ======================== > > > Dr Victor Lazzarini > > > Dean of Arts, Celtic Studies and Philosophy, > > > Maynooth University, > > > Maynooth, Co Kildare, Ireland > > > Tel: 00 353 7086936 > > > Fax: 00 353 1 7086952 > > > > > > > On 9 Jan 2016, at 11:34, Iain McCurdy <i_mccurdy@hotmail.com> wrote: > > > > > > > > There does seem to be a problem with the r version of the opcode. It's not an a- of k-rate issue. The release time is being interpretted correctly but the curve, it seems, is not being calculated correctly. I'll file a ticket if no one else does... > > > > > > > > On a related note, cossegr doesn't seem to work correctly either. The penultimate value is not held during normal note sustain as it ought to, it simply carries on through to the final value while a note is begin held. Put simply, there doesn't seem to be any difference between cosseg and cossegr. > > > > > > > > Iain > > > > > > > > > Date: Sat, 9 Jan 2016 11:22:08 +0000 > > > > > From: pete.soundtechnician@GMAIL .COM > > > > > Subject: Re: [Csnd] transeg and transegr > > > > > To: CSOUND@LISTSERV.HEANET.IE > > > > > > > > > > Using an a-rate does solve the problem for me, but why? The krate > > > > > should be quick enough to give no audible jumps, and the segments are > > > > > all long enough too. I donno, I'm not an expert, I'm probably out of > > > > > my depth here. > > > > > > > > > > On Sat, Jan 9, 2016 at 11:17 AM, Tarmo Johannes > > > > > <tarmo.johannes@otsakool.edu.ee> wrote: > > > > > > Hi, > > > > > > Would convering kenv to a rate solve the problem? > > > > > > aenv interp kenv > > > > > > poscil aenv, etc? > > > > > > > > > > > > Tarmo > > > > > > > > > > > > 09.01.2016 12:33 kirjutas kuupäeval "Peter Burgess" > > > > > > <pete.soundtechnician@gmail.com>: > > > > > >> > > > > > >> Hmm, I've had a quick test, and I can't tell you anything more than > > > > > >> that transegr is stepping for me too. > > > > > >> > > > > > >> I can't see any issues with your .csd. The only thing that occurs to > > > > > >> me is that the release portion alters how the envelope works slightly, > > > > > >> but I wouldn't of thought that should cause the stepping. > > > > > >> > > > > > >> I also can't find the source for these two opcodes to have a shifty > > > > > >> through, anyone know which source they're from? Are they bundled into > > > > > >> a general "seg" source or something? > > > > > >> > > > > > >> On Sat, Jan 9, 2016 at 2:16 AM, Guillermo Senna <gsenna@gmail.com> wrote: > > > > > >> > Hi, > > > > > >> > > > > > > >> > I was trying to do something with MIDI. So for an envelope I tried > > > > > >> > transegr. > > > > > >> > I am hearing steps in anything but the release segment. > > > > > >> > > > > > > >> > Could you test the attached .csd and tell me if that is how transegr > > > > > >> > should > > > > > >> > actually work? It is the same envelope in both instr 1 and 2, but the > > > > > >> > result > > > > > >> > is completely different. There are no curves with transegr. > > > > > >> > > > > > > >> > Thanks. > > > > > >> > 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 > > > > > >> > > > > > >> 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 > > > > > > > > > > > > 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 > > > > > > > > > > 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 > > > > 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 > > > > > > 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 > > 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 > > 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 | 2016-01-09 17:03 |
From | Victor Lazzarini |
Subject | Re: transeg and transegr |
All done now. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland
|
Date | 2016-01-11 23:37 |
From | Guillermo Senna |
Subject | Re: transeg and transegr |
Thanks Victor! I cloned the develop branch and now it works as
expected. Do you know when 6.07 will be released? On 09/01/16 14:03, Victor Lazzarini
wrote:
|