[PD] Soundfiler / ram

Jean-Marie Adrien jma at jeanmarie-adrien.net
Wed Aug 3 15:56:47 CEST 2011


thanks a lot
JM
Le 2 août 11 à 04:54, Hans-Christoph Steiner a écrit :

>
> Yeah, I think just create 50 arrays with size 10 or something, then  
> load
> them using 'read -resize' to soundfiler.  If you need to  
> "deactivate" an
> array, you can send it a resize message to make it small.  See  
> attached
> patch.
>
> .hc
>
>
> On Mon, 01 Aug 2011 22:14 +0200, "Jean-Marie Adrien"
> <jma at jeanmarie-adrien.net> wrote:
>> Thanks for yor message Hans-Christoph !
>> so to confirm :
>>
>> Given say 50 presets with each 250 samples some of them read direct
>> from disk and others in arrays for looping and so on.
>> Presets do not need to switch instantly, loading might take few  
>> seconds.
>> But switching a large number of times as installation runs, has to be
>> clean though.
>>
>> Good way to implement this would be :
>> declare a number of arrays (corresponding to the largest preset) when
>> loading the patch
>> and
>> resizing / reloading them for preset change ?
>>
>> (I do not want to choose a bad option from the beginning !)
>> cheers,
>> JM
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Le 30 juil. 11 à 20:20, Hans-Christoph Steiner a écrit :
>>
>>
>>>
>>> There is the 'resize' message to send to an array to resize it, or
>>> the -resize option to the 'read' message to soundfiler.  For very
>>> low RAM situations, you might be better off with readsf~.
>>>
>>> .hc
>>>
>>> On Jul 30, 2011, at 9:16 AM, Jma/celeonet wrote:
>>>
>>>
>>>> Hi list
>>>> Probably has been discussed million times : how is it possible to
>>>> open / close large number of sound samples dynamically in arrays
>>>> to keep ram low ? (all samples not used at the same time). Set to
>>>> zero, resize to zero and reload ?  Any clear command ? Any clean
>>>> and up-to-date way (Mac Os) ?
>>>> Thanks
>>>> JmAdrien
>>>>
>>>> _______________________________________________
>>>> Pd-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>>>> listinfo/pd-list
>>>>
>>>
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>> ------
>>>
>>> If nature has made any one thing less susceptible than all others
>>> of exclusive property, it is the action of the thinking power
>>> called an idea, which an individual may exclusively possess as long
>>> as he keeps it to himself; but the moment it is divulged, it forces
>>> itself into the possession of everyone, and the receiver cannot
>>> dispossess himself of it.            - Thomas Jefferson
>>>
>>>
>>>
>>>
>>
>> <resize-array.pd>




More information about the Pd-list mailing list