esluyter / super-bufrd

UGens for accessing long buffers with subsample accuracy
GNU General Public License v3.0
26 stars 3 forks source link

SuperPlayBufX multichannel expansion #6

Open elgiano opened 4 years ago

elgiano commented 4 years ago

This works:

{
    var start = [1,2];
    SuperPlayBuf.ar(1,b,1,1,0,
        start*BufSampleRate.ir(b),
        start+1*BufSampleRate.ir(b)
    )
}.play

This doesn't:

{
    var start = [1,2];
    SuperPlayBufX.ar(1,b,1,1,0,
        start*BufSampleRate.ir(b),
        start+1*BufSampleRate.ir(b)
    )
}.play
The preceding error dump is for ERROR: Message 'asPair' not understood.
RECEIVER: nil
esluyter commented 3 years ago

now broken further:

{
    var start = [1,2];
    SuperPlayBuf.ar(2,~buf,1,1,0,
        start,
        start+1
    )
}.play

(
{
    var start = 1;
    SuperPlayBufX.arDetails(2,~buf,1,1,0,
        start,
        (start+1)
    )
}.play
)

(
{
  var start = 1;
  SuperPlayBufX.ar(2, ~buf, 1, 1, 0, SuperPair(start), SuperPair(start+1))
}.play
)

(
{
  var start = 1;
  SuperPlayBufX.arDetails(2, ~buf, 1, 1, 0, SuperPair(start), SuperPair(start+1))
}.play
)