gogins / cloud-5

Complete browser-based computer music studio for algorithmic composition and live coding
Other
9 stars 1 forks source link

Updates broke cloud-5 #54

Closed gogins closed 10 months ago

gogins commented 10 months ago

Recent updates (CsoundAC? csound-wasm? Strudel?) have broken cloud-5.

I'm trying to see if one of my patches to cloud-5 is the problem:

michaelgogins@Michaels-MacBook-Pro ~/cloud-5 % code --diff strudel/packages/webaudio/webaudio.mjs ../cloud-5.save/strudel/packages/webaudio/webaudio.mjs 
// Duplicates of declaration/initialization here:
michaelgogins@Michaels-MacBook-Pro ~/cloud-5 % code --diff strudel/packages/core/cyclist.mjs ../cloud-5.save/strudel/packages/core/cyclist.mjs 
michaelgogins@Michaels-MacBook-Pro ~/cloud-5 % code --diff strudel/packages/core/pianoroll.mjs ../cloud-5.save/strudel/packages/core/pianoroll.mjs 
michaelgogins@Michaels-MacBook-Pro ~/cloud-5 % code --diff strudel/packages/core/pattern.mjs ../cloud-5.save/strudel/packages/core/pattern.mjs
michaelgogins@Michaels-MacBook-Pro ~/cloud-5 % code --diff strudel/website/astro.config.mjs ../cloud-5.save/strudel/website/astro.config.mjs 
michaelgogins@Michaels-MacBook-Pro ~/cloud-5 % code --diff strudel/packages/superdough/sampler.mjs ../cloud-5.save/strudel/packages/superdough/sampler.mjs 
michaelgogins@Michaels-MacBook-Pro ~/cloud-5 % code --diff strudel/packages/csound/index.mjs ../cloud-5.save/strudel/packages/csound/index.mjs 
michaelgogins@Michaels-MacBook-Pro ~/cloud-5 % code --diff cloud-5/strudel_repl.html ../cloud-5.save/cloud-5/strudel_repl.html 

I fixed the patch to cyclist.mjs, does that help?

gogins commented 10 months ago

Also, there are too many patches.

gogins commented 10 months ago

Anyway, the actual problem was that I left unfinished, incorrect code in csoundac.mjs. It's probably still incorrect, but at least the syntax is now right.