hydra-synth / hydra

Livecoding networked visuals in the browser
https://hydra.ojack.xyz
GNU Affero General Public License v3.0
2.16k stars 261 forks source link

Cannot read property 'getTexture' of undefined #102

Open kisvakond-bot opened 4 years ago

kisvakond-bot commented 4 years ago

here's this really big and irritating bug which happens anytime I use the a.setSmooth command: it basically kills the sound bar in the right bottom corner like this: Képernyőfelvétel (249) after this the whole sketch is non-audio reactive, it doesnt react to any sound anymore. if I try restarting the hydra package by togglin it on and off within atom the entire program will collapse and only will output this error: Képernyőfelvétel (250) the only working way so far is shutting down atom and rebooting the whole sketch, but it is really nasty during live performance so please please fix it as soon as possible

vakond

ojack commented 4 years ago

Hi, can you create a sketch reproducing this error at https://hydra.ojack.xyz/ ? I do not have errors running the a.setSmooth(0.8) command. the getTexture() error is usually related to trying to pass an undefined variable into a function such as .modulate() or .blend() that is expecting a texture.

whereischappie commented 3 years ago

I got same error message in atom-hydra 0.2.16 while writing ".modulatePixelate(osc(1,-5),150)" sometimes it goes well, but sometimes it'll show error. However, I copy the same sketch to https://hydra.ojack.xyz , it still works. Are there any solution so far?

aevin-io commented 3 years ago

same error here

1risS commented 2 years ago

I have the same issue but the video I'm trying to process is being load. It actually reproduces it when I execute src(s0).out() but once I concatenate any other function I have the error... image