This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d1 $ sound "mouth*4" | |
d1 $ every 3 rev $ every 4 (0.25 <~) $ slow 4 $ striate' 64 (1/40) ( sound "ulmel:1") | |
|+| speed "[1 1.5 1.25, 0.5]" | |
d2 $ every 3 (density 2) $ every 2 (density 2) $ sound "mouth*8" | |
|+| gain "0.6" | |
d3 $ jux (iter 8) $ sound "bd*2 ~ cp future future*2 ~ bd*4 sn*2" | |
|+| gain "0.7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# OPTIONS_GHC -XNoMonomorphismRestriction #-} | |
### put this in your home directory | |
module TidalCustom where | |
import Data.Ratio | |
import Control.Applicative | |
import qualified Data.Map as Map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-| | |
Static example code of a live-coded performance of Ring Surfing | |
for ODD7 live-coding compilation release (summer 2015). | |
Performance video: https://youtu.be/4KZn0YBpx9o | |
Performed on 2015-04-21 by Kindohm (a.k.a. Mike Hodnick) | |
-} | |
bps (200/120) | |
let rip a b p = within (0.25, 0.75) (slow 2 . rev . stut 8 a b) p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-| | |
Static example code of a live-coded performance of Warm Waves | |
for ODD7 live-coding compilation release (summer 2015). | |
Performed on 2015-04-24 by Kindohm (a.k.a. Mike Hodnick) | |
-} | |
-- midi setup | |
import Sound.Tidal.MIDI.Output | |
import Sound.Tidal.VolcaKeys | |
keyStreams <- keyproxy 1 4 keys [1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Sound.Tidal.MIDI.Output | |
import Sound.Tidal.VolcaKeys | |
import Sound.Tidal.SimpleSynth | |
import Sound.Tidal.Rytm | |
keyStreams <- keyproxy 1 "Scarlett 18i8 USB" keys [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16] | |
[bd,sd,rs,cp,bt,lt,mt,ht,ch,oh,cy,cb,k13,k14,k15,k16] <- sequence keyStreams |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# atom-tidal snippets | |
# | |
# These are atom editor snippets that automate some of my common tasks | |
# while live coding music with Tidal. They only work with .tidal files. | |
# | |
# To use, in Atom go to File -> Open Your Snippets, then paste in this code. | |
# | |
# I created these snippets because I often find myself typing the same Tidal code | |
# over and over again. Your mileage may vary; maybe these don't suit your needs, | |
# but you can also use them as a reference for your own Tidal snippets. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var path = 'C:\\Users\\Mike\\code\\rename\\*.jpg'; | |
var glob = require("glob") | |
var fs = require('fs'); | |
var exif = require('exif'); | |
var _ = require('lodash'); | |
var Promise = require('bluebird'); | |
var pathModule = require('path'); | |
var pad = require("node-string-pad"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mashing up breakbeats in Sonic Pi | |
# resulting audio: https://soundcloud.com/kindohm/sonic-pi-breaks | |
# this var changes the playback speed of the breaks, | |
# which in turn controls the loop sleep time and overall tempo | |
rate = 1 | |
# samples paths | |
samples = [] | |
samples.push("C:\\tidal-samples\\samples\\akuma\\Half Baked break a.wav") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d1 $ every 2 (5.25 <~) $ every 3 (3.75 <~) $ slowcat [ | |
sound (samples "set1*8" (run 16)), | |
sound (samples "set2*8" (run 16)), | |
sound (samples "set3*8" (run 16)), | |
sound (samples "set4*8" (run 16)) ] | |
-- or for more variation, use "irand" instead of "run" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
live_loop :thing do | |
sample :drum_bass_hard | |
sleep 0.75 | |
4.times do | |
sample :drum_cymbal_soft, rate: rrand(2,4) | |
sleep 0.125 | |
end | |
end | |
live_loop :snare do |