1 package swingjs.api.js;
3 public interface HTML5AudioContext {
5 // https://developer.mozilla.org/en-US/docs/Web/API/AudioContext
6 // https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Using_Web_Audio_API
10 float[] createBuffer(int nChannels, int frameCount, int sampleRate);
12 void createBufferSource();
14 void createMediaElementSource();
16 void createMediaStreamSource();
18 void createMediaStreamDestination();
20 void createScriptProcessor();
22 //void createStereoPanner();
24 void createAnalyser();
26 void createBiquadFilter();
28 void createChannelMerger();
30 void createChannelSplitter();
32 void createConvolver();
36 void createDynamicsCompressor();
40 void createIIRFilter();
42 void createOscillator();
46 void createPeriodicWave();
48 void createWaveShaper();
50 void createAudioWorker();
52 void decodeAudioData();