No sound playing fresh install of FoxDot

I am not sure if I am missing something trivial here. I just installed FoxDot to take it for a stroll but it seems there is something I am missing, or there is some kind of issue with my setup, or the newest version of SC <> FoxDot as I read that since January FD is not actively maintained.

System
MacOS 10.15.1
SuperCollider (SC): 3.11.0

Initial Steps

  1. Installed using python3 pretext.
  2. Quarks.install("FoxDot"); // in SC
  3. SC3 Plugins installed, in SC, (maybe irrelevant at this point)*

Reproducing

  1. Run in SC:
    FoxDot.start;
Listening for messages from FoxDot 
-> FoxDot
  1. Run in terminal
    python3 -m FoxDot
DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning
===================
  1. Running in FoxDot IDE:
    p1 >> pluck()

Expected
Hear the pluck instrument playing.

Error
->

FAILURE IN SERVER /s_new SynthDef not found

Cheers
K.

Hmm as I was looking at this I thought it was a completely different problem but having reading this part:

FAILURE IN SERVER /s_new SynthDef not found

It looks like FoxDot is trying to use the OSC destination “s_new” as a synth instead of the command for starting the synth. It could be that SC v3.11 handles OSC in a different way but that’s really strange. I will download 3.11 and get back to you.

The alternative is that the error is not accurate (unlikely) and synths just haven’t been loaded yet but I’d be surprised if that’s the case

Thanks for this. I can take some look on the implementation in the SC side as I am more familiar with it rather than FoxDot itself.

Just send me some pointers or potential chunks that you think might causing the problem, happy to help.

That might be related to an indirect problem, e.g., if you using proxy holders to play the sounds (as opposed to standard SynthDefs for the sounds engines) then it might be a Jit issue, just a shot in the dark to be frank since I am agnostic about the mechanics.

Just tried it in 3.11 and FoxDot worked fine on Windows. When you open FoxDot do you get a whole bunch on info printed to the SC console similar to this:

Loading SynthDef from C:\Users\Ryan\AppData\Local\Programs\Python\Python36\lib\site-packages\FoxDot\osc\Info.scd

No, just the post window’s responses noted in my previous message.

EDIT: this appears in the terminal after running FoxDot in terminal:

Warning: Could not fetch info from SCLang server. Using defaults...
DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning._```

Also, maybe the paths assigned to FoxDot config file to SCLang and server don’t match.
Mine look:
/Applications/SuperCollider/SuperCollider.app/Contents/MacOS/sclang
/Applications/SuperCollider/SuperCollider.app/Contents/MacOS/SuperCollider

Just from the top off my head.

Cheers

I’m not sure what’s going on but I can confirm this isn’t the case: scsynth error messages include the command name. /s_new here is definitely the command, not the SynthDef name.

hjh

Ah you’re right, I was confusing the error messages. Here’s what I see if I boot the FoxDot interface before SuperCollider:

FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef pluck not found

Can you do a couple of things? When you have green numbers in the corner of the SC editor (the server is booted) run FoxDot.reload() in the FoxDot window and try again? If no luck there, then it looks like FoxDot.start is booting the server but not starting the OSCFunc. Can you download this zip file, extract and run the code and see if you get any luck?