Skip to content

Commit

Permalink
Merge pull request #25 from ccrma/dev
Browse files Browse the repository at this point in the history
hack in EZscore
  • Loading branch information
terryzfeng authored Apr 14, 2024
2 parents d355629 + 81c875b commit e7d4f95
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 e7d4f95

Please sign in to comment.