├── .gitignore ├── CONTRIBUTING.md ├── FEATURES.md ├── LICENSE ├── PROJECT_OVERVIEW.md ├── README.md ├── TECHNICAL_DETAILS.md ├── bun.lock ├── eslint.config.js ├── index.html ├── package.json ├── public ├── dsp.js └── dsp.wasm ├── src ├── App.css ├── App.jsx ├── assets │ ├── sawtooth.png │ ├── sine.png │ ├── square.png │ └── triangle.png ├── audio │ ├── README.md │ └── Voice.js ├── components │ ├── Adsr.jsx │ ├── Display.jsx │ ├── Equalizers.jsx │ ├── Keys.jsx │ └── README.md ├── constants │ ├── README.md │ ├── keys.js │ ├── path.js │ └── theme.js ├── hooks │ ├── README.md │ ├── useCanvasDrawing.js │ └── useCanvasInteraction.js ├── main.jsx ├── pages │ ├── README.md │ └── Sonara.jsx ├── styles │ ├── README.md │ ├── adsr.css │ ├── display.css │ ├── equalizers.css │ └── keys.css └── utils │ ├── README.md │ ├── applyEnvelope.js │ ├── applyShape.js │ └── createWaveform.js ├── vite.config.js ├── wasm.sh └── wasm ├── emcc └── bindings.cpp ├── include └── dsp.hpp └── src ├── applyEnvelope.cpp ├── applyShape.cpp ├── eq.cpp └── pcm.cpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /FEATURES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/FEATURES.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/LICENSE -------------------------------------------------------------------------------- /PROJECT_OVERVIEW.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/PROJECT_OVERVIEW.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/README.md -------------------------------------------------------------------------------- /TECHNICAL_DETAILS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/TECHNICAL_DETAILS.md -------------------------------------------------------------------------------- /bun.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/bun.lock -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/eslint.config.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/package.json -------------------------------------------------------------------------------- /public/dsp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/public/dsp.js -------------------------------------------------------------------------------- /public/dsp.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/public/dsp.wasm -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/App.css -------------------------------------------------------------------------------- /src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/App.jsx -------------------------------------------------------------------------------- /src/assets/sawtooth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/assets/sawtooth.png -------------------------------------------------------------------------------- /src/assets/sine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/assets/sine.png -------------------------------------------------------------------------------- /src/assets/square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/assets/square.png -------------------------------------------------------------------------------- /src/assets/triangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/assets/triangle.png -------------------------------------------------------------------------------- /src/audio/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/audio/README.md -------------------------------------------------------------------------------- /src/audio/Voice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/audio/Voice.js -------------------------------------------------------------------------------- /src/components/Adsr.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/components/Adsr.jsx -------------------------------------------------------------------------------- /src/components/Display.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/components/Display.jsx -------------------------------------------------------------------------------- /src/components/Equalizers.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/components/Equalizers.jsx -------------------------------------------------------------------------------- /src/components/Keys.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/components/Keys.jsx -------------------------------------------------------------------------------- /src/components/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/components/README.md -------------------------------------------------------------------------------- /src/constants/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/constants/README.md -------------------------------------------------------------------------------- /src/constants/keys.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/constants/keys.js -------------------------------------------------------------------------------- /src/constants/path.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/constants/path.js -------------------------------------------------------------------------------- /src/constants/theme.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/constants/theme.js -------------------------------------------------------------------------------- /src/hooks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/hooks/README.md -------------------------------------------------------------------------------- /src/hooks/useCanvasDrawing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/hooks/useCanvasDrawing.js -------------------------------------------------------------------------------- /src/hooks/useCanvasInteraction.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/hooks/useCanvasInteraction.js -------------------------------------------------------------------------------- /src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/main.jsx -------------------------------------------------------------------------------- /src/pages/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/pages/README.md -------------------------------------------------------------------------------- /src/pages/Sonara.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/pages/Sonara.jsx -------------------------------------------------------------------------------- /src/styles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/styles/README.md -------------------------------------------------------------------------------- /src/styles/adsr.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/styles/adsr.css -------------------------------------------------------------------------------- /src/styles/display.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/styles/display.css -------------------------------------------------------------------------------- /src/styles/equalizers.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/styles/equalizers.css -------------------------------------------------------------------------------- /src/styles/keys.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/styles/keys.css -------------------------------------------------------------------------------- /src/utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/utils/README.md -------------------------------------------------------------------------------- /src/utils/applyEnvelope.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/utils/applyEnvelope.js -------------------------------------------------------------------------------- /src/utils/applyShape.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/utils/applyShape.js -------------------------------------------------------------------------------- /src/utils/createWaveform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/src/utils/createWaveform.js -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/vite.config.js -------------------------------------------------------------------------------- /wasm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/wasm.sh -------------------------------------------------------------------------------- /wasm/emcc/bindings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/wasm/emcc/bindings.cpp -------------------------------------------------------------------------------- /wasm/include/dsp.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/wasm/include/dsp.hpp -------------------------------------------------------------------------------- /wasm/src/applyEnvelope.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/wasm/src/applyEnvelope.cpp -------------------------------------------------------------------------------- /wasm/src/applyShape.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/wasm/src/applyShape.cpp -------------------------------------------------------------------------------- /wasm/src/eq.cpp: -------------------------------------------------------------------------------- 1 | #include "dsp.hpp" -------------------------------------------------------------------------------- /wasm/src/pcm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mdgspace/sonara/HEAD/wasm/src/pcm.cpp --------------------------------------------------------------------------------