Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Add AudioSimple asset #360

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions 2.0/AudioSimple/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Audio Simple

Simple asset to test the KHR_audio extension. This model contains one global audio emitter and one positional audio emitter. The positional audio emitter is attached to the node with the blue sphere mesh. This sphere is animated around the origin of the scene.

In a correct implementation of KHR_audio, you should hear the talking audio coming from the blue sphere circling around the origin. You should also hear some ambient audio including tropical birds chirping at a constant 50% gain no matter where your audio listener is in the scene.

## Screenshot

![screenshot](screenshot/screenshot.jpg)
Copy link
Contributor

@cx20 cx20 Oct 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the file extensions do not match, you probably need to change the extension of the referenced file to .png.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I think the size of screenshot.png is bigger than the others. can you change 1200x1200 to about 400x400?
This is because screenshot.png is also used for list display.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cx20 On the one hand, I agree. On the other hand, it's a bit subtle:

  • One possible reason to use smaller screenshots is to not bloat the size of the repository. This particularly refers to samples where the visual presentation is not important (like this one): There is no visual detail that is relevant in the screenshot. One could argue about that for other models, where the screenshot shows "a nice rendering result"
  • The size of the screenshot affects the column in the table in a non-obvious way. Markdown does not explicitly allow setting the column width for a table. And the GitHub markdown preview apparently does some sort of "weighting": The screenshot here is 1200 pixels wide, but the table column is not - it is only "relatively wide" compared to the other columns...

Subjectively, I like such screenshots and their width to be a bit more "regular" and "predictable". For example:

The latter can (unfortunately) only be achieved with some (non-markdown) <img...> tags. But I think that it looks nicer this way...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(It's a detail, but I just brought this up in https://github.com/KhronosGroup/glTF-Sample-Models/issues/362 nevertheless...)

Copy link
Author

@robertlong robertlong Nov 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the final decision on this? I fixed the file extension, should I still resize the thumbnail?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robertlong Thank you for correcting the file extension.
I think it would be nice to have a small image for the thumbnail, but I'm not too particular about it.

BTW, Regarding the screenshot, how about making it a forest rather than the sea?
The reason I think so is because the environmental sounds are the chirping of birds.


## License Information

The model was created by Robert Long (Matrix.org Foundation)

All audio comes from freesound.org
- https://freesound.org/people/ZyryTSounds/sounds/222993/
- https://freesound.org/people/yottasounds/sounds/232134/

All assets are licensed CC0

[![CC0](http://i.creativecommons.org/p/zero/1.0/88x31.png)](http://creativecommons.org/publicdomain/zero/1.0/)
Binary file added 2.0/AudioSimple/glTF-Binary/AudioSimple.glb
Binary file not shown.
Binary file added 2.0/AudioSimple/glTF/AudioSimple.bin
Binary file not shown.
Loading