fand / veda

⚡VJ / Live Coding on Atom⚡

Home Page:http://veda.gl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audio input doesn't work in server mode

illus0r opened this issue · comments

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

@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?