Hi all -
Having a little trouble with SuperBufRd after a recent compilation.
I’m not entirely sure if this is the sort of thing that is OK to post about on the message board or if this is something specifically for @Eric_Sluyter - so I apologize in advance.
I am also, curious, though, why this isn’t part of the standard SC package at this point? Is there any reason why users wouldn’t explicitly want accuracy for long buffers?
Anyway, SuperBufPlay’s example works fine, but the example for SuperBufRd is producing the following error… any suggestions would be greatly appreciated:
-> Buffer(1, nil, nil, nil, /Applications/SuperCollider.app/Contents/Resources/sounds/a11wlk01.wav)
ERROR: Message 'at' not understood.
Perhaps you misspelled 'as', or meant to call 'at' on another receiver?
RECEIVER:
Instance of SuperPair { (0x178374648, gc=88, fmt=00, flg=00, set=02)
instance variables [2]
msd : instance of OutputProxy (0x1787b1c18, size=11, set=4)
lsd : instance of OutputProxy (0x1315254e8, size=11, set=4)
}
ARGS:
Integer 0
PROTECTED CALL STACK:
Meta_MethodError:new 0x12060a200
arg this = DoesNotUnderstandError
arg what = nil
arg receiver = SuperPair(an OutputProxy, an OutputProxy)
Meta_DoesNotUnderstandError:new 0x12060c540
arg this = DoesNotUnderstandError
arg receiver = SuperPair(an OutputProxy, an OutputProxy)
arg selector = at
arg args = [ 0 ]
Object:doesNotUnderstand 0x1481c1c40
arg this = SuperPair(an OutputProxy, an OutputProxy)
arg selector = at
arg args = nil
a FunctionDef 0x17819fc18
sourceCode = "{
var phaseInt, phaseDec;
# phaseInt, phaseDec = SuperPhasor.ar(0, BufRateScale.kr(b), 0, 0, Float.from32Bits(b.numFrames), 0);
SuperBufRd.ar(1, b, phaseInt, phaseDec);
}"
var phaseInt = nil
var phaseDec = nil
SynthDef:buildUgenGraph 0x12263a680
arg this = SynthDef:temp__20
arg func = a Function
arg rates = nil
arg prependArgs = [ ]
var result = nil
var saveControlNames = [ ControlName P 0 i_out scalar 0 ]
a FunctionDef 0x1218aa480
sourceCode = "<an open Function>"
arg i_out = an OutputProxy
var result = nil
var rate = nil
var env = nil
SynthDef:buildUgenGraph 0x12263a680
arg this = SynthDef:temp__20
arg func = a Function
arg rates = nil
arg prependArgs = [ ]
var result = nil
var saveControlNames = nil
a FunctionDef 0x122638c00
sourceCode = "<an open Function>"
Function:prTry 0x120a3ae80
arg this = a Function
var result = nil
var thread = a Thread
var next = nil
var wasInProtectedFunc = false
CALL STACK:
DoesNotUnderstandError:reportError
arg this = <instance of DoesNotUnderstandError>
Nil:handleError
arg this = nil
arg error = <instance of DoesNotUnderstandError>
Thread:handleError
arg this = <instance of Thread>
arg error = <instance of DoesNotUnderstandError>
Object:throw
arg this = <instance of DoesNotUnderstandError>
Function:protect
arg this = <instance of Function>
arg handler = <instance of Function>
var result = <instance of DoesNotUnderstandError>
SynthDef:build
arg this = <instance of SynthDef>
arg ugenGraphFunc = <instance of Function>
arg rates = nil
arg prependArgs = nil
Function:play
arg this = <instance of Function>
arg target = <instance of Group>
arg outbus = 0
arg fadeTime = 0.02
arg addAction = 'addToHead'
arg args = nil
var def = nil
var synth = nil
var server = <instance of Server>
var bytes = nil
var synthMsg = nil
Interpreter:interpretPrintCmdLine
arg this = <instance of Interpreter>
var res = nil
var func = <instance of Function>
var code = "(
{
var phaseInt, phaseDec..."
var doc = nil
var ideClass = <instance of Meta_ScIDE>
Process:interpretPrintCmdLine
arg this = <instance of Main>
^^ ERROR: Message 'at' not understood.
Perhaps you misspelled 'as', or meant to call 'at' on another receiver?
RECEIVER: SuperPair(an OutputProxy, an OutputProxy)