Use Script Processor
Use Audio Worklet