Csound Csound-dev Csound-tekno Search About

[Cs-dev] Fixed: gausstrig opcode

Date2015-03-08 17:45
FromGleb
Subject[Cs-dev] Fixed: gausstrig opcode
Dear Devs,

Couple of days ago I had discovered two strange behaviours of gausstrig
opcode:
1. It didn't work properly on k-time. There was a post of Peiman somewhere 
http://csound.1045644.n5.nabble.com/gausstrig-bug-td5729691.html
nobody answered

2. It is a random impulse generator, so it is supposed to generate random
(and more or less unpredictable) impulses.
But in the present version it always generated an impulse in the very
beginning of sound.

So I decided to fix these issues. Please review my code and add it to
repository.
sc_noise.c   

Thanks!

G



-----
Gleb Rogozinsky, PhD
Associated Professor
Interactive Arts Department
Saint-Petersburg University of Film and Television

Deputy Director of Medialab
Saint-Petersburg University of Telecommunications
--
View this message in context: http://csound.1045644.n5.nabble.com/Fixed-gausstrig-opcode-tp5740401.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-03-08 20:21
Fromjpff
SubjectRe: [Cs-dev] Fixed: gausstrig opcode
Is that not an icompatible change, potentially changing existing pieces?



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-03-08 20:32
From"Dr. Richard Boulanger"
SubjectRe: [Cs-dev] Fixed: gausstrig opcode
AttachmentsNone  None  
Hello Gleb<

John... maybe this becomes gaustrig2 (or an optional argument)

-dB

On Sun, Mar 8, 2015 at 4:21 PM, jpff <jpff@codemist.co.uk> wrote:
Is that not an icompatible change, potentially changing existing pieces?



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2015-03-08 20:53
FromSteven Yi
SubjectRe: [Cs-dev] Fixed: gausstrig opcode
For point 1, I'd guess the behavior didn't follow what was documented,
so it'd be okay to do as a bug fix.  For point 2, I don't know what is
expected.  I guess it should match what was in Bhob Rainey's GaussTrig
ugen from SuperCollider, which it is based on. I found a copy of that
here:

https://github.com/supercollider/sc3-plugins/blob/master/source/BhobUGens/BhobNoise.cpp#L230



On Sun, Mar 8, 2015 at 4:21 PM, jpff  wrote:
> Is that not an icompatible change, potentially changing existing pieces?
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-03-08 20:58
FromGleb
SubjectRe: [Cs-dev] Fixed: gausstrig opcode
Well...
theoretically yes. If someone used that gausstrig, then it will behave in a
bit more random way in the case of a-rate. Since at k-rate I am sure no-one
used it due malfunction. 

Thank you for reminding me about pieces compability. 
Then as Dr B said let it be gausstrig2, but sure we should try to check the
behavior of its ancestor in SuperCollider..



-----
Gleb Rogozinsky, PhD
Associated Professor
Interactive Arts Department
Saint-Petersburg University of Film and Television

Deputy Director of Medialab
Saint-Petersburg University of Telecommunications
--
View this message in context: http://csound.1045644.n5.nabble.com/Fixed-gausstrig-opcode-tp5740401p5740413.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-03-08 21:34
FromGleb
SubjectRe: [Cs-dev] Fixed: gausstrig opcode
So I checked the original UGen in SuperCollider. To my greatest surprise, it
behaves the same way. No matter what parameters are set to, you always got a
single impulse in the very beginning.

In this way I think I should prepare a new gausstrig2 and write a manual
page, right?



-----
Gleb Rogozinsky, PhD
Associated Professor
Interactive Arts Department
Saint-Petersburg University of Film and Television

Deputy Director of Medialab
Saint-Petersburg University of Telecommunications
--
View this message in context: http://csound.1045644.n5.nabble.com/Fixed-gausstrig-opcode-tp5740401p5740415.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-03-09 08:38
Frompeiman khosravi
SubjectRe: [Cs-dev] Fixed: gausstrig opcode
AttachmentsNone  None  
Hello,

Just to note that I've got a gausstrig UDO, but I can't remember if it behaves in the same way.

http://www.csounds.com/udo/cache/GaussTrig.udo


On 8 March 2015 at 21:34, Gleb <gleb.rogozinsky@gmail.com> wrote:
So I checked the original UGen in SuperCollider. To my greatest surprise, it
behaves the same way. No matter what parameters are set to, you always got a
single impulse in the very beginning.

In this way I think I should prepare a new gausstrig2 and write a manual
page, right?



-----
Gleb Rogozinsky, PhD
Associated Professor
Interactive Arts Department
Saint-Petersburg University of Film and Television

Deputy Director of Medialab
Saint-Petersburg University of Telecommunications
--
View this message in context: http://csound.1045644.n5.nabble.com/Fixed-gausstrig-opcode-tp5740401p5740415.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2015-03-09 11:41
FromGleb
SubjectRe: [Cs-dev] Fixed: gausstrig opcode
So on second thought I decided to make a new option for this opcode. It
guarantees compability with previous version and also adds my new feature. 

I include source and updated manual page.

Please, check it and add to repository

Thank you!

sc_noise.c   
gausstrig.html
  



-----
Gleb Rogozinsky, PhD
Associated Professor
Interactive Arts Department
Saint-Petersburg University of Film and Television

Deputy Director of Medialab
Saint-Petersburg University of Telecommunications
--
View this message in context: http://csound.1045644.n5.nabble.com/Fixed-gausstrig-opcode-tp5740401p5740419.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-03-10 21:00
FromSteven Yi
SubjectRe: [Cs-dev] Fixed: gausstrig opcode
Following up, I've updated the code and manual entry with what Gleb
has sent in and those are now pushed to the develop branch and manual
repos.

On Mon, Mar 9, 2015 at 7:41 AM, Gleb  wrote:
> So on second thought I decided to make a new option for this opcode. It
> guarantees compability with previous version and also adds my new feature.
>
> I include source and updated manual page.
>
> Please, check it and add to repository
>
> Thank you!
>
> sc_noise.c 
> gausstrig.html
> 
>
>
>
> -----
> Gleb Rogozinsky, PhD
> Associated Professor
> Interactive Arts Department
> Saint-Petersburg University of Film and Television
>
> Deputy Director of Medialab
> Saint-Petersburg University of Telecommunications
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Fixed-gausstrig-opcode-tp5740401p5740419.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net