I think this might be right:
process = component("music.lib").noise : component("filter.lib").latch(1);
For an array of N random constants starting at time N-1, you could
say, for example,
N = 10;
process = component("music.lib").noise <:
par(i,N,component("filter.lib").latch(1@i));
- Julius
On Sun, Sep 11, 2016 at 6:10 PM, Baudoux Roald <[email protected]> wrote:
> Thanks Bart and Thanks Julius too (now I understand the latch() idea).
>
>
> Le 11/09/16 à 05:17, Bart Brouns a écrit :
>> Hi Roald,
>>
>> You could try feeding noise into some sample-and-hold blocks.
>> Make sure to either use a multi noise, or sample at different times,
>> otherwise you'll get all the same values.
>>
>> Hope that helps,
>> Bart.
>>
>> On 11 sep. 2016, at 00:40, Baudoux Roald <[email protected]> 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
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
>
> --
> ///////////////////////////////////////////////////////////////////
>
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
>
--
Julius O. Smith III <[email protected]>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/
------------------------------------------------------------------------------
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users