Skip to content

Commit

Permalink
hack in EZscore
Browse files Browse the repository at this point in the history
  • Loading branch information
terryzfeng committed Apr 14, 2024
1 parent d355629 commit 81c875b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,36 @@ export async function startChuck() {

// TODO: for debugging, make theChuck global
(window as any).theChuck = theChuck;

// TODO: EZScore HACKS @terryfeng @alexhan
await theChuck
.loadFile(
"https://raw.githubusercontent.com/tae1han/ChucKTonal/main/src/ezchord.ck"
)
.then(() => {
theChuck.runFile("ezchord.ck");
});
await theChuck
.loadFile(
"https://raw.githubusercontent.com/tae1han/ChucKTonal/main/src/ezscore.ck"
)
.then(() => {
theChuck.runFile("ezscore.ck");
});
await theChuck
.loadFile(
"https://raw.githubusercontent.com/tae1han/ChucKTonal/main/src/ezscale.ck"
)
.then(() => {
theChuck.runFile("ezscale.ck");
});
await theChuck
.loadFile(
"https://raw.githubusercontent.com/tae1han/ChucKTonal/main/src/scoreplayer.ck"
)
.then(() => {
theChuck.runFile("scoreplayer.ck");
});
}

/**
Expand Down

0 comments on commit 81c875b

Please sign in to comment.