A collection of Web Components for creating audio control interfaces. Based on the webaudio-controls project but reimplemented in TypeScript with modern web standards.
webaudio-knob
: Rotary control for parameterswebaudio-slider
: Linear slider controlwebaudio-switch
: Toggle or momentary switchwebaudio-param
: Parameter display
npm install @banira/component-webaudio
<script type="module">
import { WebAudioKnob, WebAudioSlider, WebAudioSwitch, WebAudioParam }
from '@banira/component-webaudio';
</script>
<webaudio-knob value="50" min="0" max="100"></webaudio-knob>
<webaudio-slider value="50" min="0" max="100"></webaudio-slider>
<webaudio-switch value="0"></webaudio-switch>
<webaudio-param value="50"></webaudio-param>
# Install dependencies
npm install
# Build the package
npm run build
# Run tests
npm test
MIT