Skip to content

Commit

Permalink
a bit more explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
vlazzarini committed Sep 28, 2024
1 parent 035d748 commit f978d15
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ imported from a CDN URL, for example
https://www.unpkg.com/@csound/[email protected]/dist/csound.js
```

The advantage of using this URL is that in this case a page using Csound does not
need to be loaded from a http server, it can just be opened from a
file.

For your own projects, you can either use this URL or else you can get Csound
using the node.js package manager `npm` by installing the
Expand All @@ -84,7 +87,11 @@ npm install @csound/browser
```

where you will find it in the `dist` directory. Alternatively, this
file is also found in a [public URL](https://www.jsdelivr.com/package/npm/@csound/browser?path=dist).
file is also found in a
[public URL](https://www.jsdelivr.com/package/npm/@csound/browser?path=dist).

If you are providing your own `csound.js`, then you will need to serve
your page through http or https.


Csound WASM API Reference
Expand Down

0 comments on commit f978d15

Please sign in to comment.