There was an error while loading. Please reload this page.
1 parent 2c9f9d7 commit 79f7938Copy full SHA for 79f7938
1 file changed
website/src/repl/useReplContext.jsx
@@ -59,6 +59,8 @@ async function getModule(name) {
59
return modules.find((m) => m.packageName === name);
60
}
61
62
+const initialCode = `$: s("[bd <hh oh>]*2").bank("tr909").dec(.4)`;
63
+
64
export function useReplContext() {
65
const { isSyncEnabled, audioEngineTarget } = useSettings();
66
const shouldUseWebaudio = audioEngineTarget !== audioEngineTargets.osc;
@@ -77,7 +79,7 @@ export function useReplContext() {
77
79
transpiler,
78
80
autodraw: false,
81
root: containerRef.current,
- initialCode: '// LOADING',
82
+ initialCode,
83
pattern: silence,
84
drawTime,
85
drawContext,
0 commit comments