I haven't worked much with C2's audio much, but I was just looking at it and it says it supports Web Audio. Now, C2 seems like it has everything WA does except any access to creating an Oscillator. I have prior experience working with WA directly with JS and normally creating an Osc is as simple as something like:
- Code: Select all
// create web audio api context
var ctx = new (window.AudioContext || window.webkitAudioContext)();
// create Oscillator node
var osc = ctx.createOscillator();
osc.type = 'square';
osc.frequency.value = 3000; // value in hertz
But I can't seem to find anything that allows me to work with generating the audio as opposed to affecting samples loaded in. Does anyone know if there's a plugin that allows me to?
Thanks in advance!