Search completed in 0.92 seconds.
9 results for "WaveTable":
AudioContext.createWaveTable() - Web APIs
WebAPIAudioContextcreateWaveTable
the audiocontext method createwavetable() is now obsolete; you should instead use the method createperiodicwave().
Advanced techniques: Creating and sequencing audio - Web APIs
WebAPIWeb Audio APIAdvanced techniques
we're going to introduce sample loading, envelopes, filters, wavetables, and frequency modulation.
...however, instead of using the standard waves that come by default, we're going to create our own using the periodicwave interface and values set in a wavetable.
...to do so, we need to pass real and imaginary values into the baseaudiocontext.createperiodicwave() method.: let wave = audioctx.createperiodicwave(wavetable.real, wavetable.imag); note: in our example the wavetable is held in a separate javascript file (wavetable.js), because there are so many values.
...And 3 more matches
Migrating from webkitAudioContext - Web APIs
WebAPIWeb Audio APIMigrating from webkitAudioContext
old code using webkitaudiocontext can be ported to standards based audiocontext like below: // old webkitaudiocontext code: var osc = context.createoscillator(); osc.type = osc.sine; // sine waveform osc.type = osc.square; // square waveform osc.type = osc.sawtooth; // sawtooth waveform osc.type = osc.triangle; // triangle waveform osc.setwavetable(table); var iscustom = (osc.type == osc.custom); // iscustom will be true // new standard audiocontext code: var osc = context.createoscillator(); osc.type = "sine"; // sine waveform osc.type = "square"; // square waveform osc.type = "sawtooth"; // sawtooth waveform osc.type = "triangle"; // triangle waveform osc.setperiodicwave(table); // note: setwavetable has been renamed to se...
... console.log(activesources()); renaming of wavetable the wavetable interface has been renamed to periodicwave.
... here is how you can port old code using wavetable to the standard audiocontext api: // old webkitaudiocontext code: var osc = context.createoscillator(); var table = context.createwavetable(realarray, imaginaryarray); osc.setwavetable(table); // new standard audiocontext code: var osc = context.createoscillator(); var table = context.createperiodicwave(realarray, imaginaryarray); osc.setperiodicwave(table); removal of some of the audioparam read-only attributes the following read-only attributes have been removed from audioparam: name, units, minvalue, and maxvalue.
AudioWorkletGlobalScope - Web APIs
WebAPIAudioWorkletGlobalScope
// which the outputs are already filled with process (inputs, outputs, parameters) { return true } } // the sample rate is not going to change ever, // because it's a read-only property of a baseaudiocontext // and is set only during its instantiation console.log(samplerate) // you can declare any variables and use them in your processors // for example it may be an arraybuffer with a wavetable const usefulvariable = 42 console.log(usefulvariable) registerprocessor('test-processor', testprocessor) next, in our main scripts file we'll load the processor, create an instance of audioworkletnode — passing the name of the processor to it — and connect the node to an audio graph.
Index - Web APIs
WebAPIIndex
131 audiocontext.createwavetable() api, audiocontext, method, obsolete, reference, web audio api, createwavetable the audiocontext method createwavetable() is now obsolete; you should instead use the method createperiodicwave().
OscillatorNode.setPeriodicWave() - Web APIs
WebAPIOscillatorNodesetPeriodicWave
this replaces the now-obsolete oscillatornode.setwavetable().
OscillatorNode - Web APIs
WebAPIOscillatorNode
this replaces the now-obsolete oscillatornode.setwavetable() method.
Web Audio API - Web APIs
WebAPIWeb Audio API
wavetablenode used to define a periodic waveform.
The "codecs" parameter in common media types - Web media technologies
WebMediaFormatscodecs parameter
or ultra-low bit rates) main, scalable 8 celp (code-excited linear prediction) main, scalable, speech, hq, ld 9 hvxc (harmonic vector excitation coding) main, scalable, speech, ld 10 – 11 reserved 12 ttsi (text to speech interface) main, scalable, speech, synthetic, ld 13 main synthetic main, synthetic 14 wavetable synthesis 15 general midi 16 algorithmic synthesis and audio effects 17 er aac lc (error resilient aac low-complexity) hq, mobile internetworking 18 reserved 19 er aac ltp (error resilient aac long term prediction) hq 20 er aac scalable (error resilient aac scalable) mobile internetworking 21...