Ah. The params.rs test sets up a gain node and sends it a bunch of things.
You can do something similar with the StereoPannerNode, though you don't
have to send it as many different messages. A simple SetValue message
followed by a couple linear RampToValueAtTimes would be enough.

Thanks,
-Manish Goregaokar


On Sat, Apr 27, 2019 at 12:24 PM Maria Sable <masa...@ncsu.edu> wrote:

> Hi Manish,
>
> Where is the GainNode example? I don't see it in servo/media/examples.
>
> Also, when I try to run "cargo ex panner" in servo/media, I get some errors
> that the following files were not found: libglib-2.0-0.dll,
> libgobject-2.0-0.dll, libgstreamer-1.0-0.dll, and libgstsdp-1.0-0.dll.
> However, I remember installing gstreamer as needed to build the servo/servo
> project, and the "mach.bat build --dev" command works fine for that. Do I
> need to do something different to get it work with servo/media? When I run
> "cargo build" in servo/media, it works fine.
>
> Kind regards,
> Maria
>
> On Sat, Apr 27, 2019 at 3:13 PM Manish Goregaokar <manishsm...@gmail.com>
> wrote:
>
> > `cargo ex name_of_example`
> >
> > In the case of StereoPannerNode you should probably look at the GainNode
> > code and examples instead, StereoPannerNode is a simple node with a
> single
> > parameter that runs an algorithm based on that parameter, much like
> > GainNode. PannerNode is a lot more complicated.
> >
> > Thanks,
> > -Manish Goregaokar
> >
> >
> > On Sat, Apr 27, 2019 at 12:06 PM Maria Sable <masa...@ncsu.edu> wrote:
> >
> > > Hi all,
> > >
> > > I'm working on finishing up our final project at NCSU, and I need to
> > create
> > > a runnable example for StereoPannerNode based on the example for
> > > PannerNode. However, it would be immensely helpful to know how to
> > actually
> > > run the existing PannerNode example, but I can't find any instructions
> in
> > > the readme (I'm on Windows if it matters). Thanks for your help!
> > >
> > > Kind regards,
> > > Maria
> > > _______________________________________________
> > > dev-servo mailing list
> > > dev-servo@lists.mozilla.org
> > > https://lists.mozilla.org/listinfo/dev-servo
> > >
> > _______________________________________________
> > dev-servo mailing list
> > dev-servo@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-servo
> >
> _______________________________________________
> dev-servo mailing list
> dev-servo@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-servo
>
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to