write more tidal comparison

This commit is contained in:
Felix Roos 2023-01-06 21:56:17 +01:00
parent 8781fa2e33
commit dbb84ef129
2 changed files with 53 additions and 12 deletions

View File

@ -1,9 +1,9 @@
h1::before, .prose h1::before,
h2::before, .prose h2::before,
h3::before, .prose h3::before,
h4::before, .prose h4::before,
h5::before, .prose h5::before,
h6::before { .prose h6::before {
display: block; display: block;
content: ' '; content: ' ';
margin-top: -70px; margin-top: -70px;
@ -13,12 +13,12 @@ h6::before {
position: relative; position: relative;
} }
h1:hover .icon-link, .prose h1:hover .icon-link,
h2:hover .icon-link, .prose h2:hover .icon-link,
h3:hover .icon-link, .prose h3:hover .icon-link,
h4:hover .icon-link, .prose h4:hover .icon-link,
h5:hover .icon-link, .prose h5:hover .icon-link,
h6:hover .icon-link, .prose h6:hover .icon-link,
.icon.icon-link:hover { .icon.icon-link:hover {
visibility: visible; visibility: visible;
} }

View File

@ -103,3 +103,44 @@ it aims to provide a standalone live coding environment that runs entirely in th
Many of SuperDirt's effects have been reimplemented in Strudel, using the Web Audio API. Many of SuperDirt's effects have been reimplemented in Strudel, using the Web Audio API.
You can find a [list of available effects here](./learn/effects). You can find a [list of available effects here](./learn/effects).
### Sampler
Strudel's sampler supports [a subset](http://127.0.0.1:3000/learn/samples) of Superdirt's sampler.
Also, samples are always loaded from a URL rather than from the disk, although [that might be possible in the future](https://github.com/tidalcycles/strudel/issues/118).
## Evaluation
The Strudel REPL does not support [block based evaluation](https://github.com/tidalcycles/strudel/issues/34) yet.
You can use the following "workaround" to create multiple patterns that can be turned on and off:
```txt
let a = note("c a f e")
let b = s("bd sd")
stack(
a,
// b
)
```
Alternatively, you could write everything as one `stack` and use `.hush()` to silence a pattern:
```txt
stack(
note("c a f e"),
s("bd sd").hush()
)
```
Note that strudel will always use the last statement in your code as the pattern for querying
## Tempo
Strudels tempo is 1 cycle per second, while tidal defaults to `0.5625`.
You can get the same tempo as tidal with:
```txt
note("c a f e").fast(.5625);
```