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

Installation Issues #17

Closed seanwalker909 closed 6 years ago

seanwalker909 commented 6 years ago

HI I've followed the installation instructions but can't seem to get HOAEncoder5 to work... ` Execution warning: Class 'HOAEncoder5' not found WARNING: keyword arg 'in1' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'gain_0' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'radius_0' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'azimuth_0' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'elevation_0' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'yes' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'speaker_radius_0' not found in call to Object:doesNotUnderstand ERROR: Message 'ar' not understood. RECEIVER: nil ARGS: PATH: /Users/seanwalker/Documents/SuperCollider/HOA_SC.scd

PROTECTED CALL STACK: Meta_MethodError:new 0x115d8b700 arg this = DoesNotUnderstandError arg what = nil arg receiver = nil Meta_DoesNotUnderstandError:new 0x115d8d6c0 arg this = DoesNotUnderstandError arg receiver = nil arg selector = ar arg args = [ ] Object:doesNotUnderstand 0x118252e80 arg this = nil arg selector = ar arg args = nil SynthDef:buildUgenGraph 0x117bce8c0 arg this = a ProxySynthDef arg func = a Function arg rates = nil arg prependArgs = [ ] var result = nil var saveControlNames = nil a FunctionDef 0x117bef8c0 sourceCode = "" var out = nil var outCtl = nil SynthDef:buildUgenGraph 0x117bce8c0 arg this = a ProxySynthDef arg func = a Function arg rates = nil arg prependArgs = [ ] var result = nil var saveControlNames = nil a FunctionDef 0x117bccf00 sourceCode = "" Function:prTry 0x116000400 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 Meta_ProxySynthDef:new arg this = arg name = "temp__0hoaSignal-8797118600" arg func = arg rates = nil arg prependArgs = nil arg makeFadeEnv = true arg channelOffset = 0 arg chanConstraint = 36 arg rateConstraint = 'audio' var def = nil var rate = nil var numChannels = nil var output = nil var isScalar = nil var envgen = nil var canFree = nil var hasOwnGate = nil var hasGateArg = false var hasOutArg = false var outerBuildSynthDef = nil SynthDefControl:build arg this = arg proxy = arg orderIndex = 0 var ok = nil var rate = nil var numChannels = nil var outerDefControl = var outerBuildProxy = NodeProxy:put arg this = arg index = nil arg obj = arg channelOffset = 0 arg extraArgs = nil arg now = true var container = var bundle = var oldBus = NodeProxy:source arg this = arg obj = < closed FunctionDef > (no arguments or variables) Interpreter:interpretPrintCmdLine arg this = var res = nil var func = var code = "( ~hoaSignal = NodeProxy.new..." var doc = nil var ideClass = Process:interpretPrintCmdLine arg this = ^^ The preceding error dump is for ERROR: Message 'ar' not understood. RECEIVER: nil`

I'm running supercollider on Mac OS 10.13.4 Any help would be greatly appreciated

florian-grond commented 6 years ago

Hi Sean,

Does HOAEncoder4 and the other orders work? Can you look into your SC3 plugins directory and see if the plugin exists?

Let me know how what you find

Florian

On Sun, Jul 29, 2018, 23:54 Sean Walker notifications@github.com wrote:

HI I've followed the installation instructions but can't seem to get HOAEncoder5 to work... ` Execution warning: Class 'HOAEncoder5' not found WARNING: keyword arg 'in1' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'gain_0' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'radius_0' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'azimuth_0' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'elevation_0' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'yes' not found in call to Object:doesNotUnderstand WARNING: keyword arg 'speaker_radius_0' not found in call to Object:doesNotUnderstand ERROR: Message 'ar' not understood. RECEIVER: nil ARGS: PATH: /Users/seanwalker/Documents/SuperCollider/HOA_SC.scd

PROTECTED CALL STACK: Meta_MethodError:new 0x115d8b700 arg this = DoesNotUnderstandError arg what = nil arg receiver = nil Meta_DoesNotUnderstandError:new 0x115d8d6c0 arg this = DoesNotUnderstandError arg receiver = nil arg selector = ar arg args = [ ] Object:doesNotUnderstand 0x118252e80 arg this = nil arg selector = ar arg args = nil SynthDef:buildUgenGraph 0x117bce8c0 arg this = a ProxySynthDef arg func = a Function arg rates = nil arg prependArgs = [ ] var result = nil var saveControlNames = nil a FunctionDef 0x117bef8c0 sourceCode = "" var out = nil var outCtl = nil SynthDef:buildUgenGraph 0x117bce8c0 arg this = a ProxySynthDef arg func = a Function arg rates = nil arg prependArgs = [ ] var result = nil var saveControlNames = nil a FunctionDef 0x117bccf00 sourceCode = "" Function:prTry 0x116000400 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 Meta_ProxySynthDef:new arg this = arg name = "temp__0hoaSignal-8797118600" arg func = arg rates = nil arg prependArgs = nil arg makeFadeEnv = true arg channelOffset = 0 arg chanConstraint = 36 arg rateConstraint = 'audio' var def = nil var rate = nil var numChannels = nil var output = nil var isScalar = nil var envgen = nil var canFree = nil var hasOwnGate = nil var hasGateArg = false var hasOutArg = false var outerBuildSynthDef = nil SynthDefControl:build arg this = arg proxy = arg orderIndex = 0 var ok = nil var rate = nil var numChannels = nil var outerDefControl = var outerBuildProxy = NodeProxy:put arg this = arg index = nil arg obj = arg channelOffset = 0 arg extraArgs = nil arg now = true var container = var bundle = var oldBus = NodeProxy:source arg this = arg obj = < closed FunctionDef > (no arguments or variables) Interpreter:interpretPrintCmdLine arg this = var res = nil var func = var code = "( ~hoaSignal = NodeProxy.new..." var doc = nil var ideClass = Process:interpretPrintCmdLine arg this = ^^ The preceding error dump is for ERROR: Message 'ar' not understood. RECEIVER: nil`

I'm running supercollider on Mac OS 10.13.4 Any help would be greatly appreciated

— 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/17, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVJxjf3BwMyCo5p2sApCvtiZkcO3fJwks5uLoOIgaJpZM4VlvfE .

seanwalker909 commented 6 years ago

tying to evaluate HOAEncoder4 produces the same results. I have HOAEncoder.sc in SuperCollider/download-quarks/SC-HOA/classes im SuperCollider/Extensions I have the Source Code i downlaoaded from https://github.com/florian-grond/sc3-pluginsHOA/releases/tag/Version-3.8.0 but when I search for HOAEncoder in that folder nothing comes up. I'm probably doing something wrong but I've been trying to install these for a while now. Not sure what I'm doing wrong. I've recompiled the class library and tried re-installing them with Quarks. Let me know if you need anything else.

florian-grond commented 6 years ago

You need to compile the repository with the plugins, If you are not familiar with compiling source code, we try to get the SC-HOA integrated into the standard plugins this might still take a while though.

www.grond.at

On Mon, Jul 30, 2018 at 1:45 PM, Sean Walker notifications@github.com wrote:

tying to evaluate HOAEncoder4 produces the same results. I have HOAEncoder.sc in SuperCollider/download-quarks/SC-HOA/classes im SuperCollider/Extensions I have the Source Code i downlaoaded from https://github.com/florian-grond/sc3-pluginsHOA/releases/tag/Version-3.8.0 but when I search for HOAEncoder in that folder nothing comes up. I'm probably doing something wrong but I've been trying to install these for a while now. Not sure what I'm doing wrong. I've recompiled the class library and tried re-installing them with Quarks. Let me know if you need anything else.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/florian-grond/SC-HOA/issues/17#issuecomment-408950115, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVJxrYC9K89B4Le7STFPuBEjgdm_J6Wks5uL0YjgaJpZM4VlvfE .

seanwalker909 commented 6 years ago

do i need to compile the source for SuperCollider as well?

florian-grond commented 6 years ago

no, you need the sources of SuperCollider to link but you don't need to compile it for the plugins

www.grond.at

On Mon, Jul 30, 2018 at 3:13 PM, Sean Walker notifications@github.com wrote:

do i need to compile the source for SuperCollider as well?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/florian-grond/SC-HOA/issues/17#issuecomment-408977830, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVJxl4pTLIAPw0Npmq9HTpWu8gwWC2cks5uL1r2gaJpZM4VlvfE .

seanwalker909 commented 6 years ago

where should I clone supercollider and the supercollider plugins? in /Users/seanwalker/Library/Application Support/SuperCollider/Extensions ?

also, the read me for https://github.com/florian-grond/sc3-pluginsHOA says to clone the original sc3 plugins repo

florian-grond commented 6 years ago

You need to clone the SuperCollider repo and you need to clones the https://github.com/florian-grond/sc3-pluginsHOA repo Make sure plugins and SC repo versions match. You can clone it anywhere you want but you will need to know where to link the SC code during plugin compilation.

www.grond.at

On Mon, Jul 30, 2018 at 3:44 PM, Sean Walker notifications@github.com wrote:

where should I clone supercollider and the supercollider plugins? in /Users/seanwalker/Library/Application Support/SuperCollider/Extensions ?

also, the read me for https://github.com/florian-grond/sc3-pluginsHOA says to clone the original sc3 plugins repo

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/florian-grond/SC-HOA/issues/17#issuecomment-408986337, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVJxn3JiEUQ0s-HKESY4Koqaie5Xtmuks5uL2IqgaJpZM4VlvfE .

seanwalker909 commented 6 years ago

so i have to clone supercollider version 3.8? is that the latest version for sc3-pluginsHOA?

seanwalker909 commented 6 years ago

I've built the plugins and put them in /Extensions and now im getting this error: exception in GraphDef_Recv: UGen 'HOAEncoder5' not installed. *** ERROR: SynthDef temp__0hoaSignal1101411213_0 not found FAILURE IN SERVER /s_new SynthDef not found

seanwalker909 commented 6 years ago

when i build the sc3-pluginsHOA with cmake it doesn't have HOAEncoder in the generated SC3Plugins folder. should I be using the cmake commands that are on the original repo? mkdir build && cd build cmake -DSC_PATH=/path/to/sc/ .. cmake --build . --config Release to install the plugins cmake --build . --config Release --target install

florian-grond commented 6 years ago

@patrickdupuis would you mind reminding us how to set the compile flag ton ON? I guess then @seanwalker909 could also try the main repo of sc3-plugins?

seanwalker909 commented 6 years ago

I am able to compile the plugins from and they work in supercollider but the HOA plugins aren't there. I thing the problem is that the cmake files aren't including them. I'm new to cmake but could it be possible that the cmake files for sc3-pluginsHOA weren't updated to compile the HOA plugins?

seanwalker909 commented 6 years ago

actually, i see this in CMakeLists.txt # HOAUGens if (HOA_UGENS) list(APPEND PLUGIN_DIRS HOAUGens) if (CMAKE_COMPILER_IS_CLANG) file(GLOB HOAUGensSources HOAUGens/*cpp) foreach(HOAUGensSourceFile ${HOAUGensSources}) set_source_files_properties("${HOAUGensSourceFile}" PROPERTIES COMPILE_FLAGS "-fbracket-depth=4096") endforeach(HOAUGensSourceFile) endif() endif()

seanwalker909 commented 6 years ago

if someone could provide a complete list of commands that they typed into the terminal to compile sc3-pluginsHOA that would be great.

patrickdupuis commented 6 years ago

@seanwalker909 Your timing is impeccable. It just so happens that a Pull Request was merged last night into the main sc3-plugins repository that will make things a lot easier for you.

My suggestion is to start over from scratch. You don't need to build @florian-grond's fork of sc3-plugins (sc3-pluginsHOA) in order to get the HOUUGens. These UGens are now part of sc3-plugins proper.

Github issues aren't really a good place to ask for this kind of technical support. You should join the SuperCollider mailing list or the new forum at scsynth.org. Basically, what you are trying to do is:

note: Always provide a description of your system (OS, SuperCollider version, Qt version, etc.). From what I can see from the above, you're on Windows.

florian-grond commented 6 years ago

Patrick, these are excellent news! thank you very much!

www.grond.at

On Tue, Jul 31, 2018 at 10:04 AM, Patrick Dupuis notifications@github.com wrote:

@seanwalker909 https://github.com/seanwalker909 Your timing is impeccable. It just so happens that a Pull Request was merged last night into the main sc3-plugins https://github.com/supercollider/sc3-plugins repository that will make things a lot easier for you.

My suggestion is to start over from scratch. You don't need to build @florian-grond https://github.com/florian-grond's fork of sc3-plugins ( sc3-pluginsHOA) in order to get the HOUUGens. These UGens are now part of sc3-plugins proper.

Github issues aren't really a good place to ask for this kind of technical support. You should join the SuperCollider mailing list or the new forum at scsynth.org. Basically, what you are trying to do is:

  • update your SC version to 3.9.3 (highly recommended)
  • download a copy of the SC 3.9.3 source code
  • clone and build the sc3-plugins repository's master branch

note: Always provide a description of your system (OS, SuperCollider version, Qt version, etc.). From what I can see from the above, you're on Windows.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/florian-grond/SC-HOA/issues/17#issuecomment-409232636, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVJxsSrKKnfDA7yd3mVqixYS6u4aY_rks5uMGPxgaJpZM4VlvfE .

seanwalker909 commented 6 years ago

HAHAHAHAHAHAAHAHAHAHAAAAA this is hilarious. thanks @patrickdupuis and @florian-grond ill join the mailing list. i wasn't sure where else to ask for help about this. time to get supercollider working with this bad boy: https://www.instagram.com/p/BX3-IIiBeNIZwVBL2RLR6WeeJEzmNq5Iv3B2L80

cheers from Chicago.