# Carabiner - Variable not in Scope

**URL:** <https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969>\
**Category:** TidalCycles\
**Tags:** questions\
**Created:** [20 November 2023 12:39 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969 "2023-11-20T12:39:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![brepundtrep](https://uzu.lurk.org/user_avatar/uzu.lurk.org/brepundtrep/32/887_2.png) [@brepundtrep](https://uzu.lurk.org/u/brepundtrep)\
**Post date:** [20 November 2023 12:39 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969/1 "2023-11-20T12:39:45Z")

</div>

Hi! trying to link tidalcycles and ableton via Carabiner and Link I get this:

Variable not in scope: carabiner :: Stream -\> t0 -\> t1 -\> IO a0

this happens when I want to activate this information:

sock \<- carabiner tidal 4 (-0.1)

Does this have to do with the spaces in BootTidal.hs? as suggested here: [Can't load BootTidal.hs if the path contains a space · Issue #95 · tidalcycles/pulsar-tidalcycles · GitHub](https://github.com/tidalcycles/pulsar-tidalcycles/issues/95)

Thanks

---

<div class="post-metadata">

**Author:** ![geikha](https://uzu.lurk.org/user_avatar/uzu.lurk.org/geikha/32/2701_2.png) [@geikha](https://uzu.lurk.org/u/geikha)\
**Post date:** [21 November 2023 04:50 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969/2 "2023-11-21T04:50:47Z")

</div>

There's no need for Carabiner using Tidal 1.9.x, read here:

> **[Multi-User Tidal | Tidal Cycles](https://tidalcycles.org/docs/configuration/multiuser-tidal/#link-protocol-synchronization)**
>
> \-----

---

<div class="post-metadata">

**Author:** ![brepundtrep](https://uzu.lurk.org/user_avatar/uzu.lurk.org/brepundtrep/32/887_2.png) [@brepundtrep](https://uzu.lurk.org/u/brepundtrep)\
**Post date:** [21 November 2023 07:50 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969/3 "2023-11-21T07:50:21Z")

</div>

Yes, I have read it, thank you. I turned to install Carabiner because I can't use Link after I did a new install of tidalcycles ( 1.9.4) I also did an update of Haskell. I don't know what's going on. This is what my Haskell troubleshoot looks like:

➜ ~ git:(master) ✗ ghci  
Loaded package environment from /Users/axelpulgar/.ghc/x86\_64-darwin-9.2.2/environments/default  
GHCi, version 9.2.2: [Glasgow Haskell Compiler — The Glasgow Haskell Compiler](https://www.haskell.org/ghc/) :? for help  
ghci\> import Sound.Tidal.Context  
ghci\>

I can hear the samples and write patterns but it doesn't seem to connect with Link. Any ideas?

---

<div class="post-metadata">

**Author:** ![eyd](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/e/c67d28/32.png) [@eyd](https://uzu.lurk.org/u/eyd)\
**Post date:** [21 November 2023 09:31 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969/4 "2023-11-21T09:31:13Z")

</div>

It seems like I have the same issue. In my opinion, there's a problem with OS versions above Ventura. When I tried to use Link in Sonoma, it didn't work, so I downgraded to Ventura, but again only Link wasn't functioning. Eventually, when I downgraded to Monterey, Link started working properly. (There was no difference in the process of installing Tidalcycles)

I'll also attach the link to the question I posted regarding this.

> [@'Link' not working issue (OS Sonoma)](https://club.tidalcycles.org/t/link-not-working-issue-os-sonoma/4963/2):
>
> And I'm not sure if this is related, but.. When I enter 'import Sound.Tidal.Context' in GHCi, there is no response. (There's no error, but) So I reinstalled the Tidal Library, but still, the 'Link' is not working.

---

<div class="post-metadata">

**Author:** ![brepundtrep](https://uzu.lurk.org/user_avatar/uzu.lurk.org/brepundtrep/32/887_2.png) [@brepundtrep](https://uzu.lurk.org/u/brepundtrep)\
**Post date:** [21 November 2023 16:16 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969/5 "2023-11-21T16:16:57Z")

</div>

I am indeed trying to install it on Sonoma. Thanks for sharing your process, it will save me a few hours of installation. It occurs to me that perhaps there are specific versions of Haskell and Tidal that do work with recent macOS versions and Silicon computers? This is a bit beyond my knowledge.

Ah but it's not necessarily the fact that it's a silicon computer... you managed to make Link work on another system.

---

<div class="post-metadata">

**Author:** ![mvdirty](https://uzu.lurk.org/user_avatar/uzu.lurk.org/mvdirty/32/2179_2.png) [@mvdirty](https://uzu.lurk.org/u/mvdirty)\
**Post date:** [22 November 2023 16:45 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969/6 "2023-11-22T16:45:44Z")

</div>

It would help for troubleshooting if everyone could be very specific about the release version numbers of GHC, Cabal, etc. they are using, how they installed them (e.g. ghcup or otherwise,) how they installed Tidal, and whether or not they are using (Rosetta) x86 or ARM versions of them.

FWIW, IIRC GHC 9.2.2 is too old for running the Link integration.

---

<div class="post-metadata">

**Author:** ![brepundtrep](https://uzu.lurk.org/user_avatar/uzu.lurk.org/brepundtrep/32/887_2.png) [@brepundtrep](https://uzu.lurk.org/u/brepundtrep)\
**Post date:** [22 November 2023 23:14 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969/7 "2023-11-22T23:14:27Z")

</div>

Ok on my side:  
cabal-install version 3.10.2.0  
compiled using version 3.10.2.1 of the Cabal library  
Haskell version 9.8.1

I used the Automatic installation (script) for MacOS  
curl [https://raw.githubusercontent.com/tidalcycles/tidal-bootstrap/master/tidal-bootstrap.command](https://raw.githubusercontent.com/tidalcycles/tidal-bootstrap/master/tidal-bootstrap.command) -sSf | sh

again without success connecting to Link on a Silicon/M2.  
Sounds and patterns works!

[TidalCycles version 1.9.4]  
Installed in /Users/axelpulgar/.local/share/aarch64-osx-ghc-9.8.1/tidal-1.9.4  
Listening for external controls on 127.0.0.1:6010  
Connected to SuperDirt.

tomorrow I will try to install it manually

---

<div class="post-metadata">

**Author:** ![brepundtrep](https://uzu.lurk.org/user_avatar/uzu.lurk.org/brepundtrep/32/887_2.png) [@brepundtrep](https://uzu.lurk.org/u/brepundtrep)\
**Post date:** [23 November 2023 08:01 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969/8 "2023-11-23T08:01:34Z")

</div>

@eyd do you normally use the Auto Script from the Tidal website for installation?

---

<div class="post-metadata">

**Author:** ![eyd](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/e/c67d28/32.png) [@eyd](https://uzu.lurk.org/u/eyd)\
**Post date:** [24 November 2023 06:23 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969/9 "2023-11-24T06:23:02Z")

</div>

> [@brepundtrep](#):
>
> do you normally use the Auto Script from the Tidal website for installation?

Yes, I installed it using the 'Automatic Installation' as described on the website!

---

<div class="post-metadata">

**Author:** ![Robin\_Hase](https://uzu.lurk.org/user_avatar/uzu.lurk.org/robin_hase/32/1338_2.png) [@Robin\_Hase](https://uzu.lurk.org/u/Robin_Hase)\
**Post date:** [14 December 2023 17:17 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969/10 "2023-12-14T17:17:00Z")

</div>

i'm having the same issue - did anyone have any success fixing it?

---

<div class="post-metadata">

**Author:** ![Robin\_Hase](https://uzu.lurk.org/user_avatar/uzu.lurk.org/robin_hase/32/1338_2.png) [@Robin\_Hase](https://uzu.lurk.org/u/Robin_Hase)\
**Post date:** [16 December 2023 12:23 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969/11 "2023-12-16T12:23:48Z")

</div>

@eyd @brepundtrep

tidal-link was updated in light of this, please try reinstalling tidal after running `cabal update`. this might fix it! I personally went and downgraded my laptop to Monterey, which did the trick.

> <https://github.com/tidalcycles/Tidal/issues/1056>
>
> When starting Tidal and attempting to connect Link-Enabled applications nothing …happens. 
> OSC communication works and i can use Tidal functions normally. 
> I don't use SuperDirt or Supercollider so i don't know whether that's also affected. 
> 
> at least 4 users on the forum seem to be having the same issue: 
> 
> https://club.tidalcycles.org/t/ableton-link-installation/4625/5
> https://club.tidalcycles.org/t/link-not-working-issue-os-sonoma/4963
> https://club.tidalcycles.org/t/carabiner-variable-not-in-scope/4969
> 
> me and @eyd are on OSX Sonoma, @sherwood is on ventura 13.6.2
> 
> i've installed tidal using the automatic script from the tidal website.
> 
> my versions: 
> M1 MBP 2020
> OSX Sonoma 14.1.2 (23B92)
> cabal-install version 3.10.2.0
> compiled using version 3.10.2.1 of the Cabal library 
> The Glorious Glasgow Haskell Compilation System, version 9.8.1
> TidalCycles version 1.9.4

---

<div class="post-metadata">

**Author:** ![brepundtrep](https://uzu.lurk.org/user_avatar/uzu.lurk.org/brepundtrep/32/887_2.png) [@brepundtrep](https://uzu.lurk.org/u/brepundtrep)\
**Post date:** [16 December 2023 21:41 UTC](https://uzu.lurk.org/t/carabiner-variable-not-in-scope/4969/12 "2023-12-16T21:41:15Z")

</div>

Yes, it's working here too! no downgrades.  
Working in Sonoma 14.1.2 - M2 Max.  
Thanks for clarifying the code @yaxu
