That’s because you aren’t sending the pattern to superdirt, so it tries to print it out (the output is a bit messy at the moment…).
This should work though
d1 $ n "0 3 [5 2] 2" # sound "cpu"
That’s because you aren’t sending the pattern to superdirt, so it tries to print it out (the output is a bit messy at the moment…).
This should work though
d1 $ n "0 3 [5 2] 2" # sound "cpu"
If you’re up to date, running this in atom:
tidal_version
… should say 1.4.8.
( if you’re a time traveller from the future, you can find the currently most recent version available by looking at this page: https://hackage.haskell.org/package/tidal )
Yes @yaxu It seems everything works. Now I can make a kick sound !
Thanks !
ah yes. it does. Okay thanks for fielding all of these questions. It looks like I am good. the ghc-pkg list return was throwing me off.
Hello,
I’m running into some errors trying to install.
I had an older version of SuperCollider and Atom on my machine before so I updated both before starting the ‘easy’ install process. I’m getting this error message when trying to start SuperDirt. SC is also not allowing me to install the Quark like you suggested above. Any ideas?
*** Welcome to SuperCollider 3.10.3. *** For help press Cmd-D.
file "/Users/Rain/Library/Application Support/SuperCollider/Help/scdoc_version" does not exist.
SCDoc: Indexing help-files...
SCDoc: Indexed 1897 documents in 0.88 seconds
ERROR: Class not defined.
in interpreted text
line 1 char 9:
SuperDirt.start
-----------------------------------
-> nil
Fetching https://github.com/supercollider-quarks/quarks.git
ERROR: Failed to read quarks directory listing: https://github.com/supercollider-quarks/quarks.git a PrimitiveFailedError
ERROR: Quark 'SuperDirt' not found
CALL STACK:
Exception:reportError
arg this = <instance of Error>
Nil:handleError
arg this = nil
arg error = <instance of Error>
Thread:handleError
arg this = <instance of Thread>
arg error = <instance of Error>
Object:throw
arg this = <instance of Error>
Meta_Quark:new
arg this = <instance of Meta_Quark>
arg name = "SuperDirt"
arg refspec = nil
arg url = nil
arg localPath = nil
var args = nil
Meta_Quarks:install
arg this = <instance of Meta_Quarks>
arg name = "SuperDirt"
arg refspec = nil
var path = nil
var quark = nil
String:include
arg this = "SuperDirt"
Interpreter:interpretPrintCmdLine
arg this = <instance of Interpreter>
var res = nil
var func = <instance of Function>
var code = "include("SuperDirt")"
var doc = nil
var ideClass = <instance of Meta_ScIDE>
Process:interpretPrintCmdLine
arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Quark 'SuperDirt' not found
The Terminal window always gave me a few errors, one of which was this:
*** Welcome to SuperCollider 3.10.3. *** For help type cmd-d.
sc3> include("SuperDirt");"SuperDirt installation complete!".postln;0.exit;
Fetching https://github.com/supercollider-quarks/quarks.git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: Failed to read quarks directory listing: https://github.com/supercollider-quarks/quarks.git a PrimitiveFailedError
ERROR: Quark 'SuperDirt' not found
I also removed SC and allowed the easy install to install the version of SC that it wanted but that not not work either.
Thanks,
Ben
PS: Through SuperCollider’s “Quark” window I was able to install SuperDirt and the samples, so that’s some progress, though it’s still kicking me some errors.
I then loaded Atom and it’s giving me this error below, which suggest Haskal isn’t installed either right? The easy installer seemed to tell me it was… sigh.
Load BootTidal.hs from /Users/Rain/.atom/packages/tidalcycles/lib/BootTidal.hs
/bin/sh: /Users/Rain/.ghcup/bin/ghci: No such file or directory
Hi Ben,
Let me know what errors SuperCollider is currently giving.
That does indeed indicate that haskell didn’t install for some reason. Try this sequence of commands in a terminal window, to install haskell and the tidal library:
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org -sSf | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 sh
. .ghcup/env
cabal update
cabal install tidal --lib
I get this error in SC when starting SuperDirt:
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/core-synths-global.scd
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/core-synths.scd
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/default-synths.scd
exception in GraphDef_Recv: exceeded number of interconnect buffers.
WARNING: SynthDef superfm too big for sending. Retrying via synthdef file
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/try-load-extra-synths.scd
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/tutorial-synths.scd
Execution warning: Class 'Vowel' not found
ERROR: Message 'formLib' not understood.
RECEIVER:
nil
ARGS:
PROTECTED CALL STACK:
Meta_MethodError:new 0x7fa1a05af9c0
arg this = DoesNotUnderstandError
arg what = nil
arg receiver = nil
Meta_DoesNotUnderstandError:new 0x7fa1a05b1980
arg this = DoesNotUnderstandError
arg receiver = nil
arg selector = formLib
arg args = [ ]
Object:doesNotUnderstand 0x7fa19039a340
arg this = nil
arg selector = formLib
arg args = nil
SuperDirt:initVowels 0x7fa1a03ec480
arg this = a SuperDirt
arg register = counterTenor
SuperDirt:init 0x7fa1a03e1080
arg this = a SuperDirt
a FunctionDef 0x7fa1a1b285c0
sourceCode = "<an open Function>"
Routine:prStart 0x7fa1a1093480
arg this = a Routine
arg inval = 9.119535653
CALL STACK:
DoesNotUnderstandError:reportError
arg this = <instance of DoesNotUnderstandError>
< closed FunctionDef >
arg error = <instance of DoesNotUnderstandError>
Integer:forBy
arg this = 0
arg endval = 2
arg stepval = 2
arg function = <instance of Function>
var i = 2
var j = 1
SequenceableCollection:pairsDo
arg this = [*4]
arg function = <instance of Function>
Scheduler:seconds_
arg this = <instance of Scheduler>
arg newSeconds = 10.957585004
Meta_AppClock:tick
arg this = <instance of Meta_AppClock>
var saveClock = <instance of Meta_SystemClock>
Process:tick
arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Message 'formLib' not understood.
RECEIVER: nil
And that command to install Haskal seemed to work! The Terminal went wild and ended with “Installation done!” I loaded up Atom to test it again and got a new error message however:
: error:
Could not find module ‘Sound.Tidal.Context’
It is not a module in the current program, or in any known package.
Thank you,
Ben
PS: After some digging on the troubleshooting page it appears that my Tidal library isn’t installed. I tried this command :
cabal update
cabal new-install tidal --lib
But I get this error in Terminal: “-bash: cabal: command not found”
How about this bit first:
Actually If you're not in your home folder you'll need this:
. ~/.ghcup/env
That second command seemed to work for Tidal and Atom!
I’m still getting this error from SC though. Any ideas?
Thanks!
-> SuperDirt
Booting server 'localhost' on address 127.0.0.1:57110.
Found 0 LADSPA plugins
_UniCharInfo_LinearCount:888
Number of Devices: 2
0 : "MacBook Pro Microphone"
1 : "MacBook Pro Speakers"
"MacBook Pro Microphone" Input Device
Streams: 1
0 channels 1
"MacBook Pro Speakers" 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 (1) matches with my options.
localhost: keeping clientID (0) as confirmed by server process.
Shared memory server interface initialized
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/core-modules.scd
---- core synth defs loaded ----
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/core-synths-global.scd
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/core-synths.scd
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/default-synths.scd
exception in GraphDef_Recv: exceeded number of interconnect buffers.
WARNING: SynthDef superfm too big for sending. Retrying via synthdef file
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/try-load-extra-synths.scd
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/tutorial-synths.scd
Execution warning: Class 'Vowel' not found
ERROR: Message 'formLib' not understood.
RECEIVER:
nil
ARGS:
PROTECTED CALL STACK:
Meta_MethodError:new 0x7f91a058f9c0
arg this = DoesNotUnderstandError
arg what = nil
arg receiver = nil
Meta_DoesNotUnderstandError:new 0x7f91a0591980
arg this = DoesNotUnderstandError
arg receiver = nil
arg selector = formLib
arg args = [ ]
Object:doesNotUnderstand 0x7f91a0142340
arg this = nil
arg selector = formLib
arg args = nil
SuperDirt:initVowels 0x7f91a03cc480
arg this = a SuperDirt
arg register = counterTenor
SuperDirt:init 0x7f91a03c1080
arg this = a SuperDirt
a FunctionDef 0x7f91b06d85c0
sourceCode = "<an open Function>"
Routine:prStart 0x7f9190733480
arg this = a Routine
arg inval = 10.952409986
CALL STACK:
DoesNotUnderstandError:reportError
arg this = <instance of DoesNotUnderstandError>
< closed FunctionDef >
arg error = <instance of DoesNotUnderstandError>
Integer:forBy
arg this = 0
arg endval = 2
arg stepval = 2
arg function = <instance of Function>
var i = 2
var j = 1
SequenceableCollection:pairsDo
arg this = [*4]
arg function = <instance of Function>
Scheduler:seconds_
arg this = <instance of Scheduler>
arg newSeconds = 12.846934297
Meta_AppClock:tick
arg this = <instance of Meta_AppClock>
var saveClock = <instance of Meta_SystemClock>
Process:tick
arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Message 'formLib' not understood.
RECEIVER: nil
Hm, so it seems the SuperDirt ‘quark’ is installed fine, but the Vowel one isn’t. That’s strange…
If you run this in supercollider, it should install it:
include("Vowel")
Once that’s complete, you’ll need to run ‘recompile class library’ from the language menu.
That worked! It still kicks out this one error message but I'm getting sound via Atom
Should I try to sort out this error as well?
SuperCollider 3 server ready.
Requested notification messages from server 'localhost'
localhost: server process's maxLogins (1) matches with my options.
localhost: keeping clientID (0) as confirmed by server process.
Shared memory server interface initialized
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/core-modules.scd
---- core synth defs loaded ----
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/core-synths-global.scd
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/core-synths.scd
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/default-synths.scd
exception in GraphDef_Recv: exceeded number of interconnect buffers.
WARNING: SynthDef superfm too big for sending. Retrying via synthdef file
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/try-load-extra-synths.scd
loading synthdefs in /Users/Rain/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/tutorial-synths.scd
loading 217 sample banks:
808 (6) 808bd (25) 808cy (25) 808hc (5) 808ht (5) 808lc (5) 808lt (5) 808mc (5) 808mt (5) 808oh (5) 808sd (25) 909 (1) ab (12) ade (10) ades2 (9) ades3 (7) ades4 (6) alex (2) alphabet (26) amencutup (32) armora (7) arp (2) arpy (11) auto (11) baa (7) baa2 (7) bass (4) bass0 (3) bass1 (30) bass2 (5) bass3 (11) bassdm (24) bassfoo (3) battles (2) bd (24) bend (4) bev (2) bin (2) birds (10) birds3 (19) bleep (13) blip (2) blue (2) bottle (13) breaks125 (2) breaks152 (1) breaks157 (1) breaks165 (1) breath (1) bubble (8) can (14) casio (3) cb (1) cc (6) chin (4) circus (3) clak (2) click (4) clubkick (5) co (4) coins (1) control (2) cosmicg (15) cp (2) cr (6) crow (4) d (4) db (13) diphone (38) diphone2 (12) dist (16) dork2 (4) dorkbot (2) dr (42) dr2 (6) dr55 (4) dr_few (8) drum (6) drumtraks (13) e (8) east (9) electro1 (13) em2 (6) erk (1) f (1) feel (7) feelfx (8) fest (1) fire (1) flick (17) fm (17) foo (27) future (17) gab (10) gabba (4) gabbaloud (4) gabbalouder (4) glasstap (3) glitch (8) glitch2 (8) gretsch (24) gtr (3) h (7) hand (17) hardcore (12) hardkick (6) haw (6) hc (6) hh (13) hh27 (13) hit (6) hmm (1) ho (6) hoover (6) house (8) ht (16) if (5) ifdrums (3) incoming (8) industrial (32) insect (3) invaders (18) jazz (8) jungbass (20) jungle (13) juno (12) jvbass (13) kicklinn (1) koy (2) kurt (7) latibro (8) led (1) less (4) lighter (33) linnhats (6) lt (16) made (7) made2 (1) mash (2) mash2 (4) metal (10) miniyeah (4) monsterb (6) moog (7) mouth (15) mp3 (4) msg (9) mt (16) mute (28) newnotes (15) noise (1) noise2 (8) notes (15) numbers (9) oc (4) odx (15) off (1) outdoor (6) pad (3) padlong (1) pebbles (1) perc (6) peri (15) pluck (17) popkick (10) print (11) proc (2) procshort (8) psr (30) rave (8) rave2 (4) ravemono (2) realclaps (4) reverbkick (1) rm (2) rs (1) sax (22) sd (2) seawolf (3) sequential (8) sf (18) sheffield (1) short (5) sid (12) sine (6) sitar (8) sn (52) space (18) speakspell (12) speech (7) speechless (10) speedupdown (9) stab (23) stomp (10) subroc3d (11) sugar (2) sundance (6) tabla (26) tabla2 (46) tablex (3) tacscan (22) tech (13) techno (7) tink (5) tok (4) toys (13) trump (11) ul (10) ulgab (5) uxay (3) v (6) voodoo (5) wind (10) wobble (1) world (3) xmas (1) yeah (31)
... file reading complete. Required 444 MB of memory.
SuperDirt: listening to Tidal on port 57120
I'm not sure how serious this one is:
I think it's worth sorting though. Here I show how to start superdirt with more options: Week 1 lesson 2 - Loading sample packs
Once you do that, add this extra line to the list of configuration options there: s.options.numWireBufs = 128;
This one isn't an error and you can safely ignore it.
Okay thanks. I’ll give adding that a go in a bit.
The good news is that the install seems like it’s now in a place where I can start learning… The bad news is that I have to also install this on my studio computer (!!), and I have virtually no idea how to recreate the steps I took to get here, lol. I’ll give that a go tomorrow, but I’m guessing you’ll be hearing from me again unfortunately.
Thanks for all your help with this!
(And if you have any ideas how I could make this smoother for the other machine let me know).
Ben
PS: Just wanted to come back to say that I modified "numWireBufs’ to 128 and that got rid of the error. I also used the ‘easy’ install process on my desktop machine without a single hitch! That’s really odd as my laptop and desktop started as clones of each-other not that long ago. Weird, but I’ll take it.
Hi everyone!
I’ve had tidal installed on my Windows 10 laptop for about a month about a year ago and everything went smoothly, but after some time i deleted everything related. Now, while trying to reinstall, no matter if i’m trying the choco install or the manual installation (via the instructions on tidalcycles.org), i get the same error with ghc every time, which is this message > https://gitlab.haskell.org/ghc/ghc/issues/17319, only the error code is 1920. I’ve been desperately trying everything I could find on various forums, here, toplap and other places to fix it, but nothing seems to work. The file it seems to not be able to access is in the folder path it provides in the message. The install runs to the end, again, both in choco or manually, but some of the packages in tidal library seem to not install citing problems with ghc (if i understand it correctly?) again. Despite that, the console message is that some packages failed to install but the library has been installed succesfully, and if i try to run tidal everything is smooth in SuperCollider, SuperDirt works with no problems, and Atom packages works just fine, but the sound is not there due to the same ghc error message in atom. I’m not sure what to do next and start to think it has to do either with numerous reinstallations (that i tried to clean up every time) or the exact versions of ghc and/or windows on this machine. However, as I used to have tidal working fine on this very machine last year, I hope this is fixable.
Thanks!
Hi @wildlighted,
Sorry for not answering before, I missed this one!
That's an annoying error with the libwinpthread-1.dll file. I found someone with possibly the same issue - the file is there but a compiler says it isn't. The top solution looks promising:
I'd be happy to have a quick look remotely using teamviewer, while you watch, if that helps? Send me a direct message if so - I think I'd need your id and password. https://www.teamviewer.com/
Hi Alex
Thanks!
I think I have installed everything right, but as soon as I run the code [d1 $ sound "bd sd"], I get the following message in the Atom post window:
Choose ghcup default path: /Users/panosamelidis/.ghcup/bin
Ghci command: /Users/panosamelidis/.ghcup/bin/ghci Ghc-pkg command: /Users/panosamelidis/.ghcup/bin/ghc-pkg
Load BootTidal.hs from /Users/panosamelidis/.atom/packages/tidalcycles/lib/BootTidal.hs
Loaded package environment from /Users/panosamelidis/.ghc/x86_64-darwin-8.8.3/environments/default
t>
t>Listening for controls on 127.0.0.1:6010
t>
That looks good! Are you not hearing sound? Is superdirt running in supercollider?
Thanks Alex, works fine now!
6 posts were split to a new topic: New 'ansible' method for installing on Ubuntu and other Linux distros
Hey all, so excited to be participating in this course!
I've been using Tidal with no problem for about a month now, and I've set up the start file in Supercollider as described, and there has been no issues or crises until now.
I took a break from using Tidal to work in Ableton a little bit, and when I returned I found that all my samples in Tidal were playing extremely low, and I wasn't able to return them to the proper pitch. When I tried reinitializing Superdirt, I got the following error:
ERROR: Input sample rate is 96000, but output is 44100. Mismatched sample rates are not supported. To disable input, set the number of input channels to 0.
could not initialize audio.
Server 'localhost' exited with exit code 0.
Not sure how this could have happened, anyone know how to fix it? I've tried restarting my computer to no avail.