[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Problem with RBEP and Beastmulch



Send me the sdif


On 15 Dec 2014, at 17:48, J <falabala66@xxxxxxxxx> wrote:

Hello Scott -

I believe so, I get this message: 1TRC frame found. Skipping...

SPEAR seems to recognise the file fine - I get the same behaviour with a new file I just exported from SPEAR as RBEP as well.

p.partialList returns [] - an empty array.



On Mon, Dec 15, 2014 at 4:53 PM, Scott Wilson <i@xxxxxxxxxxxxxx> wrote:
Are you sure your SDIF file has RBEP frames?

On 15 Dec 2014, at 15:52, Scott Wilson <i@xxxxxxxxxxxxxx> wrote:

if you go p.partialList what do you get?

On 15 Dec 2014, at 14:47, J <falabala66@xxxxxxxxx> wrote:

Ah yes, I see - I had just done this, with the same error message as above: 

f = RBE_SDIF_File("/Users/jeremykeenan/Music/Max/External Externals/CNMAT-Everything-OSX-MachO/CNMAT_MMJ-Depot/baseline/media/SDIF/moanin.add.sdif"); // open a SDIF file with RBEP frames

On Mon, Dec 15, 2014 at 1:48 PM, Scott Wilson <i@xxxxxxxxxxxxxx> wrote:
No, I meant in the RBE_SDIF_File code.

On 15 Dec 2014, at 12:03, J <falabala66@xxxxxxxxx> wrote:

Got it, the conflict makes sense. Have one or the other. 

I tried to replace the 'resolveRelative' with

.load(s, dir:"/Users/jeremykeenan/Music/Max/External Externals/CNMAT-Everything-OSX-MachO/CNMAT_MMJ-Depot/baseline/media/SDIF/moanin.add.sdif");

Still get an error.

Here is the full error dump:

ERROR: Message 'unlace' not understood.
RECEIVER:
   nil
ARGS:
   Integer 4
PATH: /Users/jeremykeenan/Desktop/My ATS/SpearTest.scd

PROTECTED CALL STACK:
Meta_MethodError:new 0x10f1f1f80
arg this = DoesNotUnderstandError
arg what = nil
arg receiver = nil
Meta_DoesNotUnderstandError:new 0x10f1f3f40
arg this = DoesNotUnderstandError
arg receiver = nil
arg selector = unlace
arg args = [ 4 ]
Object:doesNotUnderstand 0x107ddad40
arg this = nil
arg selector = unlace
arg args = nil
a FunctionDef 0x112a4e598
sourceCode = "{ arg stretch = 1, pitch = 1, bw = 1, mul = 1, gate = 1, attack=0, release=0.1, out=0;
var outmix, envs;

// returns [[freqEnvGen, a LorisPhaseGen, bandwidthEnvGen, ampEnvGen] * numPartials]
envs = p.ar(stretch, pitch, bw);

// pan each partial and mix
outmix = Mix(PanAz.ar(2, BEOsc.ar(*envs), {Rand(-1, 1)} ! p.size))
* EnvGen.ar(Env.linen(attack, p.dur * stretch, release), gate, mul, doneAction: 2);

Out.ar(out, outmix);
}"
arg stretch = an OutputProxy
arg pitch = an OutputProxy
arg bw = an OutputProxy
arg mul = an OutputProxy
arg gate = an OutputProxy
arg attack = an OutputProxy
arg release = an OutputProxy
arg out = an OutputProxy
var outmix = nil
var envs = nil
SynthDef:buildUgenGraph 0x10e79a040
arg this = SynthDef:A
arg func = a Function
arg rates = nil
arg prependArgs = [  ]
var result = nil
var saveControlNames = nil
a FunctionDef 0x10e798440
sourceCode = "<an open Function>"
Function:prTry 0x10ccbb880
arg this = a Function
var result = nil
var thread = a Thread
var next = nil
var wasInProtectedFunc = false
CALL STACK:
DoesNotUnderstandError:reportError   0x10bc104f8
arg this = <instance of DoesNotUnderstandError>
Nil:handleError   0x11079b628
arg this = nil
arg error = <instance of DoesNotUnderstandError>
Thread:handleError   0x11079e728
arg this = <instance of Thread>
arg error = <instance of DoesNotUnderstandError>
Object:throw   0x11079b408
arg this = <instance of DoesNotUnderstandError>
Function:protect   0x112e8e338
arg this = <instance of Function>
arg handler = <instance of Function>
var result = <instance of DoesNotUnderstandError>
SynthDef:build   0x117218ef8
arg this = <instance of SynthDef>
arg ugenGraphFunc = <instance of Function>
arg rates = nil
arg prependArgs = nil
< closed FunctionDef >  (no arguments or variables)
Interpreter:interpretPrintCmdLine   0x1128f0c28
arg this = <instance of Interpreter>
var res = nil
var func = <instance of Function>
var code = "(
SynthDef(\A, { arg stretch..."
var doc = nil
var ideClass = <instance of Meta_ScIDE>
Process:interpretPrintCmdLine   0x110418fd8
arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Message 'unlace' not understood.
RECEIVER: nil




On Mon, Dec 15, 2014 at 12:49 PM, Scott Wilson <i@xxxxxxxxxxxxxx> wrote:
Hi Jeremy,

On 15 Dec 2014, at 09:30, J <falabala66@xxxxxxxxx> wrote:

Hello,

I'm trying to play SDIF files in SC using Beastmulch. First of all, when I try to upload the SynthDef from the BEPartials help file, I get this error:

ERROR: Message 'unlace' not understood.

Please post the whole error dump.

The SDIF file I'm using seems to load fine without any errors.

The other problem I am having with it is that when I put the Beastmulch package as it is in my extensions folder, I get loads of 'duplicate class found' errors, and the language won't compile - this is resolved if I trash the VBAP folder from the BeastMulch extensions.

Yes, this has to do with the fact that Tim added the VBAP UGens to sc3-plugins, which means people get the conflict if you have both installed.

Am I doing something wrong here? This is the SynthDef from the helpfile I'm using:

(
SynthDef(\A, { arg stretch = 1, pitch = 1, bw = 1, mul = 1, gate = 1, attack=0, release=0.1, out=0;
var outmix, envs;

// returns [[freqEnvGen, a LorisPhaseGen, bandwidthEnvGen, ampEnvGen] * numPartials]
envs = p.ar(stretch, pitch, bw);

// pan each partial and mix
outmix = Mix(PanAz.ar(2, BEOsc.ar(*envs), {Rand(-1, 1)} ! p.size))
* EnvGen.ar(Env.linen(attack, p.dur * stretch, release), gate, mul, doneAction: 2);

Out.ar(out, outmix);
}).load(s, dir: "".resolveRelative);
)


My guess is the SDIF file is not loaded correctly. The old help file used ‘resolveRelative’ to load the SDIF, but under the scdoc system it’s not in the same place. Try hand correcting the path.

S.


--



--




--