chaosprint/glicol

Trying to use glicol offline

Closed this issue · 3 comments

Hello,

I have all the files of the cdn repository mirrored on my hard disk.

I manage to open the index.html with the minimal example, but when I try the hello world code o1: sin 440, and press the run button, I don't get any sound.

Any advice on what's not working?

I would like to use glicol on my browser offline.

Thank you very much for your attention.

Regards

to use the js folder offline you need to have pnpm installed.

  • cd js
  • pnpm i
  • pnpm dev --open

however, this will also require the usage of cdn.

to get rid of that completely, you need to comment out this line:

window.version = "v0.13.5"

I also recommend glicol-cli for offline usage

I see. Thanks a lot. I have installed rust on Windows 7 following the steps on the link, but I am not sure If Cargo is already installed, or what what are the steps to install Cargo.

On the link It says:

"On Windows, download and run rustup-init.exe. It will start the installation in a console and present the above message on success.

After this, you can use the rustup command to also install beta or nightly channels for Rust and Cargo."

I have run cargo on the command line, and It gives me an error. It tells me to run "rustup default stable". When I run It, the link to download It fails.

I see. Thanks a lot. I have installed rust on Windows 7 following the steps on the link, but I am not sure If Cargo is already installed, or what what are the steps to install Cargo.

On the link It says:

"On Windows, download and run rustup-init.exe. It will start the installation in a console and present the above message on success.

After this, you can use the rustup command to also install beta or nightly channels for Rust and Cargo."

I have run cargo on the command line, and It gives me an error. It tells me to run "rustup default stable". When I run It, the link to download It fails.

not sure how to solve it. Windows 7 may be challenging for development as far as I know.

maybe you can ask here https://users.rust-lang.org/

https://chat.openai.com/
or
https://www.perplexity.ai/

may also be helpful