Skip to content

Fix the audio-visualizer-demo#288

Open
powerdev-a wants to merge 11 commits into
google:mainfrom
powerdev-a:feature/audio-visualizer-demo
Open

Fix the audio-visualizer-demo#288
powerdev-a wants to merge 11 commits into
google:mainfrom
powerdev-a:feature/audio-visualizer-demo

Conversation

@powerdev-a
Copy link
Copy Markdown

No description provided.

@ruofeidu
Copy link
Copy Markdown
Collaborator

Hi the owner behind Power Dev,

Not to stop you from contributing!

For all new demos, I would like it to demonstrate new interactive perception or XR-specific features. For audio, it could be visualizing sound for accessibility using icons & Gemini ;) simple audio visualization is trivial.

Can you also attach an unlisted youtube video or a screenshot for new demos?

===

Also I would really like to collaborate with real human behind AI agents --- would you privately message me your contact information? You can find my email at the bottom of https://duruofei.com/

@ruofeidu ruofeidu self-assigned this May 14, 2026
@ruofeidu
Copy link
Copy Markdown
Collaborator

Specifically for audio visualization, it could be more creative that anchors to real-world objects, or be more aesthetics like Solines.

The current demo looks too simple like created by https://xrblocks.github.io/gem without too much deeper thought :)


this._isListening = true;
this._setStatus('● Listening');
this._micButton.setText?.('stop');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do we need the optional chaining on each of these set texts?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We haven't update the legacy UI since this year. Latest UI reference was using uikit with sample here: https://xrblocks.github.io/docs/samples/UIBlocks/

However, for most demos, UI isn't important so legacy UI provides a quick SDF solution for quick demo.

this._analyser = null;
this._isListening = false;
this._setStatus('Stopped');
this._micButton.setText?.('mic');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

again, not sure we need optional chaining here

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

you may keep it as it is :)

@ruofeidu ruofeidu added the demo New demo for XR Blocks demonstrating novel interactivity or perception features. label May 14, 2026
@ruofeidu
Copy link
Copy Markdown
Collaborator

ruofeidu commented Jun 1, 2026

Lint and Format Check is broken, please run:

npm run lint # ESLint check
npm run format # Prettier format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

demo New demo for XR Blocks demonstrating novel interactivity or perception features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants