Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio input doesn't work in server mode #252

Open
illus0r opened this issue Sep 17, 2021 · 1 comment
Open

Audio input doesn't work in server mode #252

illus0r opened this issue Sep 17, 2021 · 1 comment

Comments

@illus0r
Copy link

illus0r commented Sep 17, 2021

Hey there! Great tool, I use it for live coding and love so much!

I would like to use it for collaboration with a musician from the other city, so I could live-code and the musician could open my shader from my localhost (let's say via ngrok.com) and to stream their video.

The problem is that the shader doesn't react to sound if it's on localhost, but works fine in atom.

The code:

/*
{
  audio: true,
  server: 8008,
}
*/
precision mediump float;
uniform vec2 resolution;
uniform sampler2D spectrum;
void main() {
  vec2 uv = gl_FragCoord.xy/resolution.xy;
  gl_FragColor+=texture2D(spectrum,uv)+.5;
}

Is it a known problem? How to overcome it?

If it's not possible in veda, which other app can be used for remote live-coding?

veda version: 2.14.3
atom: 1.44.0
Microphone is allowed

@ivpravdin
Copy link

@fand It does not work for me neither. I see that "The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page.", maybe it is somehow related to the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants