+ {activeFooter === 'intro' && (
+
+
+ 🌀 welcome
+
+
+ You have found strudel, a new live coding platform to write dynamic
+ music pieces in the browser! It is free and open-source and made for beginners and experts alike. To get
+ started:
+
+
+ 1. hit play - 2. change something{' '}
+ - 3. hit update
+
+ If you don't like what you hear, try shuffle!
+
+
+ To learn more about what this all means, check out the{' '}
+
+ interactive tutorial
+
+ . Also feel free to join the{' '}
+
+ tidalcycles discord channel
+ {' '}
+ to ask any questions, give feedback or just say hello.
+
+
about
+
+ strudel is a JavaScript version of{' '}
+
+ tidalcycles
+
+ , which is a popular live coding language for music, written in Haskell. You can find the source code at{' '}
+
+ github
+
+ . Please consider to{' '}
+
+ support this project
+ {' '}
+ to ensure ongoing development 💖
+
+
+ )}
+ {activeFooter === 'console' && (
+
+ {log.map((l, i) => {
+ const message = linkify(l.message);
+ return (
+
+
+ {l.count ? ` (${l.count})` : ''}
+
+ );
+ })}
+
+ )}
+ {activeFooter === 'samples' && (
+
+ {loadedSamples.length} banks loaded:
+ {loadedSamples.map(([name, samples]) => (
+ {}}>
+ {' '}
+ {name}(
+ {Array.isArray(samples)
+ ? samples.length
+ : typeof samples === 'object'
+ ? Object.values(samples).length
+ : 1}
+ ){' '}
+
+ ))}
+
+ )}
+ {activeFooter === 'reference' &&
}
+
+ )}
+