Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 997e3f7

Browse files
authored
Merge pull request #1059 from polymorphicengine/1.9-dev-clock
replace Tempo module by an ableton-link synched clock that comes with tidal-link
2 parents 88f09ed + 5b33d3a commit 997e3f7

File tree

20 files changed

+1343
-1124
lines changed

20 files changed

+1343
-1124
lines changed

BootTidal.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ let only = (hush >>)
2929
resetCycles = streamResetCycles tidal
3030
setCycle = streamSetCycle tidal
3131
setcps = asap . cps
32-
getcps = streamGetcps tidal
33-
getnow = streamGetnow tidal
32+
getcps = streamGetCPS tidal
33+
getnow = streamGetNow tidal
3434
xfade i = transition tidal True (Sound.Tidal.Transition.xfadeIn 4) i
3535
xfadeIn i t = transition tidal True (Sound.Tidal.Transition.xfadeIn t) i
3636
histpan i t = transition tidal True (Sound.Tidal.Transition.histpan t) i

src/Sound/Tidal/Context.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import Prelude hiding ((<*), (*>))
2222

2323
import Data.Ratio as C
2424

25-
import Sound.Tidal.Config as C
25+
import Sound.Tidal.Stream as C
2626
import Sound.Tidal.Control as C
2727
import Sound.Tidal.Core as C
2828
import Sound.Tidal.Params as C
@@ -31,7 +31,6 @@ import Sound.Tidal.Pattern as C
3131
import Sound.Tidal.Scales as C
3232
import Sound.Tidal.Show as C
3333
import Sound.Tidal.Simple as C
34-
import Sound.Tidal.Stream as C
3534
import Sound.Tidal.Transition as C
3635
import Sound.Tidal.UI as C
3736
import Sound.Tidal.Version as C

src/Sound/Tidal/Control.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import Data.Ratio
2929

3030
import Sound.Tidal.Pattern
3131
import Sound.Tidal.Core
32-
import Sound.Tidal.StreamTypes (patternTimeID)
32+
import Sound.Tidal.Stream.Types (patternTimeID)
3333
import Sound.Tidal.UI
3434
import qualified Sound.Tidal.Params as P
3535
import Sound.Tidal.Utils

src/Sound/Tidal/Safe/Context.hs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,17 @@ module Sound.Tidal.Safe.Context
5353
where
5454

5555
import Data.Ratio as C
56-
import Sound.Tidal.Config as C
56+
import Sound.Tidal.Stream.Config as C
5757
import Sound.Tidal.Control as C
5858
import Sound.Tidal.Core as C
5959
import Sound.Tidal.Params as C
6060
import Sound.Tidal.ParseBP as C
6161
import Sound.Tidal.Pattern as C
6262
import Sound.Tidal.Scales as C
6363
import Sound.Tidal.Simple as C
64-
import Sound.Tidal.Stream
65-
(startTidal, superdirtTarget, Target(..))
64+
import Sound.Tidal.Stream.Target (superdirtTarget)
65+
import Sound.Tidal.Stream.Types (Target(..))
66+
import Sound.Tidal.Stream.Main (startTidal)
6667
-- import Sound.Tidal.Transition as C
6768
import Sound.Tidal.UI as C
6869
import Sound.Tidal.Version as C
@@ -79,7 +80,7 @@ exec :: Stream -> Op r -> IO r
7980
exec stream (Op m) = runReaderT m stream
8081

8182
op1 f = Op $ do a <- ask; lift $ f a
82-
op2 f b = Op $ do a <- ask; lift $ f a b
83+
op2 f b = Op $ do a <- ask; lift $ f a b
8384
op3 f b c = Op $ do a <- ask; lift $ f a b c
8485
op4 f b c d = Op $ do a <- ask; lift $ f a b c d
8586
op5 f b c d e = Op $ do a <- ask; lift $ f a b c d e

0 commit comments

Comments
 (0)