[x3d-public] v4 audio examples ?
Brutzman, Donald (Don) (CIV)
brutzman at nps.edu
Thu Jun 23 15:00:20 PDT 2022
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5353 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220623/c6c265ae/attachment.p7s>
More information about the x3d-public
mailing list