Skip to content

Audio input doesn't work in server mode #252

@illus0r

Description

@illus0r

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions