Mi-ugens install issues on windows

Hey all, have followed the instructions mi-UGens Installation | Tidal Cycles as close as i can figure but cannot get any noise out.......

am getting the following errors

SuperDirt: listening to Tidal on port 57120
*** ERROR: SynthDef global_mi_clouds2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1065 not found
*** ERROR: SynthDef global_mi_verb2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1066 not found
*** ERROR: SynthDef global_mi_clouds2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1072 not found
*** ERROR: SynthDef global_mi_verb2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1073 not found
*** ERROR: SynthDef global_mi_clouds2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1079 not found
*** ERROR: SynthDef global_mi_verb2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1080 not found
*** ERROR: SynthDef global_mi_clouds2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1086 not found
*** ERROR: SynthDef global_mi_verb2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1087 not found
*** ERROR: SynthDef global_mi_clouds2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1093 not found
*** ERROR: SynthDef global_mi_verb2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1094 not found
*** ERROR: SynthDef global_mi_clouds2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1100 not found
*** ERROR: SynthDef global_mi_verb2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1101 not found
*** ERROR: SynthDef global_mi_clouds2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1107 not found
*** ERROR: SynthDef global_mi_verb2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1108 not found
*** ERROR: SynthDef global_mi_clouds2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1114 not found
*** ERROR: SynthDef global_mi_verb2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1115 not found
*** ERROR: SynthDef global_mi_clouds2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1121 not found
*** ERROR: SynthDef global_mi_verb2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1122 not found
*** ERROR: SynthDef global_mi_clouds2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1128 not found
*** ERROR: SynthDef global_mi_verb2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1129 not found
*** ERROR: SynthDef global_mi_clouds2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1135 not found
*** ERROR: SynthDef global_mi_verb2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1136 not found
*** ERROR: SynthDef global_mi_clouds2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1142 not found
*** ERROR: SynthDef global_mi_verb2 not found
FAILURE IN SERVER /s_new SynthDef not found
FAILURE IN SERVER /n_run Node 1143 not found
ERROR: syntax error, unexpected NAME, expecting $end
in interpreted text
line 1 char 9:

What am i doing wrong?! help much appreciated ta!

I think the issue can be narrowed down to steps 2 and 3 of the instructions:

  1. Move the top level directory of the archive (mi-UGens/) into the SuperCollider Extensions folder (create it if it doesn't exist):
  • Windows: C:\Users\<youruser>\AppData\Local\SuperCollider\Extensions\mi-UGens

TIP

The SuperCollider Extensions folder can be found by running Platform.userExtensionDir in SuperCollider. The path will be printed to the post window.

  1. Create a new synthdef file mi-ugens.scd, with these synthdefs
  • Windows: C:\Users\<youruser>\AppData\Local\SuperCollider\synthdefs\mi-ugens.scd

Can you make sure that both these files exist (and verify the correct install location with the tip)?

Hey Cleary

Thanks for the assistance so the estensions folder is where expected and i have unpacked the files into that folder. I have created a text document called mi-ugens.scd with the definitions and it sits in the correct folder, have just noticed in the boot stuff this error also: file "C:UsersbenjaAppDataLocalSuperCollidersynthdefsmi-ugens.scd" does not exist. however it does and also in the startup file it is laid out as follows:

~dirt = SuperDirt(2, s);
//load mi-ugens.scd synthdef
load("C:\Users\benja\AppData\Local\SuperCollider\synthdefs\mi-ugens.scd");
// end load mi-ugens.scd synthdefs////

confused

aha!

This tip is important:

Thanks so much! think i am amost their, braids hasn't worked but the others appear functioning however the parameters arent available so think i have messed up step 9

for some reason, braids was not included in the 0.0.3 bundle for windows - and the windows build for 0.0.4 is completely absent.

I'm not sure what's going on there, but you may be able to build yourself?

You need to make sure you've edited the correct BootTidal.hs file - this can depend on your editor, your haskell install method etc.

Sometimes the boottidal.hs path is announced in the tidal plugin startup (pulsar does this for example) - you need to make sure that is the file you've edited.

You also need to make sure the position of the script load function is correct - above the :set prompt somewhere near the end of the BootTidal.hs file

Cleary, thanks so so much for your help, i have made sure i am editing the correct Boot Tidal file, now getting this error when i try to run some simple plaits code

so close but yet so far

this is the code paster into the boot file if that helps any

aha - remove both sets of ... - they are placeholder to indicate a bunch of extra lines that come before (and after) the line you need to add :slight_smile:

I will try and update the docs to indicate that better

Thanks cleary, something still not quite right....

boot file looks like this

But am still getting an error

Try without the quotes "" around the path - iirc this may be an issue (and I should fix it)

Hi Cleary

tried that with and without "" and also () but always get some variation of the above error.......

Here's what mine looks like:

    setB = streamSetB tidal
:}

:script c:\Users\berna\AppData\Local\SuperCollider\synthdefs\mi-ugens-params.hs

:set prompt "tidal> "
:set prompt-cont ""

default (Pattern String, Integer, Double)

I'm not seeing any difference, except perhaps the indentation - try shifting it back to the far left?

edit: you also have two :set prompt directives, get rid of one of them

edit2: I've made a pull request for the docs based on your feedback, hopefully it clears up a few of the issues you ran into!

Might have to admit defeat, still getting an errorr

image

my boot file appears identical

thanks for going above the call of duty for me......

Can you paste the contents of the entire boottidal.hs file? It looks like a simple error, I just don't have the visibility on what that file looks like

of course

:set -XOverloadedStrings
:set prompt ""

import Sound.Tidal.Context

import System.IO (hSetEncoding, stdout, utf8)
hSetEncoding stdout utf8

tidal <- startTidal (superdirtTarget {oLatency = 0.05, oAddress = "127.0.0.1", oPort = 57120}) (defaultConfig {cVerbose = True, cFrameTimespan = 1/20})

:{
let only = (hush >>)
p = streamReplace tidal
hush = streamHush tidal
panic = do hush
once $ sound "superpanic"
list = streamList tidal
mute = streamMute tidal
unmute = streamUnmute tidal
unmuteAll = streamUnmuteAll tidal
unsoloAll = streamUnsoloAll tidal
solo = streamSolo tidal
unsolo = streamUnsolo tidal
once = streamOnce tidal
first = streamFirst tidal
asap = once
nudgeAll = streamNudgeAll tidal
all = streamAll tidal
resetCycles = streamResetCycles tidal
setCycle = streamSetCycle tidal
setcps = asap . cps
getcps = streamGetcps tidal
getnow = streamGetnow tidal
xfade i = transition tidal True (Sound.Tidal.Transition.xfadeIn 4) i
xfadeIn i t = transition tidal True (Sound.Tidal.Transition.xfadeIn t) i
histpan i t = transition tidal True (Sound.Tidal.Transition.histpan t) i
wait i t = transition tidal True (Sound.Tidal.Transition.wait t) i
waitT i f t = transition tidal True (Sound.Tidal.Transition.waitT f t) i
jump i = transition tidal True (Sound.Tidal.Transition.jump) i
jumpIn i t = transition tidal True (Sound.Tidal.Transition.jumpIn t) i
jumpIn' i t = transition tidal True (Sound.Tidal.Transition.jumpIn' t) i
jumpMod i t = transition tidal True (Sound.Tidal.Transition.jumpMod t) i
jumpMod' i t p = transition tidal True (Sound.Tidal.Transition.jumpMod' t p) i
mortal i lifespan release = transition tidal True (Sound.Tidal.Transition.mortal lifespan release) i
interpolate i = transition tidal True (Sound.Tidal.Transition.interpolate) i
interpolateIn i t = transition tidal True (Sound.Tidal.Transition.interpolateIn t) i
clutch i = transition tidal True (Sound.Tidal.Transition.clutch) i
clutchIn i t = transition tidal True (Sound.Tidal.Transition.clutchIn t) i
anticipate i = transition tidal True (Sound.Tidal.Transition.anticipate) i
anticipateIn i t = transition tidal True (Sound.Tidal.Transition.anticipateIn t) i
forId i t = transition tidal False (Sound.Tidal.Transition.mortalOverlay t) i
d1 = p 1 . (|< orbit 0)
d2 = p 2 . (|< orbit 1)
d3 = p 3 . (|< orbit 2)
d4 = p 4 . (|< orbit 3)
d5 = p 5 . (|< orbit 4)
d6 = p 6 . (|< orbit 5)
d7 = p 7 . (|< orbit 6)
d8 = p 8 . (|< orbit 7)
d9 = p 9 . (|< orbit 8)
d10 = p 10 . (|< orbit 9)
d11 = p 11 . (|< orbit 10)
d12 = p 12 . (|< orbit 11)
d13 = p 13
d14 = p 14
d15 = p 15
d16 = p 16
:}

:{
let getState = streamGet tidal
setI = streamSetI tidal
setF = streamSetF tidal
setS = streamSetS tidal
setR = streamSetR tidal
setB = streamSetB tidal
:}

:script C:\Users\benja\AppData\Local\SuperCollider\synthdefs\mi-ugens-params.hs

:set prompt "tidal> "
:set prompt-cont ""

default (Pattern String, Integer, Double)

my apologies, I want the contents of your mi-ugens-params.hs file -
The error indicates you have a mismatched bracket at line 1 in that file

Hey Cleary

Thanks for coming back to me, i recreated the params file from scratch and all seems to be working now, not sure what i did but is all sorted, thanks so so much for your help xx

1 Like