157 lines
6.1 KiB
HTML
157 lines
6.1 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>tidalcycles | Kitaab</title>
|
||
|
<meta property="og:title" content="tidalcycles | Kitaab">
|
||
|
<meta property="og:type" content="website">
|
||
|
<meta property="og:description"
|
||
|
content="config.site_meta_description">
|
||
|
<meta property="og:site_name" content="Kitaab">
|
||
|
<meta property="og:url" content="build_url">
|
||
|
<meta property="og:image" content="build_urlassets/social.png">
|
||
|
<meta property="og:image:height" content="300">
|
||
|
<meta property="og:image:width" content="300">
|
||
|
<meta property="og:image:type" content="image/jpeg">
|
||
|
<link rel="stylesheet" href="asset/style.css" type="text/css"
|
||
|
media="screen" title="no title" charset="utf-8">
|
||
|
<!-- Mastodon stuff should go here
|
||
|
<meta name="twitter:site" content="config.twitter_name">
|
||
|
<meta name="twitter:title" content="page_title | config.name_of_site">
|
||
|
<meta name="twitter:image" content="build_urlassets/social.png">
|
||
|
<meta name="twitter:image:alt" content="page_title | config.name_of_site">
|
||
|
--!>
|
||
|
<link rel="apple-touch-icon" sizes="57x57" href="build_urlassets/apple-icon-57x57.png">
|
||
|
<link rel="apple-touch-icon" sizes="60x60" href="build_urlassets/apple-icon-60x60.png">
|
||
|
<link rel="apple-touch-icon" sizes="72x72" href="build_urlassets/apple-icon-72x72.png">
|
||
|
<link rel="apple-touch-icon" sizes="76x76" href="build_urlassets/apple-icon-76x76.png">
|
||
|
<link rel="apple-touch-icon" sizes="114x114" href="build_urlassets/apple-icon-114x114.png">
|
||
|
<link rel="apple-touch-icon" sizes="120x120" href="build_urlassets/apple-icon-120x120.png">
|
||
|
<link rel="apple-touch-icon" sizes="144x144" href="build_urlassets/apple-icon-144x144.png">
|
||
|
<link rel="apple-touch-icon" sizes="152x152" href="build_urlassets/apple-icon-152x152.png">
|
||
|
<link rel="apple-touch-icon" sizes="180x180" href="build_urlassets/apple-icon-180x180.png">
|
||
|
<link rel="icon" type="image/png" sizes="192x192" href="build_urlassets/android-icon-192x192.png">
|
||
|
<link rel="icon" type="image/png" sizes="32x32" href="build_urlassets/favicon-32x32.png">
|
||
|
<link rel="icon" type="image/png" sizes="96x96" href="build_urlassets/favicon-96x96.png">
|
||
|
<link rel="icon" type="image/png" sizes="16x16" href="build_urlassets/favicon-16x16.png">
|
||
|
<meta name="msapplication-TileColor" content="#5927e0">
|
||
|
<meta name="msapplication-TileImage" content="build_urlassets/ms-icon-144x144.png">
|
||
|
<meta name="theme-color" content="#5927e0">
|
||
|
<link rel="canonical" href="Raw">
|
||
|
<link rel="stylesheet" href="assets/main.css">
|
||
|
</head>
|
||
|
|
||
|
<body class="flow-large container">
|
||
|
<header>
|
||
|
<a style='display:flex;padding-top:10px' href="home.html" aria-label="Kitaab">Kitaab</a>
|
||
|
</header>
|
||
|
<main>
|
||
|
<div id='navigation' style="float: right;">
|
||
|
<nav>
|
||
|
<h2> <a href='tag_index.html'> Index </a> </h2>
|
||
|
<ul>
|
||
|
<li> <a href='recents.html'>recents</a></li>
|
||
|
|
||
|
<li> <a href='dev_index.html'>dev</a></li>
|
||
|
|
||
|
<li> <a href='way_index.html'>way</a></li>
|
||
|
|
||
|
<li> <a href='recipe_index.html'>recipe</a></li>
|
||
|
|
||
|
<li> <a href='ops_index.html'>ops</a></li>
|
||
|
|
||
|
<li> <a href='blog_index.html'>blog</a></li>
|
||
|
|
||
|
<li> <a href='rock_index.html'>rock</a></li>
|
||
|
|
||
|
<li> <a href='phil_index.html'>phil</a></li>
|
||
|
|
||
|
<li> <a href='story_index.html'>story</a></li>
|
||
|
|
||
|
<li> <a href='blog_index.html'>blog</a></li>
|
||
|
|
||
|
<li> <a href='untagged_index.html'>untagged</a></li>
|
||
|
|
||
|
</ul>
|
||
|
</nav>
|
||
|
</div>
|
||
|
<h1> tidalcycles </h1>
|
||
|
<div style='max-width:660px;'>
|
||
|
<article class="flow">
|
||
|
|
||
|
|
||
|
<a href="generative_index.html">
|
||
|
generative
|
||
|
</a>
|
||
|
|
||
|
|
||
|
|
||
|
<date>1970-01-01 10:00</date>
|
||
|
|
||
|
<h3>start</h3>
|
||
|
<p>to start tidal cycles:
|
||
|
run 'scide' (or run the SuperCollider IDE) in terminal to start SuperCollider server
|
||
|
execute the following code in scide:
|
||
|
include("SuperDirt")
|
||
|
SuperDirt.start</p>
|
||
|
<p>open a new terminal and run tidalvim
|
||
|
you should now be running tidal, use ctrl+E to pass lines to tidal from vim</p>
|
||
|
<h3>basics</h3>
|
||
|
<p>when you add more sounds to each cycle, it speeds up, the time of the cycle remains constant</p>
|
||
|
<pre><code>----- is the buffer to super collider, there are 9 opened by default in tidal
|
||
|
/ --- the "command" to run
|
||
|
</code></pre>
|
||
|
<p>v v
|
||
|
d1 $ sound "bd:2 bd bd ~"
|
||
|
^ ^ ^
|
||
|
\ \ --- is a rest note
|
||
|
\ --- is the sound that is going to be played; play the 3rd (0 indexed) sound in bd
|
||
|
--- magical $ notation</p>
|
||
|
<h3>subsequences</h3>
|
||
|
<p>using [] we can create sub sequences that run "together" in the same step of each cycle
|
||
|
this can be done recursively</p>
|
||
|
<p>using this we can achieve nice compound time signatures:
|
||
|
d1 $ n "[0 2 1] [4 4 5]" # s "drum"</p>
|
||
|
<p>alternative notation:
|
||
|
d1 $ n "0 2 1 . 4 4 5" # s "drum"</p>
|
||
|
<p>= speeding, slowing, repeating =</p>
|
||
|
<ul>
|
||
|
<li>is the same as a subsequence (s "kick*2" == s "[kick kick]")
|
||
|
! is the same as repeating the sound (s "kick!2" == s "kick kick")
|
||
|
/ "divides" the step into n steps and alternates them </li>
|
||
|
</ul>
|
||
|
<p>we can combine these to shorten lengthy things:</p>
|
||
|
<p>s "[kick [lo hi]/2]*2" == s "kick lo kick hi"</p>
|
||
|
<h3>polyphony</h3>
|
||
|
<p>, allows us to have multiple "tracks" in the same pattern but they must be in a subsequence!</p>
|
||
|
<p>d1 $ s "[bd sn, lo hi lo lo]"</p>
|
||
|
<p>d1 $ s "bd ~ sn ~"
|
||
|
d2 $ s "lo hi lo lo"</p>
|
||
|
<p>are the same</p>
|
||
|
<p>{} changes tidalcycles to make the steps align instead of the cycles aligning</p>
|
||
|
<h3>effects & commands</h3>
|
||
|
<p>stut - create echos
|
||
|
example
|
||
|
d1 $ stut 4 0.5 (-0.1) $ s "bd sn"</p>
|
||
|
<h3>adding a samples directory</h3>
|
||
|
<p>File > Open Start Up File > Add line ~dirt.loadSoundFiles("path/to/directory/*");</p>
|
||
|
<h3>pipes</h3>
|
||
|
<p>|> is the same as #, it takes values from the right and structure from the left
|
||
|
| indicates which side to take structure from
|
||
|
and the arrow indicates which side to take values from
|
||
|
hence with the following combinations
|
||
|
|>
|
||
|
<|
|
||
|
|<</p>
|
||
|
<blockquote><p>|
|
||
|
we can mix and match any combinations</p>
|
||
|
</blockquote>
|
||
|
|
||
|
</article>
|
||
|
</div>
|
||
|
</main>
|
||
|
</body>
|
||
|
|
||
|
</html>
|