florian-grond / SC-HOA

HOA wrapper classes for SuperCollider based on https://github.com/sekisushai/ambitools
GNU General Public License v3.0
32 stars 7 forks source link

Not running on Windows #22

Closed escuta closed 5 years ago

escuta commented 5 years ago

Hello, I've recently been trying to run SC-HOA on a Windows 10 machine with SuperCollider installed using the SuperCollider-3.10.2-Windows-x64-VS.exe installer. I have the latest SC-HOA quark installed (v. 1.3.2) and it compiles without errors. While the help files work for the classes, i get errors when attempting to run the classes. For example, the following code from the HOALibEnc3D help file produces errors:

( ~order = 2; // try different orders up to 5 and watch the scope window. s.scope((~order+1).pow(2)); {HOALibEnc3D.ar(~order, WhiteNoise.ar(1), MouseX.kr(0, 360), MouseY.kr(-90, 90 ) )}.play; )

Sorry if I'm doing something wrong in the installation but I don't think I am. SC is otherwise working as best it can on this Windows machine. The quark of course runs well in Linux. Here is the complete print out of the errors from the above code. Thanks :

Execution warning: Class 'HOALibEnc3D2' not found WARNING: keyword arg 'in1' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'azi' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'ele' not found in call to Object:doesNotUnderstand ERROR: Message 'ar' not understood. RECEIVER: nil ARGS: PATH: C:/Users/mott/Documents/SuperCollider/testHOA.scd

PROTECTED CALL STACK: Meta_MethodError:new 000001EB1586F040 arg this = DoesNotUnderstandError arg what = nil arg receiver = nil Meta_DoesNotUnderstandError:new 000001EB15871180 arg this = DoesNotUnderstandError arg receiver = nil arg selector = ar arg args = [ ] Object:doesNotUnderstand 000001EB14EA90C0 arg this = nil arg selector = ar arg args = nil Meta_HOALibEnc3D:ar 000001EB164BB000 arg this = HOALibEnc3D arg order = 2 arg in = a WhiteNoise arg az = a MouseX arg elev = a MouseY arg gain = 0 SynthDef:buildUgenGraph 000001EB171FE480 arg this = a SynthDef arg func = a Function arg rates = nil arg prependArgs = [ ] var result = nil var saveControlNames = [ ControlName P 0 i_out scalar 0 ] a FunctionDef 000001EB166FC480 sourceCode = "" arg i_out = an OutputProxy var result = nil var rate = nil var env = nil SynthDef:buildUgenGraph 000001EB171FE480 arg this = a SynthDef arg func = a Function arg rates = nil arg prependArgs = [ ] var result = nil var saveControlNames = nil a FunctionDef 000001EB171FCAC0 sourceCode = "" Function:prTry 000001EB15B469C0 arg this = a Function var result = nil var thread = a Thread var next = nil var wasInProtectedFunc = false

CALL STACK: DoesNotUnderstandError:reportError arg this = Nil:handleError arg this = nil arg error = Thread:handleError arg this = arg error = Object:throw arg this = Function:protect arg this = arg handler = var result = SynthDef:build arg this = arg ugenGraphFunc = arg rates = nil arg prependArgs = nil Function:play arg this = arg target = arg outbus = 0 arg fadeTime = 0.02 arg addAction = 'addToHead' arg args = nil var def = nil var synth = nil var server = var bytes = nil var synthMsg = nil Interpreter:interpretPrintCmdLine arg this = var res = nil var func = var code = "( ~order = 2; // try differe..." var doc = nil var ideClass = Process:interpretPrintCmdLine arg this = ^^ The preceding error dump is for ERROR: Message 'ar' not understood. RECEIVER: nil

florian-grond commented 5 years ago

I think the underlying Ugens for HOALibEnc3D have not made it into the SC3plugins yet.

Florian

https://www.linkedin.com/in/floriangrond/

On Thu, Aug 22, 2019 at 10:38 AM Escuta.org notifications@github.com wrote:

Hello, I've recently been trying to run SC-HOA on a Windows 10 machine with SuperCollider installed using the SuperCollider-3.10.2-Windows-x64-VS.exe installer. I have the latest SC-HOA quark installed (v. 1.3.2) and it compiles without errors. While the help files work for the classes, i get errors when attempting to run the classes. For example, the following code from the HOALibEnc3D help file produces errors:

( ~order = 2; // try different orders up to 5 and watch the scope window. s.scope((~order+1).pow(2)); {HOALibEnc3D.ar(~order, WhiteNoise.ar(1), MouseX.kr(0, 360), MouseY.kr(-90, 90 ) )}.play; )

Sorry if I'm doing something wrong in the installation but I don't think I am. SC is otherwise working as best it can on this Windows machine. The quark of course runs well in Linux. Here is the complete print out of the errors from the above code. Thanks :

Execution warning: Class 'HOALibEnc3D2' not found WARNING: keyword arg 'in1' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'azi' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'ele' not found in call to Object:doesNotUnderstand ERROR: Message 'ar' not understood. RECEIVER: nil ARGS: PATH: C:/Users/mott/Documents/SuperCollider/testHOA.scd

PROTECTED CALL STACK: Meta_MethodError:new 000001EB1586F040 arg this = DoesNotUnderstandError arg what = nil arg receiver = nil Meta_DoesNotUnderstandError:new 000001EB15871180 arg this = DoesNotUnderstandError arg receiver = nil arg selector = ar arg args = [ ] Object:doesNotUnderstand 000001EB14EA90C0 arg this = nil arg selector = ar arg args = nil Meta_HOALibEnc3D:ar 000001EB164BB000 arg this = HOALibEnc3D arg order = 2 arg in = a WhiteNoise arg az = a MouseX arg elev = a MouseY arg gain = 0 SynthDef:buildUgenGraph 000001EB171FE480 arg this = a SynthDef arg func = a Function arg rates = nil arg prependArgs = [ ] var result = nil var saveControlNames = [ ControlName P 0 i_out scalar 0 ] a FunctionDef 000001EB166FC480 sourceCode = "" arg i_out = an OutputProxy var result = nil var rate = nil var env = nil SynthDef:buildUgenGraph 000001EB171FE480 arg this = a SynthDef arg func = a Function arg rates = nil arg prependArgs = [ ] var result = nil var saveControlNames = nil a FunctionDef 000001EB171FCAC0 sourceCode = "" Function:prTry 000001EB15B469C0 arg this = a Function var result = nil var thread = a Thread var next = nil var wasInProtectedFunc = false

CALL STACK: DoesNotUnderstandError:reportError arg this = Nil:handleError arg this = nil arg error = Thread:handleError arg this = arg error = Object:throw arg this = Function:protect arg this = arg handler = var result = SynthDef:build arg this = arg ugenGraphFunc = arg rates = nil arg prependArgs = nil Function:play arg this = arg target = arg outbus = 0 arg fadeTime = 0.02 arg addAction = 'addToHead' arg args = nil var def = nil var synth = nil var server = var bytes = nil var synthMsg = nil Interpreter:interpretPrintCmdLine arg this = var res = nil var func = var code = "( ~order = 2; // try differe..." var doc = nil var ideClass = Process:interpretPrintCmdLine arg this = ^^ The preceding error dump is for ERROR: Message 'ar' not understood. RECEIVER: nil

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/florian-grond/SC-HOA/issues/22?email_source=notifications&email_token=AAKUTRUUDXFAIGNC2Z3ALNTQF2QHPA5CNFSM4IOVZL6KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGZZDTA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKUTRVGNYP75VWLCEAZKMTQF2QHPANCNFSM4IOVZL6A .

escuta commented 5 years ago

Ah, I see. Thanks, Iain

thibaudk commented 5 years ago

Sorry Iain and Florian, I should have been more clear about the pluggins I currently use with Mosca

my bad. This issue can be closed.