Hello,

I realize that in this context the word "static" might be confusing. What I want is simply to generate random numbers once at startup.

Julius, you mentioned an external function. Could I, for instance use the random function from the standard C Math.lib ?



Le 11/09/16 à 12:46, Julius Smith a écrit :
Oh right - a foreign constant

On Sunday, September 11, 2016, Kjetil Matheussen <k.s.matheus...@gmail.com <mailto:k.s.matheus...@gmail.com>> wrote:

    Hi,

    Not sure what you need, but faust should generate the random
    values during compile time or class initialization time if
    Faust is able to prove that the values are static. Don't
    know if this helps.



    On Sun, Sep 11, 2016 at 12:40 AM, Baudoux Roald
    <roald.baud...@brutele.be
    <javascript:_e(%7B%7D,'cvml','roald.baud...@brutele.be');>> wrote:

        Hello,

        I need to create a series of random values (between 0.and 1.)
        at startup
        and keep them. The documentation shows how to create noise,
        but not
        static random values.

        How can I achieve this?

        Thank you in advance.

        Roald Baudoux

        
------------------------------------------------------------------------------
        _______________________________________________
        Faudiostream-users mailing list
        Faudiostream-users@lists.sourceforge.net
        
<javascript:_e(%7B%7D,'cvml','Faudiostream-users@lists.sourceforge.net');>
        https://lists.sourceforge.net/lists/listinfo/faudiostream-users
        <https://lists.sourceforge.net/lists/listinfo/faudiostream-users>




--

Julius O. Smith III <j...@ccrma.stanford.edu <mailto:j...@ccrma.stanford.edu>>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/ <http://ccrma.stanford.edu/>




--
///////////////////////////////////////////////////////////////////

Composer - Lecturer at the Conservatoire Royal de Mons / Arts², Belgium

http://www.roaldbaudoux.org
http://www.darkfader.info
http://www.scoop.it/t/e-gesture
http://www.electroacoustique.be
http://www.arts2.be

Not sent from an iPhone.

------------------------------------------------------------------------------
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to