Electronic Music mailing list archives

Previous Message: Re: Load env to buffer
Next Message: Re: Flash + scsynth

From: Josh Parmenter ()
Date: May 16, 2008
Subject: Re: Load env to buffer
I love IEnvGen.

Josh

On May 16, 2008, at 12:23 PM, Miguel Negrao wrote:

> Thanks, I think IEnvGen will do the trick.
>
> Miguel
>
> Josh Parmenter escreveu:
>> If you are using Ctk, you can do:
>>
>> a  =3D CtkBuffer.buffer(1024);
>> a.fillWithEnv(your Env);
>>
>> Or (with messaging style)-
>>
>> s.sendBundle(0.1, [\b_alloc, b =3D s.bufferAllocator.alloc(1), 1024]);
>> a =3D Env([0, 1, 0], [1, 1]).asSignal(1024);
>> s.sendBundle(0.1, [\b_setn, b, 0, a.size] ++ a);
>>
>> Not sure how to do it with regular Buffer style. I think
>> loadCollection will do it (where the collection is an array).
>>
>> OR - check out IEnvGen - this allows you to simply supply an Envelope
>> and index it however you want.
>>
>> Hope that helps.
>>
>> Josh
>>
>> On May 16, 2008, at 11:50 AM, Miguel Negrao wrote:
>>
>>> Hi
>>>
>>> What would be the best way to load an Env to a buffer so to be  =

>>> able to
>>> read through it starting at any point, or in any direction ?
>>> I saw one possibility being
>>> Env.new([],[],1).asSignal.play
>>> but this doesn't allow to set start point and other things... Is
>>> there
>>> a way to load a Signal to a buffer ?
>>>
>>> thanks
>>> Miguel Negr=E3o
>>> _______________________________________________
>>> sc-users mailing list [EMAIL REMOVED] >>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>>
>> ******************************************
>> /* Joshua D. Parmenter
>> http://www.realizedsound.net/josh/
>>
>> =93Every composer =96 at all times and in all cases =96 gives his own
>> interpretation of how modern society is structured: whether actively
>> or passively, consciously or unconsciously, he makes choices in this
>> regard. He may be conservative or he may subject himself to continual
>> renewal; or he may strive for a revolutionary, historical or social
>> palingenesis." - Luigi Nono
>> */
>>
>> _______________________________________________
>> sc-users mailing list [EMAIL REMOVED] >> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>>
>>
>
> _______________________________________________
> sc-users mailing list [EMAIL REMOVED] > http://lists.create.ucsb.edu/mailman/listinfo/sc-users

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

=93Every composer =96 at all times and in all cases =96 gives his own  =

interpretation of how modern society is structured: whether actively  =

or passively, consciously or unconsciously, he makes choices in this  =

regard. He may be conservative or he may subject himself to continual  =

renewal; or he may strive for a revolutionary, historical or social  =

palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list [EMAIL REMOVED] http://lists.create.ucsb.edu/mailman/listinfo/sc-users

+ Load env to buffer Miguel Negrao (05/16/08)
+---Re: Load env to buffer Josh Parmenter (05/16/08)
+---Re: Load env to buffer Miguel Negrao (05/16/08)
+---Re: Load env to buffer Josh Parmenter (05/16/08)

Previous Message: Re: Load env to buffer
Next Message: Re: Flash + scsynth