From 3e99f345efcc3e599fc1c15c05655d50dc163b39 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sun, 5 Feb 2023 16:40:29 +0100 Subject: [PATCH] better headings --- website/src/pages/learn/samples.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: