-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
5,776 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
### Auto-generated HTML & Javascript for Cmajor Patch "SubtractOne" | ||
|
||
This folder contains some self-contained HTML/Javascript files that play and show a Cmajor | ||
patch using WebAssembly and WebAudio. | ||
|
||
For `index.html` to display correctly, this folder needs to be served as HTTP, so if you're | ||
running it locally, you'll need to start a webserver that serves this folder, and then | ||
point your browser at whatever URL your webserver provides. For example, you could run | ||
`python3 -m http.server` in this folder, and then browse to the address it chooses. | ||
|
||
The files have all been generated using the Cmajor command-line tool: | ||
``` | ||
cmaj generate --target=webaudio --output=<location of this folder> <path to the .cmajorpatch file to convert> | ||
``` | ||
|
||
- `index.html` is a minimal page that creates the javascript object that implements the patch, | ||
connects it to the default audio and MIDI devices, and displays its view. | ||
- `cmaj_SubtractOne.js` - this is the Javascript wrapper class for the patch, encapsulating its | ||
DSP as webassembly, and providing an API that is used to both render the audio and | ||
control its properties. | ||
- `cmaj_api` - this folder contains javascript helper modules and resources. | ||
|
||
To learn more about Cmajor, visit [cmajor.dev](cmajor.dev) |
Oops, something went wrong.