[x3d-public] v4 audio examples ?

Andreas Plesch andreasplesch at gmail.com
Thu Jun 23 15:09:35 PDT 2022


Hi Don, Efi,

I also started a github issue in the audio-X3D4-X3DOM repo to plan
potential x3dom integration with a first list of items to tackle, some
easy, some longer term.

Cheers, Andreas

On Thu, Jun 23, 2022 at 6:00 PM Brutzman, Donald (Don) (CIV)
<brutzman at nps.edu> wrote:
>
> Andreas, thanks for pointing out difficulties.  Efi, might you please sort
> this out?
>
> all the best, Don
> --
> Don Brutzman  Naval Postgraduate School, Code USW/Br        brutzman at nps.edu
> Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149
> X3D graphics, virtual worlds, Navy robotics https://
> faculty.nps.edu/brutzman
>
> -----Original Message-----
> From: x3d-public <x3d-public-bounces at web3d.org> On Behalf Of Andreas Plesch
> Sent: Thursday, June 23, 2022 2:54 PM
> To: X3D Graphics public mailing list <x3d-public at web3d.org>
> Subject: [x3d-public] v4 audio examples ?
>
> https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/component
> s/sound.html
>
> has the new v4 sound nodes which are based on w3c webaudio standards.
>
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedialab.h
> mu.gr%2Fminipages%2Fx3domAudio%2Findex.html&data=05%7C01%7Cbrutzman%40np
> s.edu%7C93bc49f0c6084fb4438e08da5563244a%7C6d936231a51740ea9199f7578963378e%
> 7C0%7C0%7C637916181545196897%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJ
> QIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=iZneei
> tbdo5DKwusVWGlECqovSvWBYfgmcYPJ5v%2FSK4%3D&reserved=0
>
> has three examples with somewhat demo specific implementations of used nodes
> for x3dom v1.6.
>
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fx3dgraphic
> s.com%2Fexamples%2FX3dForAdvancedModeling%2FAudioSpatialSound%2Findex.html&a
> mp;data=05%7C01%7Cbrutzman%40nps.edu%7C93bc49f0c6084fb4438e08da5563244a%7C6d
> 936231a51740ea9199f7578963378e%7C0%7C0%7C637916181545196897%7CUnknown%7CTWFp
> bGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7
> C3000%7C%7C%7C&sdata=Wz5a0VpasdxOKNCJzQJaAfd691hpG3G77boypSTJGfA%3D&
> reserved=0
>
> has the same examples plus the single-audio and Inline examples. (The link
> to the Web3d tutorial does not work any more).
>
> Are there any other very simple examples, ideally one for each new node ?
>
> For webaudio, Mozilla has basic examples, such as:
>
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.
> mozilla.org%2Fen-US%2Fdocs%2FWeb%2FAPI%2FAnalyserNode&data=05%7C01%7Cbru
> tzman%40nps.edu%7C93bc49f0c6084fb4438e08da5563244a%7C6d936231a51740ea9199f75
> 78963378e%7C0%7C0%7C637916181545196897%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL
> jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sd
> ata=bfxFSYxzpDhADA7%2F6Epo3evSkTp5JexcncG9XAMoS74%3D&reserved=0
>
> While implementing it may make sense to replicate those for x3d.
>
> Thanks, Andreas
>
> PS: I noticed that BufferAudioSource allows for both, input from a buffer
> field with MFFloat data as raw PCM, and input from a url field with an
> encoded audio file. Do we need to define a preference if both are defined,
> non-empty arrays ? webaudio only allows for buffer data (as binary floats).
>
> --
> Andreas Plesch
> Waltham, MA 02453
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org



-- 
Andreas Plesch
Waltham, MA 02453



More information about the x3d-public mailing list