Live stream #6 - Tidal 1.5.0 release party and Q+A

Hi @cycle0 and @cycle1, lets have a TidalCycles 1.5.0 release party! Lets talk about how to upgrade, and go through what's new..

(Quite a lot has changed, so safest not to upgrade if you've got a gig coming up!)

2020-05-24T20:00:00Z

17 Likes

How exciting!

About to start!

I had problems with the update, does anyone know how I can fix it?

this is the error message

Load BootTidal.hs from /Users/Gabriel/.cabal/share/x86_64-osx-ghc-8.8.3/tidal-1.5.1/BootTidal.hs
t>ghc: signal: 15
Leaving GHCi.
t>Loaded package environment from /Users/Gabriel/.ghc/x86_64-darwin-8.8.3/environments/default
t>: error:
Ambiguous module name ‘Sound.Tidal.Context’:
it was found in multiple packages: tidal-1.4.9 tidal-1.4.9

1 Like

Here's the code for sharing a random seed:

do x <- randomRIO (0, 9999)
   setR "seed" $ pure $ toRational x

d1 $ (loopFirst $ ("^seed") <~ (sound "arpy*8" # speed rand))
   # squiz 3 # room 0.2 # sz 0.6
4 Likes

This is an annoying bug in haskell, I hope they fix it soon..

delete the package environment file named in the log:

rm /Users/Gabriel/.ghc/x86_64-darwin-8.8.3/environments/default

then re-run cabal install tidal --lib

That should quickly fix it

2 Likes

Here's the file I was going through:

-- ** Export drawLineSz @mxmxyz

drawLine "x(3,8)"

drawLineSz 80 "x(3,8)"

-- ** tidal-parse additions (bite, splice, pickF, select, squeeze; fixed slice) @dktr0

-- Now usable in 'minitidal' here: https://intramuros.mcmaster.ca/


-- ** New, more efficient pseudorandom number generator @dktr0

-- you should't hear the difference..
d1 $ sound "clap:4*16" # speed (rand + 1)

-- ** Pattern first someCyclesBy param @bgold-cosmos

d1 $ someCyclesBy "<0 1>" (# crush 3) $ sound "bd*8"

d1 $ someCyclesBy "<0.1 0.9>" (# crush 3) $ sound "bd*8"

-- ** Refactored, more flexible OSC targetting @yaxu

-- See here: https://tidalcycles.org/index.php/Custom_OSC

-- ** Simplify tidal-boot-script in tidal.el @jamagin

-- An emacs plugin thing..

-- ** Support state substitution in mininotation #530 @yaxu

-- Name a pattern of strings with setS
setS "hello" $ chunk 4 (fast 2) "bd(3,8) sd*2"

-- Name a pattern of (floating point) numbers with setF
setF "bing" $ iter 4 "0 4 3 1*2"

-- Name a pattern of boolean (binary) values with setB
setB "metre" $ "t(3,8,<0 2>)"

-- The named patterns can then be used in mininotation prefixed by ^
d1 $ struct "^metre" $ n "^bing" # sound "clap:4 ^hello"

-- You can use the same name in more than one pattern
d2 $ n (every 3 (fast 2) "^bing") # sound "cpu"

-- Then change the named pattern and all those using it will update
setF "bing" $ iter 4 "0 4 3 1*2"

-- ** Pattern first parameter of splice #656 @yaxu

d1 $ splice "8 16 4" "0 .. 7" $ sound "break:8"

-- Pattern first parameter of chew @yaxu

d1 $ chew "4 16" "0 .. 7" $ n "0 .. 7" # sound "cpu"
  # gain 1

-- Add'x' fraction alias for 1/6 @yaxu

d1 $ n "0 .. 7" # sound "cpu"
  # gain 1
  # delay 0.6
  # delayt "x"
  # delayfb 0.5

-- add dfb alias for delayfeedback param, dt for delaytime @yaxu

d1 $ n "0 .. 7" # sound "cpu"
  # gain 1
  # delay 0.6
  # dt "x"
  # dfb 0.5

-- add unmuteAll and only to BootTidal.hs @yaxu

d1 $ sound "clap"

d2 $ sound "~ snare"
5 Likes

thanks! :robot:

fantastic, thanks :slight_smile:
answers from today...

1 Like

I had the same problem but got it working now, but get a message in 'red' about the "t>Loaded package environment from /Users/pangea/.ghc/x86_64-darwin-8.8.3/environments/default" should i remove it after install again?

Even though it's in red, it's not actually an error. (Maybe worth changing this to e.g. green @ndr_brt? :slight_smile: )

Best not remove the file, it is needed.

1 Like

thanks, @yaxu
is there a way to apply mortal
and/or a fade out
to multiple orbits simultaneously? :slight_smile:

hola, for the A L G O C L A V E enthusiasts: i was a BIT wrong at the party yesterday, here's how:

-- to taste:

setcps (160/120/2)

-- circling the A L G O C L A V E

-- #by bernard gray

 d1 $ n " < [0 [~ 0] ~ 0] [~ 0 0 ~] >" # s "808ht"
--
-- writing ethan hein's supplied binary pattern out with rests:

d1 $ fast 8 $ n " < 0 ~ ~ 0 ~ ~ 0 ~ ~ ~ 0 ~ 0 ~ ~ ~ > " # s "808ht"
--
-- less typing ~ ~ ~ waves with "@", thanks to kindohm, check:
-- https://youtu.be/SDR3A82Ucdg?t=1268

d1 $ fast 8 $ n " < 0@3 0@3 0@4 0@2 0@4 > " # s "808ht"

-- from ethan hein's blog
-- https://www.ethanhein.com/wp/2013/why-is-son-clave-so-awesome/

d1 $ fast 8 $ s "808ht" # gain "<1 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0>"

-- # "not quite my tempo" :)

d1 $ slow 2 $ s "808ht(5,16)"
-- 
-- here's (5,16) written out in a gain pattern:

d1 $ fast 8 $ s "808ht" # gain "<1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 0>"

-- "The beats in the resulting rhythms are as equidistant as possible", see:
-- https://en.wikipedia.org/wiki/Euclidean_rhythm


-- sadly found no cute ascii to struct :/

hush

Hm, not that I can think of, sorry..

1 Like

I am still not able to use setF, it keeps flashing

<interactive>:10:1: error:
    • Variable not in scope: setF :: [Char] -> Pattern c0 -> t
    • Perhaps you meant ‘getF’ (imported from Sound.Tidal.Context)

Any idea?

That should be defined in your BootTidal.hs https://github.com/tidalcycles/Tidal/blob/master/BootTidal.hs

1 Like

I tried upgrading with cabal update and cabal install tidal --lib. But it only upgraded me from 1.4.7 to 1.4.9. Interestingly, the last time I updated was on 29th April so it should have installed 1.4.9 at that point.

I deleted my ~/.cabal folder a tried again and this time it installed 1.5.2 as expected. Maybe this helps someone.

3 Likes

That's very strange, thanks! I'll try to reproduce and report these problems at some point, they seem to be very common.

saving this for laterrr! thanks so much

Thanks your post saved me from going crazy!