https://github.com/transcriptaze/snyth-js
Javascript implementation of the snyth experimental additive synthesiser.
https://github.com/transcriptaze/snyth-js
audio audio-worklet synthesizers webaudio
Last synced: 5 months ago
JSON representation
Javascript implementation of the snyth experimental additive synthesiser.
- Host: GitHub
- URL: https://github.com/transcriptaze/snyth-js
- Owner: transcriptaze
- License: gpl-3.0
- Created: 2023-05-06T07:12:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-14T03:50:10.000Z (over 2 years ago)
- Last Synced: 2024-03-15T05:55:25.082Z (over 2 years ago)
- Topics: audio, audio-worklet, synthesizers, webaudio
- Language: JavaScript
- Homepage:
- Size: 4.89 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

# snyth-js
In-browser _WebAudio_ + Javascript implementation of the _snyth_ experimental additive synthesiser that
uses Jacobi ellipses as the generator functions for audio source oscillators. For a detailed description,
the web app, user guide and examples, please see the parent repository [README](https://github.com/transcriptaze/snyth).
## Development
The CORS requirements of current browsers require that the HTML and Javascript files be served by an
HTTP server that sets the correct headers in the request response. _snyth_ includes two ways to run
a suitable HTTP server locally:
1. This repository includes a Python [script](https://github.com/transcriptaze/snyth-js/httpd.py) that
runs the built-in Python HTTP server with CORS support:
```
python3 httpd.py
```
(or)
```
python3 -m http.server 9000 --directory ./html
```
2. The [snythd](https://github.com/transcriptaze/snythd) folder in the parent repository includes an
executable HTTP server that can be run locally for development. In the _snythd_ folder, run:
```
go build -mod readonly --trimpath -o bin ./...
./bin/snythd --debug --html ../snyth-js/html
```
Or, alternatively, if you have _make_ installed, in the _snythd_ folder:
```
make debug
```
## Issues and Feature Requests
For bug reports and other issues please create an issue in [this](https://github.com/transcriptaze/snyth-js) _github_
repository. Feature requests should preferably be created as issues in the [snyth](https://github.com/transcriptaze/snyth)
parent repository.
## License
[GPL-3.0](https://github.com/transcriptaze/snyth-js/blob/master/LICENSE)