> However, for channelsum.rs and channel.rs, clone() is not allowed since
options is created with Default::default();
This is because of inference, use OscillatorOptions::default() instead,
*or* just construct it twice instead of reusing it
-Manish Goregaokar
On Sat, Nov 17, 2018 at 4:15 PM Avan
Hi,
So I tried removing Copy from the OscillatorNodeOptions type but after
removing it, the other files that create the context do not allow the
options to be used since they need a copy to create the context object.
Refer the following code:
let osc1 = context.create_node(AudioNodeInit::Oscillator
Just remove the Copy requirement on the OscillatorOptions type, it's not
necessary.
-Manish Goregaokar
On Thu, Nov 15, 2018 at 4:15 PM Avanthikaa Ravichandran
wrote:
> Thank you so much.
> We are also trying to implement the periodic wave option for the oscillator
> node. The sizes of the real
Thank you so much.
We are also trying to implement the periodic wave option for the oscillator
node. The sizes of the real and imag arrays in the PeriodicWaveOptions
structure are not fixed during compile time and need to be generated based
on the input terms.
For this, we thought of using a vector
Yes, it's f(x) = k.
Note that `k` here is an AudioParam, so it's not always a constant --
similar to how frequency in OscillatorSourceNode or gain in GainNode can
vary per frame.
-Manish Goregaokar
On Thu, Nov 15, 2018 at 2:48 PM Avanthikaa Ravichandran
wrote:
> Hi,
>
> We are working on imple
Hi,
We are working on implementing the missing WebAudio nodes in servo-media.
One of the initial steps says* ‘implement the missing ConstantSource node
type that produces a constant tone based on a stored value that can be
modified using the GainNode implementation as a model*'.
Am I right in und
6 matches
Mail list logo