[x3d-public] View3dscene Sound and exit Error

Michalis Kamburelis michalis.kambi at gmail.com
Wed Aug 30 09:38:52 PDT 2023


1. Thanks, it seems indeed we missed some X3D 4.0 fields from sound nodes.

    I'll add them, these fields look easy and we should actually
support them (not only parse them, but actually "understand and act on
them").

    We didn't add various WebAudio-specific fields to CGE/view3dscene
yet. But the ones mentioned above (enabled, gain) seem trivial without
WebAudio.

2. As for new error: That's a really downscaled screenshot :) I cannot
decipher the text there, I'm afraid. I know the x3d-public mailing
list has a rather ancient limits on attachment size :) -- if that's
why you scaled it so much.

    Please submit a bugreport rather using
https://github.com/castle-engine/view3dscene/issues . You can attach
there a screenshot of reasonable size, so I'll be able to read it. If
you can, please attach also a minimal VRML / X3D testcase to reproduce
the problem.

    This is our recommended way to send bugreports.

Regards,
Michalis


śr., 30 sie 2023 o 18:17 Joe D Williams <joedwil at earthlink.net> napisał(a):
>
> Hi, Trying an audio as follows:
>
> <Sound DEF='SceneMusic'
> description='Show Music'
> enabled='true'
> intensity='1'
> location='9 4 7'
> direction='0 0 -1'
> maxBack='50'
> maxFront='50'
> minBack='20'
> minFront='20'
> priority='0'
> spatialize='true'>
> description="John Wichita"
> loop='true'
> startTime='0'
> stopTime='0'
> pitch='1.0'
> enabled='true'
> pauseTime='0'
> resumeTime='0'
> gain='1'
> url='"theWave.wav"'/>
>
> Got these messages
>
> X3D: Unknown X3D field name (unhandled X3D XML attribute) "enabled" in node "Sound"
> X3D: Unknown X3D field name (unhandled X3D XML attribute) "description" in node "Sound"
> X3D: Unknown X3D field name (unhandled X3D XML attribute) "gain" in node "AudioClip"
> X3D: Unknown X3D field name (unhandled X3D XML attribute) "enabled" in node "AudioClip"
> Stereo sound files are *never* played as spatial by OpenAL. Convert sound file "file:///E:....wav" to mono (e.g. by Audacity or SOX).
>
> I think those fields should be ok in 4.
>
> The image shows a new error.
> I am running the latest 4.3.0 this morning, which is different that the 4.3.0 I have been using for some time.
> Thanks,
> Joe
>
>
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org



More information about the x3d-public mailing list