[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Read single channel of external file into buffer
On Tue, Jun 06, 2006 at 12:57:31PM +0200, Sciss wrote:
> for interleaved formats, i doubt that a probably really
> small performance improvement will justify all the extra
> logic needed to add a channel-extraction OSC
> command. apart from the bits of extra buffer memory, i
> think it's straight forward to read in all channels and
> then pick out the ones you need using array indices or
> Select.ar
this might be true for PlayBuf, but there are other buffer
access ugens that fail on multichannel data (like
TGrains). i think adding channel selection arguments to both
b_read and b_allocRead would be a very valuable addition.
<sk>