is there a way to have a table/array resize for live recording?
i've run into this problem. you can send a "resize [size in samples]" message to the array, but this usually produces clicks on my pc. ie:
|;arrayname resize 44100;( would give you one second of buffer (at 44.1khz)
you may consider having a huge table allocated to start with, and then use the loop~ or susloop~ external to pick which part of the table to play.
the vasp library has an array resize tool, but the same thing applies. it interrupts dsp processing, causing clicks. hopefully thomas's external will address this problem (please!) :)
------ http://USFamily.Net/info - Unlimited Internet - From $8.99/mo! ------
is there a way to have a table/array resize for live recording?
the vasp library has an array resize tool, but the same thing applies. it interrupts dsp processing, causing clicks. hopefully thomas's external
will
address this problem (please!) :)
There's no guarantee that it will be click free for a future xrecord~ because typically large amounts of memory have to be freed, re-reserved and contents copied. In the newer VASP cvs versions this is done (for vasp.! objects) in a helper thread which helps a bit. Since array handling is PD-internal a comparable strategy would have to be built into PD itself. It's always better to reserve the maximum array size beforehand or use other schemes, e.g. organisation into several buffers.
greetings, Thomas