Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avil13/guitar2audio
https://github.com/avil13/guitar2audio
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/avil13/guitar2audio
- Owner: avil13
- Created: 2017-08-05T16:14:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T23:55:49.000Z (almost 2 years ago)
- Last Synced: 2024-04-26T05:43:01.471Z (7 months ago)
- Language: TypeScript
- Size: 325 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Guitar2audio
Guitar2audio - js library for working with web audio
Простой способ создать комбарь для электрогитары из своего компа.
```
npm install
```
or
```
yarn
```Now now you have npm commands:
- `npm start` - Run web server with console dashbord
- `npm run dev` - Run web server
- `npm run build` - Run build project***
Example:
```
new Guitar2audio().run()
.then(combic => {
// Let's Rock!!!combic.gain = 0.5; // Set Gain
combic.delay = 1; // Set Delay 1 second
combic.falnger = 1000; // Set Falnger 1000 Hz
combic.distortion = 300; // Set Distortion ~300
})
.catch(err => {
alert(err);
});```
[Latest build](dist/guitar2audio.js)
***
- https://developer.mozilla.org/ru/docs/Web/API/AudioContext/decodeAudioData
- https://developer.mozilla.org/ru/docs/Web/API/AudioContext## Packages used
* [Webpack](https://github.com/webpack/webpack)
* [Webpack-dev-server](https://github.com/webpack/webpack-dev-server)
* [Webpack Dashboard](https://github.com/FormidableLabs/webpack-dashboard)
* [Webpack Babel Loader](https://github.com/babel/babel-loader)
* [Style-loader](https://github.com/webpack-contrib/style-loader)
* [CSS-loader](https://github.com/webpack-contrib/css-loader)
* [Sass-loader](https://github.com/webpack-contrib/sass-loader)
* [ExtractTextPlugin](https://github.com/webpack-contrib/extract-text-webpack-plugin)
* [HtmlWebpackPlugin](https://github.com/jantimon/html-webpack-plugin)***
# TODO
```
// reverb pedal // TODO:!!!!!
// const convolverNode = audioContext.createConvolver();
// fetch('audios/hall-reverb.ogg', {
// method: 'get',
// cache: 'force-cache'
// })
// .then(response => { response.arrayBuffer(); })
// .then( (buffer: ArrayBuffer|any) => {
// audioContext.decodeAudioData(buffer, (decodedData: AudioBuffer) => {
// convolverNode.buffer = decodedData;
// });
// });// analyzer - для отображения того что происходит
// biquadFilter - для настроек колонок
// chanelSplitter
// cahelManager
// panel
// dynamicsCompressors
```