diff --git a/website/src/pages/learn/samples.mdx b/website/src/pages/learn/samples.mdx index 129f6474..5ad0c0e0 100644 --- a/website/src/pages/learn/samples.mdx +++ b/website/src/pages/learn/samples.mdx @@ -122,7 +122,7 @@ s("bassdrum snaredrum, hihat*8")`} Here we have changed the "map" to include longer sample names. -## Loading Custom Samples +## The `samples` function The `samples` function has two arguments: @@ -161,7 +161,7 @@ We can see there are some guitar samples inside the `/samples` folder, so let's s("[g0 g1 g2 g3 g4]/5")`} /> -## Loading Multiple Samples per Sound +## Multiple Samples per Sound It is also possible, to declare multiple files for one sound, using the array notation: