mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 20:40:21 +02:00
74aa88e082
* add web visualizer * fallback to simple model * less samples, hopefully more efficient * Use audiomotion analyzer - Note: fixed to 4.1.1 because 4.2.0 uses esm which breaks in the current workflow... * revert publish changes * r2 * don't massively change package.json * lazy
8 lines
268 B
TypeScript
8 lines
268 B
TypeScript
import { useContext } from 'react';
|
|
import { WebAudioContext } from '/@/renderer/features/player/context/webaudio-context';
|
|
|
|
export const useWebAudio = () => {
|
|
const { webAudio, setWebAudio } = useContext(WebAudioContext);
|
|
return { setWebAudio, webAudio };
|
|
};
|