Skip to content

Commit

Permalink
feat: add to synthlet
Browse files Browse the repository at this point in the history
  • Loading branch information
danigb committed Jul 4, 2024
1 parent 0c5217e commit e595ee6
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 6 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Synthlet
# synthlet

## 0.1.0

Initial implementation of:

- ADSR
- White Noise
- State Variable Filter
- Wavetable Oscillator
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Daniel Gómez
Copyright (c) 2023-2024 Daniel Gómez Blasco (danigb)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ npm i @synthlet/adsr

## Documentation

- [ADSR](/packages/adsr/README.md)
- [Noise](/packages/noise/README.md)
- [WavetableOscillator](/packages/wavetable-oscilllator/README.md)
- [ADSR](/packages/adsr)
- [Noise](/packages/noise)
- [StateVariableFilter](/packages/state-variable-filter)
- [WavetableOscillator](/packages/wavetable-oscilllator)
23 changes: 23 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/state-variable-filter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# @synthlet/state-variable-filter

## 0.1.0

- Initial implementation
2 changes: 1 addition & 1 deletion packages/state-variable-filter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@synthlet/state-variable-filter",
"version": "0.0.0",
"version": "0.1.0",
"description": "State Variable Filter module for synthlet",
"keywords": [
"modular",
Expand Down
4 changes: 4 additions & 0 deletions packages/synthlet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@

## 0.1.0

Initial implementation of:

- ADSR
- White Noise
- State Variable Filter
- Wavetable Oscillator
1 change: 1 addition & 0 deletions packages/synthlet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"dependencies": {
"@synthlet/adsr": "^0.1.0",
"@synthlet/noise": "^0.1.0",
"@synthlet/state-variable-filter": "^0.1.0",
"@synthlet/wavetable-oscillator": "^0.1.0"
},
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/synthlet/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import { registerAdsrWorkletOnce } from "@synthlet/adsr";
import { registerNoiseWorkletOnce } from "@synthlet/noise";
import { registerStateVariableFilterWorkletOnce } from "@synthlet/state-variable-filter/src";
import { registerWavetableOscillatorWorkletOnce } from "@synthlet/wavetable-oscillator";

export { createAdsr, createVca, registerAdsrWorkletOnce } from "@synthlet/adsr";
export { createWhiteNoise, registerNoiseWorkletOnce } from "@synthlet/noise";
export {
createStateVariableFilter,
registerStateVariableFilterWorkletOnce,
} from "@synthlet/state-variable-filter";
export {
createWavetableOscillatorNode,
registerWavetableOscillatorWorkletOnce,
Expand All @@ -13,6 +18,7 @@ export function registerSynthletOnce(context: AudioContext) {
return Promise.all([
registerAdsrWorkletOnce(context),
registerNoiseWorkletOnce(context),
registerStateVariableFilterWorkletOnce(context),
registerWavetableOscillatorWorkletOnce(context),
]);
}

0 comments on commit e595ee6

Please sign in to comment.