Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not connecting well to SuperColider #7

Closed
MarcinMoskala opened this issue Sep 9, 2020 · 6 comments
Closed

Not connecting well to SuperColider #7

MarcinMoskala opened this issue Sep 9, 2020 · 6 comments

Comments

@MarcinMoskala
Copy link

Hey,

I followed the instruction, but after running the server, script, and then program in the template, I see as if they communicate with each other, but SD throws over and over again the following errors:

*** ERROR: SynthDef freeGroup not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef lead not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef dist not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef chop not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef djf not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef freeGroup not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef freeGroup not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef lead not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef dist not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef chop not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef djf not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef freeGroup not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef freeGroup not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef lead not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef dist not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef chop not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef djf not found
FAILURE IN SERVER /s_new SynthDef not found
*** ERROR: SynthDef freeGroup not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_set Node 1101 not found
FAILURE IN SERVER /n_set Node 1102 not found
FAILURE IN SERVER /n_set Node 1103 not found
FAILURE IN SERVER /n_set Node 1104 not found
FAILURE IN SERVER /n_set Node 1106 not found
FAILURE IN SERVER /n_set Node 1107 not found
FAILURE IN SERVER /n_set Node 1108 not found
FAILURE IN SERVER /n_set Node 1109 not found
FAILURE IN SERVER /n_set Node 1111 not found
FAILURE IN SERVER /n_set Node 1112 not found
FAILURE IN SERVER /n_set Node 1113 not found
FAILURE IN SERVER /n_set Node 1114 not found
FAILURE IN SERVER /n_set Node 1116 not found
FAILURE IN SERVER /n_set Node 1117 not found
FAILURE IN SERVER /n_set Node 1118 not found
FAILURE IN SERVER /n_set Node 1119 not found
FAILURE IN SERVER /n_set Node 1121 not found
FAILURE IN SERVER /n_set Node 1122 not found
FAILURE IN SERVER /n_set Node 1123 not found
FAILURE IN SERVER /n_set Node 1124 not found

In the same time in IntelliJ it looks like it sends normally:

[DefaultDispatcher-worker-8] INFO pl.pjagielski.punkt.jam.Jam - beat 23.5, sample 909cp
[DefaultDispatcher-worker-6] INFO pl.pjagielski.punkt.jam.Jam - beat 23.5, synth lead, note 41, params [sus, 0.5, dec, 0.75, res, 0.1, cutoff, 1753.9036]
[DefaultDispatcher-worker-6] INFO pl.pjagielski.punkt.jam.Jam - beat 23.5, fx dist, params [drive, 0.41950902]
[DefaultDispatcher-worker-6] INFO pl.pjagielski.punkt.jam.Jam - beat 23.5, fx chop, params [sus, 0.6060606, chop, 1.0]
[DefaultDispatcher-worker-6] INFO pl.pjagielski.punkt.jam.Jam - beat 23.5, fx djf, params [cutoff, 0.35024077]
[DefaultDispatcher-worker-6] INFO pl.pjagielski.punkt.jam.Jam - beat 23.75, sample 909cp
[DefaultDispatcher-worker-8] INFO pl.pjagielski.punkt.jam.Jam - beat 23.75, synth lead, note 56, params [sus, 0.5, dec, 0.75, res, 0.1, cutoff, 1738.0347]
[DefaultDispatcher-worker-8] INFO pl.pjagielski.punkt.jam.Jam - beat 23.75, fx dist, params [drive, 0.40980172]
[DefaultDispatcher-worker-8] INFO pl.pjagielski.punkt.jam.Jam - beat 23.75, fx chop, params [sus, 0.6060606, chop, 2.0]
[DefaultDispatcher-worker-8] INFO pl.pjagielski.punkt.jam.Jam - beat 23.75, fx djf, params [cutoff, 0.35006022]
[DefaultDispatcher-worker-8] INFO pl.pjagielski.punkt.jam.Jam - beat 24.0, fx DELAY, params [level, 0.75, echo, 0.75, echotime, 4.0]
[DefaultDispatcher-worker-8] INFO pl.pjagielski.punkt.jam.Jam - beat 24.0, fx REVERB, params [level, 0.75, room, 0.8, mix, 0.5]
[DefaultDispatcher-worker-8] INFO pl.pjagielski.punkt.jam.Jam - beat 24.0, fx COMP, params [level, 0.65, dist, 0.8]
[DefaultDispatcher-worker-8] INFO pl.pjagielski.punkt.jam.Jam - beat 24.0, fx DELAY, params [level, 0.75, echo, 0.75, echotime, 8.0]
[DefaultDispatcher-worker-8] INFO pl.pjagielski.punkt.jam.Jam - beat 24.0, fx REVERB, params [level, 0.75, room, 2.0, mix, 0.8]
[DefaultDispatcher-worker-8] INFO pl.pjagielski.punkt.jam.Jam - beat 24.0, fx COMP, params [level, 0.65, dist, 0.7]

Any idea what might it be?

@pjagielski
Copy link
Owner

Did you get any errors while executing the SuperCollider script as in #5 ?

@MarcinMoskala
Copy link
Author

MarcinMoskala commented Sep 9, 2020

I don't think so. All I see before those errors is:

Booting server 'localhost' on address 127.0.0.1:57110.
Number of Devices: 3
   0 : "Mikrofon (MacBook Pro)"
   1 : "Głośniki (MacBook Pr"
   2 : "ZoomAudioD"

"Mikrofon (MacBook Pro)" Input Device
   Streams: 1
      0  channels 1

"Głośniki (MacBook Pr" Output Device
   Streams: 1
      0  channels 2

SC_AudioDriver: sample rate = 48000.000000, driver's block size = 512
SuperCollider 3 server ready.
Requested notification messages from server 'localhost'
localhost: server process's maxLogins (8) matches with my options.
localhost: keeping clientID (0) as confirmed by server process.
Shared memory server interface initialized
ERROR: Class not defined.
  in interpreted text
  line 165 char 21:

  	var sound = MdaPiano.ar(freq+0.01, vel:amp*100, hard:0.8*amp, decay:0.1*dur,
                       
  		tune:0.5, random:0.05, stretch:detune, muffle:0.8*muffle, stereo:stereo);
-----------------------------------
ERROR: Class not defined.
  in interpreted text
  line 224 char 15:

      sig = Squiz.ar(sig, ratio);
                 
      ReplaceOut.ar(bus, sig)
-----------------------------------
ERROR: Class not defined.
  in interpreted text
  line 232 char 19:

      osc = Decimator.ar(osc, rate: 44100/crush, bits: bits);
                     
      osc = osc * Line.ar(amp * 0.85, 0.0001, sus * 2);
-----------------------------------
-> nil

@pjagielski
Copy link
Owner

Sure! Since 0.3.0 sc3-plugins are also needed, I forgot to add it to the docs... You should install it as decribed here: https://supercollider.github.io/sc3-plugins/
Thanks! I'll fix the instructions

@MarcinMoskala
Copy link
Author

Works when I added it :)

@pjagielski
Copy link
Owner

Good news! I updated the docs, can I close this now? ;)

@MarcinMoskala
Copy link
Author

More or less as the sound it produces now does not sound right at all. But I will try to fix it myself and in the worst case, I will open another PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants