A library of React components for building Web Audio graphs.
r-audio is a library of React components designed for building Web Audio graphs. Its main objectives are to make the code more readable and representative of the graph shape, make it easier to create reusable graphs, and simplify state management with React’s one-way data bindings and single source of state. The library allows users to represent any arbitrary directed graphs in JSX and supports all non-deprecated audio nodes, including AudioWorklet.
To install r-audio, follow these steps:
npm install r-audio
or
yarn add r-audio
import { AudioGraph, OscillatorNode, GainNode } from 'r-audio';
r-audio is a React library that simplifies the process of building Web Audio graphs. With its focus on readability, reusability, and state management, r-audio allows users to create complex audio systems with ease. Its support for JSX representation, integration of HTML components, and compatibility with all non-deprecated audio nodes make it a powerful tool for audio development.