-
Notifications
You must be signed in to change notification settings - Fork 0
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
G. Tranter
committed
Feb 17, 2023
1 parent
1d31007
commit d1a51e7
Showing
6 changed files
with
5 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ This project is a standalone Web Component for generating waveforms and audio us | |
|
||
# Demo | ||
|
||
[Link to demo page](https://unpkg.com/[email protected].1/fourier-synth.html) | ||
[Link to demo page](https://unpkg.com/[email protected].2/fourier-synth.html) | ||
<br></br> | ||
|
||
# Develop | ||
|
@@ -32,12 +32,12 @@ Add a script tag to the `<head>` section of your page. Replace `https://my.domai | |
|
||
### Hosting | ||
|
||
Download one of the deploy files [[email protected].1.zip](./deploy/[email protected].1.zip) or [[email protected].1.tgz](./deploy/[email protected].1.tgz), and extract the contents. (The tgz file contains a tar file that needs to be extracted.) The extracted `fourier-synth` folder should be copied to your server including all contents. The name of the folder is not important, but it must match the `src` value of your page's script tag, and the file names must not be altered. | ||
Download one of the deploy files [[email protected].2.zip](./deploy/[email protected].2.zip) or [[email protected].2.tgz](./deploy/[email protected].2.tgz), and extract the contents. (The tgz file contains a tar file that needs to be extracted.) The extracted `fourier-synth` folder should be copied to your server including all contents. The name of the folder is not important, but it must match the `src` value of your page's script tag, and the file names must not be altered. | ||
|
||
### Serving from unpkg.com | ||
If you don't need guaranteed availability, you can use the component from unpkg.com. | ||
```html | ||
<script type="module" src="https://unpkg.com/[email protected].1/dist/fourier-synth/fourier-synth.esm.js"></script> | ||
<script type="module" src="https://unpkg.com/[email protected].2/dist/fourier-synth/fourier-synth.esm.js"></script> | ||
``` | ||
|
||
## Element tag | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" /> | ||
<title>Fourier Synthesizer Demo</title> | ||
|
||
<script type="module" src="https://unpkg.com/[email protected].1/dist/fourier-synth/fourier-synth.esm.js"></script> | ||
<script type="module" src="https://unpkg.com/[email protected].2/dist/fourier-synth/fourier-synth.esm.js"></script> | ||
</head> | ||
|
||
<body> | ||
|
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