Skip to content

Commit

Permalink
merge with recent tidal changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dktr0 committed Aug 11, 2022
2 parents ac66771 + 2df335d commit 4db0d1a
Show file tree
Hide file tree
Showing 1,559 changed files with 452,744 additions and 1,111 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,27 @@ jobs:
cabal: latest
args: --allow-newer=base,template-haskell
experimental: true
- ghc: 9.4.1
cabal: 3.8.1.0
args: --allow-newer=base,template-haskell
experimental: false
- ghc: 9.0.1
cabal: 3.4.0.0
args: --allow-newer=base,template-haskell
experimental: false
- ghc: 8.10.1
cabal: 3.2.0.0
cabal: 3.4.0.0
args: --allow-newer=base,template-haskell
experimental: false
- ghc: 8.8.3
cabal: 3.0.0.0
cabal: 3.4.0.0
args: --allow-newer=base,template-haskell
experimental: false
- ghc: 8.6.5
cabal: 2.4.1.0
cabal: 3.4.0.0
experimental: false
- ghc: 8.4.4
cabal: 2.4.1.0
cabal: 3.4.0.0
experimental: false

continue-on-error: ${{ matrix.versions.experimental }}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/listener-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,17 @@ jobs:
- name: move executable
run: |
cp dist-newstyle/build/x86_64-linux/ghc-${{ matrix.ghc }}/tidal-listener-0.1.0.0/x/tidal-listener/build/tidal-listener/tidal-listener tidal-listener/binary/tidal-listener
cp dist-newstyle/build/x86_64-linux/ghc-${{ matrix.ghc }}/tidal-1.7.10/x/tidal/build/tidal/tidal tidal-listener/binary/tidal
cp dist-newstyle/build/x86_64-linux/ghc-${{ matrix.ghc }}/tidal-*/x/tidal/build/tidal/tidal tidal-listener/binary/tidal
- name: zip files
run: |
cd tidal-listener/
tar cvfj binary.tar binary/*
mv binary tidal
tar cvfj linux.tar tidal/*
- uses: actions/upload-artifact@v2
with:
path: tidal-listener/binary.tar
path: tidal-listener/linux.tar

release:
runs-on: ubuntu-latest
Expand All @@ -133,4 +134,4 @@ jobs:

- uses: softprops/action-gh-release@v1
with:
files: artifact/binary.tar
files: artifact/linux.tar
4 changes: 2 additions & 2 deletions .github/workflows/listener-build-macosx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
- name: move executables
run: |
cp -r dist-newstyle/build/x86_64-osx/ghc-${{ matrix.ghc }}/tidal-listener-0.1.0.0/x/tidal-listener/build/tidal-listener/tidal-listener tidal-listener/binary/tidal-listener
cp -r dist-newstyle/build/x86_64-osx/ghc-${{ matrix.ghc }}/tidal-1.7.10/x/tidal/build/tidal/tidal tidal-listener/binary/tidal
cp -r dist-newstyle/build/x86_64-osx/ghc-${{ matrix.ghc }}/tidal-*/x/tidal/build/tidal/tidal tidal-listener/binary/tidal
- name: zip files
run: |
Expand All @@ -122,4 +122,4 @@ jobs:

- uses: softprops/action-gh-release@v1
with:
files: artifact/macosx.tar
files: artifact/macosx.tar
4 changes: 2 additions & 2 deletions .github/workflows/listener-build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- name: move executables
run: |
Copy-Item -Path 'dist-newstyle\build\x86_64-windows\ghc-${{ matrix.ghc }}\tidal-listener-0.1.0.0\x\tidal-listener\build\tidal-listener\tidal-listener.exe' -Recurse -Destination 'tidal-listener\binary\tidal-listener.exe'
Copy-Item -Path 'dist-newstyle\build\x86_64-windows\ghc-${{ matrix.ghc }}\tidal-1.7.10\x\tidal\build\tidal\tidal.exe' -Recurse -Destination 'tidal-listener\binary\tidal.exe'
Copy-Item -Path 'dist-newstyle\build\x86_64-windows\ghc-${{ matrix.ghc }}\tidal-*\x\tidal\build\tidal\tidal.exe' -Recurse -Destination 'tidal-listener\binary\tidal.exe'
- name: zip files
run: Compress-Archive -LiteralPath 'tidal-listener\binary\' -DestinationPath 'tidal-listener\windows.zip'
Expand All @@ -101,4 +101,4 @@ jobs:

- uses: softprops/action-gh-release@v1
with:
files: artifact/windows.zip
files: artifact/windows.zip
3 changes: 1 addition & 2 deletions BootTidal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import Sound.Tidal.Context
import System.IO (hSetEncoding, stdout, utf8)
hSetEncoding stdout utf8

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

:{
let only = (hush >>)
Expand Down
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
@@ -1 +1 @@
packages: ./ tidal-parse tidal-listener
packages: ./ tidal-parse tidal-listener tidal-link
28 changes: 0 additions & 28 deletions old/sync/Canute.hs

This file was deleted.

62 changes: 0 additions & 62 deletions old/sync/CanuteMIDI.hs

This file was deleted.

38 changes: 0 additions & 38 deletions old/sync/Leafcutter.hs

This file was deleted.

36 changes: 0 additions & 36 deletions old/sync/Sync.hs

This file was deleted.

31 changes: 0 additions & 31 deletions old/sync/serial.hs

This file was deleted.

83 changes: 0 additions & 83 deletions src/Sound/Tidal/Carabiner.hs

This file was deleted.

Loading

0 comments on commit 4db0d1a

Please sign in to comment.