<div dir="auto">Setting ids in HTML is kind of weird, I would normally consider them initializable and queryable.   Normally one would change css classes.   What is the use case for setting the device id?  Changing the destination device the sound goes to?</div><div dir="auto"><br></div><div dir="auto">If the web audio api allows it, I don’t think we should impose restrictions.   If it’s a parameter then it should be settable unless it’s an output parameter.</div><div dir="auto"><br></div><div dir="auto">Thanks!</div><div dir="auto"><br></div><div dir="auto">John<br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sun, Aug 1, 2021 at 7:41 PM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-831471129816540500WordSection1">
<p class="MsoNormal">A common field signature in Sound component appears to be incorrect:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">  SFString [out] mediaDeviceID<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This field is not device output stream but rather identification, which an author may need to set or get. Thus accessType inputOutput [in out] is more appropriate.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Examples include<u></u><u></u></p>
<ul style="margin-top:0in" type="disc">
<li class="m_-831471129816540500MsoListParagraph" style="margin-left:0in">16.3.2 X3DSoundDestinationNode<u></u><u></u></li><li class="m_-831471129816540500MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/sound.html#X3DSoundDestinationNode" target="_blank">https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/sound.html#X3DSoundDestinationNode</a>
<u></u><u></u></li></ul>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We also need to ensure that the prose definition for mediaDeviceID appears in abstract types.  From 16.4.3 AudioDestination:<u></u><u></u></p>
<p class="MsoNormal">“The <i>mediaDeviceID</i> field corresponds to the ID parameter functionality defined in W3C Web Audio API
<a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/references.html#W3C-WebAudio" target="_blank">
[W3C-WebAudio]</a>”<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Once decided, this is easily fixed and then changes can be applied.  Please advise if you agree, thanks for considering the problem.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Tracking the issue as Mantis 1369,<u></u><u></u></p>
<ul style="margin-top:0in" type="disc">
<li class="m_-831471129816540500MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/member-only/mantis/view.php?id=1369" target="_blank">https://www.web3d.org/member-only/mantis/view.php?id=1369</a>
<u></u><u></u></li></ul>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">all the best, Don<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">-- <u style="font-family:"Courier New""></u>
<u style="font-family:"Courier New""></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">Don Brutzman  Naval Postgraduate School, Code USW/Br      
<a href="mailto:brutzman@nps.edu" target="_blank" style="font-family:"Courier New""><span style="font-family:"Courier New";color:rgb(5,99,193)">brutzman@nps.edu</span></a><u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149<u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">X3D graphics, virtual worlds, navy robotics
<a href="http://faculty.nps.edu/brutzman" target="_blank" style="font-family:"Courier New""><span style="font-family:"Courier New";color:rgb(5,99,193)">http://faculty.nps.edu/brutzman</span></a><u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>